/* Full Terms Modal */
.full-terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.full-terms-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.full-terms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 2px solid #e2e8f0;
}

.full-terms-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.close-modal-btn {
    width: 36px;
    height: 36px;
    background: #f7fafc;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background: #e2e8f0;
}

.close-modal-btn svg {
    width: 20px;
    height: 20px;
    color: #4a5568;
}

.full-terms-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.terms-section {
    margin-bottom: 25px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h4 {
    font-size: 17px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.terms-section p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.terms-section ul {
    margin: 10px 0;
    padding-right: 20px;
}

.terms-section li {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 8px;
}

.terms-section.highlight {
    background: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 12px;
    padding: 20px;
}

.terms-section.highlight h4 {
    color: #c53030;
}

.terms-section.highlight p {
    color: #742a2a;
}

.full-terms-footer {
    padding: 20px 30px;
    border-top: 2px solid #e2e8f0;
}

.close-modal-btn-secondary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Additional styles for new sections */
.terms-section .note {
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.terms-section .last-updated {
    font-size: 13px;
    color: #718096;
    margin-bottom: 10px;
}

.terms-section .acceptance-note {
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
    padding: 15px;
    background: #edf2f7;
    border-radius: 8px;
    border: 2px solid #cbd5e0;
    margin-top: 10px;
}

/* Terms Footer Notice */
.terms-footer-notice {
    margin-top: 30px;
    padding: 16px 20px;
    background: transparent;
    text-align: center;
}

.terms-footer-notice p {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

.terms-footer-notice a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.terms-footer-notice a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Hidden state */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .full-terms-modal {
        padding: 0;
    }
    
    .full-terms-content {
        border-radius: 0;
        max-height: 100vh;
    }
    
    .full-terms-header,
    .full-terms-body,
    .full-terms-footer {
        padding: 20px;
    }
    
    .terms-footer-notice {
        margin-top: 20px;
        padding: 12px 16px;
        background: transparent;
    }
    
    .terms-footer-notice p {
        font-size: 12px;
    }
}
