/* ==========================================================================
   SESSION INIT ERROR
   ========================================================================== */

.saas-error-state {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
    padding: 48px 40px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.saas-error-state .error-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px auto;
}

.saas-error-state .error-title {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.saas-error-state .error-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 24px auto;
}


.saas-error-state .error-contact-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 24px auto;
    font-size: 0.95rem;
    color: #475569;
    max-width: 380px;
}

/* ==========================================================================
   SESSION INITIALIZATION LOADER
   ========================================================================== */

.saas-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
}

.saas-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(4, 74, 86, 0.1);
    border-left-color: #044a56; /* Uses your primary brand color */
    border-radius: 50%;
    animation: saas-spin 1s linear infinite;
}

@keyframes saas-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}