/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-bottom: 5px solid #1e40af;
}

.header-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-content p {
    font-size: 1.3em;
    opacity: 0.95;
    font-weight: 300;
}

/* Main Content */
.main-content {
    padding: 40px;
}

/* Last Updated */
.last-updated {
    background-color: #f0f4ff;
    border-left: 4px solid #2563eb;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-style: italic;
    color: #555;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
    line-height: 1.8;
}

.policy-section h2 {
    font-size: 1.6em;
    color: #1e3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.2em;
    color: #2563eb;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 15px;
    text-align: justify;
    color: #444;
}

.policy-section ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section ul li {
    margin-bottom: 12px;
    color: #555;
}

.policy-section ul li strong {
    color: #1e3a8a;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    background-color: #f0f4ff;
    border-left: 4px solid #2563eb;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.contact-info p {
    color: #333;
    line-height: 1.8;
}

/* Acknowledgement Section */
.acknowledgement {
    background-color: #eff6ff;
    border: 2px solid #2563eb;
    padding: 25px;
    border-radius: 6px;
    margin-top: 40px;
}

.acknowledgement h2 {
    color: #1e40af;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: white;
    padding: 30px 40px;
    text-align: center;
    border-top: 3px solid #2563eb;
}

.footer-content p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bfdbfe;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }

    .main-content {
        padding: 20px;
    }

    .header {
        padding: 40px 20px;
    }

    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1.1em;
    }

    .policy-section h2 {
        font-size: 1.4em;
    }

    .policy-section h3 {
        font-size: 1.1em;
    }

    .footer-links {
        gap: 15px;
    }

    .contact-info {
        padding: 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }

    .header-content h1 {
        font-size: 1.5em;
    }

    .header-content p {
        font-size: 1em;
    }

    .policy-section h2 {
        font-size: 1.2em;
    }

    .policy-section ul {
        margin-left: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }

    .container {
        max-width: 100%;
        box-shadow: none;
    }

    .header {
        page-break-after: avoid;
    }

    .policy-section {
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    .footer {
        page-break-before: avoid;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Delete Account Form Styles */
.deletion-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.option {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.option h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 1.1em;
}

.option ol {
    margin-left: 20px;
}

.option ol li {
    margin-bottom: 10px;
    color: #555;
}

.delete-account-form {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #c82333;
}

.btn-danger:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.response-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.response-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.response-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Effective Date */
.effective-date {
    background-color: #e3f2fd;
    border-left: 4px solid #2563eb;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    color: #1e3a8a;
    font-weight: 500;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}
