body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Raleway', Arial, sans-serif;
    background: #f6f7fb;
}

.forgot-wrapper {
    display: flex;
    min-height: 100vh;
}

.forgot-left {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.forgot-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

.forgot-logo {
    height: 44px;
}

.forgot-brand {
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: -1px;
    color: #23417a;
}

.forgot-card {
    background: #f8f9fc;
    border-radius: 18px;
    padding: 42px 38px 32px 38px;
    box-shadow: 0 2px 16px rgba(30, 47, 94, 0.08);
    width: 340px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.forgot-title {
    font-size: 1.42em;
    color: #162a4d;
    margin-bottom: 4px;
    font-weight: 800;
    letter-spacing: -1px;
}

.forgot-subtext {
    color: #626b85;
    font-size: 1em;
    margin-bottom: 24px;
}

#forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#forgot-email {
    font-size: 1em;
    padding: 13px 13px 13px 15px;
    border-radius: 8px;
    border: 1.5px solid #d4dbe9;
    background: #fff;
    color: #223460;
    margin-bottom: 4px;
}

.forgot-password-button {
    background: #2856a6;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 1.05em;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.15s;
}

.forgot-password-button:hover {
    background: #3b6dc9;
}

.forgot-help-link {
    display: block;
    text-align: left;
    color: #23417a;
    font-size: 0.98em;
    margin-top: 15px;
    text-decoration: none;
}

.forgot-back {
    margin-top: 18px;
    text-align: left;
}

.forgot-login-link {
    color: #949bb7;
    font-size: 0.96em;
    text-decoration: none;
}

.forgot-login-link:hover {
    text-decoration: none;
}

.success-message {
    color: #28794f;
    font-weight: 600;
    font-size: 1.01em;
}

.error-message {
    color: #b5474b;
    font-weight: 600;
    font-size: 1.01em;
}

.forgot-right {
    flex: 1 1 420px;
    background: #f4f6fc;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100vh;
    /* add this */
    overflow: hidden;
    /* prevent scrollbars */
}

.forgot-hero-wrapper {
    background: linear-gradient(135deg, #1e2f5e, #2856a6);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 90vh;
    /* keeps it within the viewport */
}

.forgot-hero-wrapper img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

/* ========== TOAST SYSTEM SIGMA ========== */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    max-width: 340px;
    animation: slideIn 0.3s ease forwards;
    color: #333;
    opacity: 1;
    transform: translateX(0);
    transition: none;
}

.toast i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.toast .close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

/* Toast Variants */
.toast.success {
    background-color: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
    color: #2e7d32;
}

.toast.danger {
    background-color: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
    color: #c62828;
}

.toast.info {
    background-color: rgba(33, 150, 243, 0.2);
    border-color: #2196f3;
    color: #1565c0;
}

.toast.warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    color: #b26a00;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(50px);
    }
}