﻿/* Terms Page Styles - با تم فیتواسپیرو */
.terms-page {
    padding: 60px 0;
    background: #f5f7fb;
    min-height: 100vh;
}

.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--secondary);
}

    .terms-header h1 {
        font-size: 2.5rem;
        color: var(--dark);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

        .terms-header h1 i {
            color: var(--secondary);
        }

    .terms-header .last-update {
        color: #5a6c7d;
        font-size: 1.1rem;
        background: white;
        padding: 8px 25px;
        border-radius: 25px;
        display: inline-block;
        box-shadow: var(--box-shadow);
        border: 1px solid #e0e0e0;
    }

.terms-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

    .terms-section:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .terms-section h2 {
        font-size: 1.8rem;
        color: var(--primary-dark);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        padding-right: 15px;
        border-right: 4px solid var(--secondary);
    }

        .terms-section h2 i {
            color: var(--secondary);
            width: 30px;
            text-align: center;
        }

    .terms-section p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--dark);
        margin-bottom: 20px;
        text-align: justify;
    }

    .terms-section ul {
        list-style: none;
        padding-right: 30px;
        margin-top: 15px;
    }

    .terms-section li {
        padding: 12px 0;
        font-size: 1.1rem;
        color: #34495e;
        position: relative;
        padding-right: 35px;
        border-bottom: 1px dashed #e0e0e0;
    }

        .terms-section li:last-child {
            border-bottom: none;
        }

        .terms-section li::before {
            content: "✓";
            position: absolute;
            right: 0;
            color: var(--secondary);
            font-weight: bold;
            font-size: 1.3rem;
            background: var(--light);
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

.contact-section .contact-info {
    background: var(--light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--primary);
    width: 25px;
    font-size: 1.2rem;
}

.acceptance-box {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 50px;
    border-right: 5px solid var(--secondary);
}

.form-check {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    width: 22px;
    height: 22px;
    margin-top: 5px;
    cursor: pointer;
}

.form-check-label {
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

#confirmBtn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

    #confirmBtn:not(:disabled):hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    #confirmBtn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #95a5a6;
    }

/* Responsive */
@media (max-width: 992px) {
    .terms-content {
        padding: 40px 30px;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .terms-page {
        padding: 40px 0;
    }

    .terms-content {
        padding: 30px 20px;
    }

    .terms-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .terms-section h2 {
        font-size: 1.4rem;
    }

    .terms-section p {
        font-size: 1rem;
    }

    .terms-section li {
        font-size: 1rem;
        padding-right: 30px;
    }

    .acceptance-box {
        padding: 20px;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .terms-header h1 {
        font-size: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.2rem;
        padding-right: 10px;
        gap: 10px;
    }

        .terms-section h2 i {
            width: 25px;
        }

    .terms-section ul {
        padding-right: 20px;
    }

    .form-check-label {
        font-size: 1rem;
    }

    #confirmBtn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* دکمه‌های صفحه */
.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #219653);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* بهبود رنگ‌های لینک */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--primary-dark);
    }

/* بهبود فونت‌ها */
body {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
}

/* حاشیه‌ها */
:root {
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
