/* terms.css - Styles specific to terms and policy pages */

/* Terms Container */
.terms-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.terms-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
    position: relative;
}

/* Terms Content */
.terms-content {
    margin-bottom: 30px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.terms-content::-webkit-scrollbar {
    width: 6px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #09c;
    border-radius: 10px;
}

.section {
    margin-bottom: 25px;
}

.section h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.section p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.section ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.section li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
}

.section a {
    color: #09c;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

/* Terms Footer */
.terms-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.terms-footer p {
    font-size: 13px;
    color: #777;
    text-align: center;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
}

.back-btn, .privacy-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f5f7f9;
    color: #09c;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover, .privacy-btn:hover {
    background-color: #09c;
    color: white;
}

.back-btn i {
    margin-right: 5px;
}

.privacy-btn i {
    margin-left: 5px;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .terms-card {
        padding: 20px;
    }
    
    .terms-content {
        max-height: 400px;
    }
    
    .section h2 {
        font-size: 16px;
    }
    
    .section p, .section li {
        font-size: 13px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-btn, .privacy-btn {
        width: 100%;
        justify-content: center;
    }
}