/* ===== Legal Pages CSS ===== */

/* Footer Logo Icon Styling */
.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Footer Logo Container */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Footer Styling */
.footer {
    background: #0a0a1a;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.legal-header {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1a3e 100%);
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-breadcrumb a:hover {
    color: var(--primary-color);
}

.legal-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.legal-content {
    padding: 80px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.legal-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-section ul li {
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.simple-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Responsive Design for Legal Pages */
@media (max-width: 991px) {
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-section {
        padding: 24px;
    }
    
    .legal-intro {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 100px 0 40px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-subtitle {
        font-size: 1rem;
    }
    
    .legal-content {
        padding: 60px 0;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-intro {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .legal-title {
        font-size: 1.75rem;
    }
    
    .legal-section {
        padding: 16px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-intro p {
        font-size: 1rem;
    }
    
    .footer-logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .footer-logo span {
        font-size: 1.1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Delete Account Button Section */
.delete-account-section {
    margin-top: 40px;
}

.delete-account-confirmation {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.delete-account-confirmation h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.delete-account-confirmation p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.delete-account-button {
    display: flex;
    justify-content: center;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

/* Warning Section */
.warning-section {
    border: 2px solid #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.warning-notice {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.warning-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 1.5rem;
}

.warning-content h3 {
    color: #dc3545;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.warning-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive for Delete Account Section */
@media (max-width: 768px) {
    .delete-account-confirmation {
        padding: 32px 24px;
    }
    
    .delete-account-confirmation h2 {
        font-size: 1.5rem;
    }
    
    .delete-account-confirmation p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .warning-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .warning-icon {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .delete-account-confirmation {
        padding: 24px 16px;
    }
    
    .delete-account-confirmation h2 {
        font-size: 1.3rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .warning-content h3 {
        font-size: 1.1rem;
    }
}