/* ============================================================================
   Authentication Error Overlay Styles - Compact & Horizontal
   ============================================================================ */

/* Full-screen overlay with semi-transparent black background */
.auth-error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Compact content card */
.auth-error-content {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 900px;
    /* Increased max-width for better horizontal scaling */
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* Header with icon and text side by side */
.auth-error-header {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Reduced gap */
    margin-bottom: 16px;
    /* Reduced margin */
}

/* Compact icon */
.auth-error-icon {
    width: 48px;
    /* Reduced size */
    height: 48px;
    background: #5FBF00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.auth-error-icon .material-icons {
    font-size: 28px;
    /* Reduced icon font size */
    color: #2a2e35;
}

/* Text container */
.auth-error-text {
    flex: 1;
}

/* Compact title */
.auth-error-title {
    font-size: 20px;
    /* Slightly smaller title */
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 4px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Compact message */
.auth-error-message {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.4;
    margin: 0;
}

/* Horizontal steps layout */
.auth-error-steps {
    display: flex;
    gap: 12px;
    /* Reduced gap */
    margin: 0 0 12px 0;
    /* Reduced margin */
    width: 100%;
}

.auth-step {
    flex: 1;
    display: flex;
    flex-direction: row;
    /* Horizontal layout inside step for compactness */
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    text-align: left;
    padding: 10px 16px;
    /* Adjusted padding */
    background: #f7fafc;
    border-radius: 8px;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.step-icon .material-icons {
    font-size: 24px;
    color: #5FBF00;
}

.step-text {
    color: #2d3748;
    font-size: 13px;
    line-height: 1.3;
}

.step-text a {
    /* Default blue link color */
    text-decoration: underline;
    font-weight: 600;
}

.step-text a:hover {
    text-decoration: none;
}

/* Compact footer */
.auth-error-footer {
    text-align: center;
    padding-top: 10px;
    /* Reduced padding */
    border-top: 1px solid #e2e8f0;
}

.support-text {
    font-size: 12px;
    /* Smaller footer text */
    color: #718096;
}

.support-text a {
    /* Default blue link color */
    text-decoration: underline;
    font-weight: 500;
}

.support-text a:hover {
    text-decoration: none;
}

/* Responsive - stack on mobile */
@media (max-width: 700px) {
    .auth-error-content {
        padding: 16px;
        width: 90%;
    }

    .auth-error-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .auth-error-steps {
        flex-direction: column;
        gap: 8px;
    }

    .auth-step {
        /* Keep row layout on mobile too for compactness */
        padding: 10px;
        text-align: left;
    }
}