/* ===================================
   Terms of Service Page Styles
   =================================== */

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

    .terms-header h1 {
        color: #667eea;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

.effective-date {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

.terms-content {
    color: #333;
    line-height: 1.8;
}

.terms-section {
    margin-bottom: 2.5rem;
}

    .terms-section h2 {
        color: #667eea;
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #f0f0f0;
        counter-increment: section;
    }

        .terms-section h2::before {
            content: counter(section) ". ";
            color: #764ba2;
            font-weight: bold;
        }

.terms-content {
    counter-reset: section;
}

.terms-section h3 {
    color: #764ba2;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.terms-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-section ul,
.terms-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

    .terms-section li strong {
        color: #667eea;
    }

.terms-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

    .terms-section a:hover {
        color: #764ba2;
        text-decoration: underline;
    }

/* Important Notice Box */
.important-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

    .important-notice h3 {
        color: #f57c00;
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .important-notice p {
        color: #333;
        margin-bottom: 0;
    }

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

    .warning-box h3 {
        color: #856404;
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .warning-box p {
        color: #856404;
        margin-bottom: 0.5rem;
    }

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

    .info-box h3 {
        color: #667eea;
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.contact-info {
    margin-top: 1rem;
}

    .contact-info p {
        margin-bottom: 0.8rem;
        font-size: 1.1rem;
    }

    .contact-info strong {
        color: #667eea;
    }

/* Table Styles */
.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .terms-table th {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 1rem;
        text-align: left;
        font-weight: 600;
    }

    .terms-table td {
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .terms-table tr:last-child td {
        border-bottom: none;
    }

    .terms-table tr:hover {
        background: rgba(102, 126, 234, 0.05);
    }

/* Acceptance Box */
.acceptance-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(56, 142, 60, 0.1) 100%);
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

    .acceptance-box h3 {
        color: #2e7d32;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .acceptance-box p {
        color: #333;
        font-size: 1.1rem;
        margin-bottom: 0;
    }

/* Quick Links Navigation */
.quick-links {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

    .quick-links h3 {
        color: #667eea;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .quick-links ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }

    .quick-links li {
        margin: 0;
    }

    .quick-links a {
        color: #667eea;
        text-decoration: none;
        font-weight: 500;
        display: block;
        padding: 0.5rem;
        border-radius: 5px;
        transition: background 0.3s;
    }

        .quick-links a:hover {
            background: rgba(102, 126, 234, 0.1);
            text-decoration: none;
        }

/* Responsive Styles */
@media (max-width: 768px) {
    .terms-card {
        padding: 2rem 1.5rem;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
    }

    .terms-section h3 {
        font-size: 1.2rem;
    }

    .terms-section ul,
    .terms-section ol {
        margin-left: 1rem;
    }

    .quick-links ul {
        grid-template-columns: 1fr;
    }

    .terms-table {
        font-size: 0.9rem;
    }

        .terms-table th,
        .terms-table td {
            padding: 0.75rem;
        }
}

/* Print Styles */
@media print {
    .terms-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .terms-section a {
        color: #000;
        text-decoration: underline;
    }

    .quick-links {
        display: none;
    }

    .acceptance-box {
        border: 2px solid #4caf50;
        background: white;
    }
}
