/* ============================================================
   Saarland.cloud Welcome Page
   Identical design to Login Theme — Glassmorphism + WebGL
   ============================================================ */

/* === Font Import (from login theme) === */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Body — matches login theme === */
html, body {
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background: #0a0a0a;
    color: #FFFFFF;
}

/* === Rainbow bar === */
.rainbow-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00A651, #0066B3, #D60C8C, #F7941D, #FFF200, #FEC346);
    z-index: 9999;
}

/* === Login wrapper — full viewport centering === */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding: 24px;
}

/* === Glassmorphism card — identical to login === */
.login-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Logo + Wordmark === */
.logo {
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 12px rgba(247, 148, 29, 0.3));
}

.wordmark {
    display: block;
    margin: 0 auto 12px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 36px;
}

/* === Form === */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: all 0.25s ease;
    caret-color: #F7941D;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-group input:focus {
    border-color: #F7941D;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* === Primary button — identical to login === */
.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F7941D 0%, #E76320 100%);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(247, 148, 29, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E76320 0%, #D45518 100%);
    box-shadow: 0 6px 24px rgba(247, 148, 29, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(247, 148, 29, 0.3);
}

/* === Error message === */
.error-msg {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 8px;
    color: #F43F5E;
    font-size: 13px;
    text-align: left;
}

/* === Mobile === */
@media (max-width: 480px) {
    .login-card {
        padding: 36px 24px;
        border-radius: 16px;
    }
}
