/* ============================================================
   Google Translate – Toolbar ausblenden
   ============================================================ */
body {
    top: 0 !important;
}

.skiptranslate iframe {
    display: none !important;
}

body > .skiptranslate {
    display: none !important;
}

/* ============================================================
   Gemeinsame Glass-Utilities
   ============================================================ */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(35, 110, 231, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(35, 110, 231, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   Login-Seite
   ============================================================ */
.login-bg {
    min-height: 100vh;
    background: #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(35, 110, 231, 0.08) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.login-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(126, 111, 255, 0.07) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    border-radius: 50%;
    pointer-events: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(35, 110, 231, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 40px rgba(35, 110, 231, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.glass-logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #236ee7, #7e6fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(35, 110, 231, 0.3);
    margin: 0 auto 16px;
}

.glass-title {
    color: #1a1a2e;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.glass-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 32px;
}

.glass-input .mud-input-outlined-border {
    border-color: rgba(35, 110, 231, 0.2) !important;
    border-radius: 12px !important;
}

.glass-input .mud-input-root {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    color: #1a1a2e !important;
}

.glass-input label,
.glass-input .mud-input-label {
    color: #6b7280 !important;
}

.glass-input input,
.glass-input .mud-input input {
    color: #1a1a2e !important;
}

.glass-input .mud-input-adornment .mud-icon-button,
.glass-input .mud-input-adornment svg {
    color: #9ca3af !important;
}

.glass-btn {
    background: linear-gradient(135deg, #236ee7, #7e6fff) !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    height: 48px;
    box-shadow: 0 4px 15px rgba(35, 110, 231, 0.3) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.glass-btn:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(35, 110, 231, 0.45) !important;
}

.translate-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    opacity: 0.85;
}

/* ============================================================
   Dashboard-Seite
   ============================================================ */
.dashboard-bg {
    min-height: 100vh;
    background: #f4f6fb;
    padding: 32px 16px;
    position: relative;
    overflow: hidden;
}

.dashboard-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(35, 110, 231, 0.07) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    pointer-events: none;
}

.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(35, 110, 231, 0.1);
    border-radius: 20px;
    padding: 20px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(35, 110, 231, 0.08);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #236ee7, #7e6fff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(35, 110, 231, 0.3);
}

.brand-name {
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 700;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15) !important;
}

.welcome-card {
    padding: 32px;
    margin-bottom: 24px;
}

.welcome-greeting {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.welcome-name {
    color: #1a1a2e;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-sub {
    color: #6b7280;
    font-size: 0.95rem;
}

.info-card {
    padding: 24px;
    height: 100%;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.icon-blue   { background: rgba(35, 110, 231, 0.1);  color: #236ee7; }
.icon-purple { background: rgba(126, 111, 255, 0.1); color: #7e6fff; }
.icon-green  { background: rgba(22, 163, 74, 0.1);   color: #16a34a; }
.icon-orange { background: rgba(234, 88, 12, 0.1);   color: #ea580c; }

.info-card-label {
    color: #9ca3af;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.info-card-value {
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 600;
}

.info-card-value.placeholder {
    color: #d1d5db;
    font-style: italic;
    font-weight: 400;
}

.divider-glass {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 20px 0;
}

/* ============================================================
   Google Translate – globale Positionierung
   ============================================================ */
.translate-global-wrapper {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    opacity: 0.9;
}

/* Google Translate Widget sichtbar machen */
.skiptranslate {
    display: block !important;
    visibility: visible !important;
}

.goog-te-gadget {
    display: block !important;
    visibility: visible !important;
    color: #000 !important;
}

.goog-te-gadget-simple {
    display: inline-block !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

.goog-te-gadget img {
    display: inline !important;
    visibility: visible !important;
}

/* MudBlazor Reset überschreiben */
#google_translate_element * {
    display: revert !important;
    visibility: visible !important;
}

/* ============================================================
   MeineBuchungen – Zeilenfärbung
   ============================================================ */
.kurs-vergangen td {
    background: rgba(76, 175, 80, 0.12) !important;
}

.kurs-zukunft td {
    background: #236ee7 !important;
    color: white !important;
}