:root {
    --primary-color: #3f71f3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.xon {
    flex: 1 0 auto;
}

.banner {
    background: var(--primary-color);
    padding: 4rem 0;
    color: white;
}

.mail-box {
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    margin: 2rem 0;
}

.modern-search-container {
    display: flex;
    width: 100%;
    gap: 10px;
}

.modern-search-input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    outline: none;
    border-radius: 5px;
}

.modern-search-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.modern-search-button:hover {
    background: #3f71f3;
    opacity: 0.9;
}

.password-text {
    padding: 3rem 0;
}

.password-text h2 {
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.guid {
    background: var(--light-bg);
    padding: 4rem 0;
}

.nav-tabs {
    border: none;
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    padding: 2rem;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #3f71f3;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #ffbf00;
}

.footer-link {
    margin: 0 10px;
}

#ssvisible h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.alert-info {
    background-color: rgba(63, 113, 243, 0.1);
    border: 1px solid rgba(63, 113, 243, 0.2);
    color: #1a3a6e;
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.25);
    color: #f5b7b1;
}

[data-theme="dark"] .alert-success {
    background-color: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.25);
    color: #a9dfbf;
}

[data-theme="dark"] .alert-info {
    background-color: rgba(66, 132, 251, 0.12);
    border-color: rgba(66, 132, 251, 0.25);
    color: #9fc0e0;
}

[data-theme="dark"] #ssvisible h2 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modal-body {
    background-color: #0e0f19;
    color: #e1e8f0;
}

@media (max-width: 768px) {
    .banner {
        padding: 2rem 0;
    }

    .mail-box {
        flex-direction: column;
    }

    .check-btn {
        margin-top: 1rem;
        width: 100%;
    }
}
