/* Auth pages - White background clean design */
body {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Card styling */
.auth-card {
    margin: 0;
    background: #ffffff;
    border: 1px solid #eaeef2;
    border-radius: 18px;
    padding: 40px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
/* Brand header */
.brand-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.brand-header .signin-link {
    color: var(--text-muted);
    font-size: 15px;
}

.brand-header .signin-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.brand-header .signin-link a:hover {
    text-decoration: underline;
}

/* Social login buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: 30px;
    border: 1px solid #eaeef2;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-social:hover {
    background-color: #f8fafc;
    border-color: #d0d9e0;
}

.btn-social i {
    font-size: 20px;
    color: #5f7d95;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eaeef2;
}

.divider span {
    margin: 0 16px;
}

/* Form fields */
.form-group {
    margin-bottom: 5px;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #eaeef2;
    border-radius: 30px;
    font-size: 15px;
    transition: border-color 0.2s;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(97, 166, 187, 0.1);
}

/* Checkbox */
.form-check {
    gap: 10px;
    margin: 20px 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.form-check-label {
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Submit button */
.btn-auth {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: var(--primary-dark);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer i {
    color: #ff6b6b;
    margin-right: 4px;
}


    /* Toast Container */
    #toast-container {
        z-index: 9999;
    }

    #toast-container > div {
        border-radius: 12px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
        padding: 15px 20px !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 14px !important;
        opacity: 1 !important;
        width: 350px !important;
        max-width: 90vw !important;
        position: relative !important; /* Ensures close button positioning */
        overflow: hidden !important;
    }

    /* Gradient backgrounds */
    #toast-container > .toast-success {
        background: linear-gradient(135deg, #10b981, #059669) !important;
    }
    #toast-container > .toast-error {
        background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    }
    #toast-container > .toast-warning {
        background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    }
    #toast-container > .toast-info {
        background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    }

    /* Close button styling */
    #toast-container > div .toast-close-button {
        color: white !important;
        font-size: 20px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        opacity: 0.8 !important;
        position: absolute !important;
        top: 10px !important;
        right: 12px !important;
        text-shadow: none !important;
        z-index: 1 !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
    }

    #toast-container > div .toast-close-button:hover {
        opacity: 1 !important;
        transform: scale(1.1) !important;
    }

    /* Title and message */
    #toast-container > div .toast-title {
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        padding-right: 20px !important; /* Prevent overlap with close button */
    }
    #toast-container > div .toast-message {
        font-weight: 400 !important;
        padding-right: 20px !important;
    }

    /* Progress bar */
    #toast-container > div .toast-progress {
        background: rgba(255,255,255,0.3) !important;
        height: 4px !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 0 12px 12px !important;
    }
 
    .auth-card.sign-up-form-margin {
    position: relative;
    bottom: 82px;
}