 :root {
    --adi-primary: #b10827;    /* Example: Deep Corporate Blue / Anthracite */
    --adi-secondary: #E5E7EB;  /* Example: Light subtle grey for backgrounds */
    --adi-accent: #b10827;     /* Example: Brand accent (could be the same, or an orange/red if ADI uses one) */
    --adi-text-dark: #111827;
    --adi-text-muted: #4B5563;
    --adi-bg: #F3F4F6;
}

/* Premium Typography & Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background-color: var(--adi-bg); 
    color: var(--adi-text-dark); 
    margin: 0; 
    min-height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Language Dropdown (Top Right) */
.lang-dropdown { position: absolute; top: 30px; right: 40px; z-index: 100; }
.lang-dropdown-btn { 
    background: #FFFFFF; border: 1px solid var(--adi-secondary); box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
    border-radius: 50%; width: 46px; height: 46px; font-size: 24px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; 
    padding: 0; user-select: none; 
}
.lang-dropdown-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.06); transform: translateY(-1px); border-color: var(--adi-primary); }

.lang-dropdown-menu { 
    position: absolute; top: 56px; right: 0; background: #FFFFFF; border: 1px solid var(--adi-secondary); 
    border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); display: none; 
    flex-direction: column; padding: 8px; gap: 4px; animation: fadeIn 0.2s ease; 
}
.lang-dropdown-menu.show { display: flex; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.lang-dropdown-menu button { 
    background: transparent; border: none; font-size: 24px; cursor: pointer; padding: 8px; 
    border-radius: 8px; transition: background 0.2s; display: flex; align-items: center; 
    justify-content: center; width: 46px; height: 46px; 
}
.lang-dropdown-menu button:hover { background: var(--adi-bg); }

/* Corporate Error Card */
.error-card {
    background: #FFFFFF;
    border-radius: 12px; /* Sharper corners for a more structural, corporate feel */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid #FFFFFF;
    border-top: 4px solid var(--adi-primary); /* The Corporate Letterhead Accent */
    max-width: 480px;
    width: 100%;
    padding: 48px 48px;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Icon Styling */
.icon-container {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 1.5px solid var(--adi-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    color: var(--adi-primary); /* Brand colored icon */
}

/* Typography */
.error-card h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--adi-primary); /* Titles in brand color */
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.error-card p {
    font-size: 15px;
    color: var(--adi-text-muted);
    line-height: 1.6;
    margin: 0 0 36px 0;
}

/* Minimalist Exit Button */
.btn-secondary {
    width: 100%; 
    background: transparent; 
    color: var(--adi-primary); 
    border: 1.5px solid var(--adi-secondary); 
    padding: 14px; 
    border-radius: 8px; 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-secondary:active { transform: scale(0.98); }
.btn-secondary:hover { 
    border-color: var(--adi-primary); 
    background: var(--adi-bg);
}