﻿

#pageLoader {
    width: 400px;
    min-height: 100vh;
    margin: 0 auto;
    background-color: #ffffff; /* fallback color */
    background-image: url("../images/splash_landscape.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 80% auto;
}

    #pageLoader.fade-out {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

body {
    margin: 0;
    font-family: 'Segoe UI',sans-serif;
    background: #eef2f7;
}



.app-wrapper {
    width: 400px;
    min-height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    background: #f6f8fb;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-wrapper {
    max-width: 400px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f4f7fb;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.logo {
    text-align: center;
    margin: 20px 0;
}

    .logo img {
        max-width: 180px;
    }

.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fdecea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .icon-circle span {
        font-size: 30px;
        color: #d32f2f;
        font-weight: bold;
    }

h1 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1f2d3d;
}

h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1976d2;
}

p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.success-card {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.error-container {
    bottom: 50vh;
    position: absolute;
}
.welcome-container {
    bottom: 50vh;
    position: absolute;
    width:100%;
}



.welcome-card {
    background: #ffffff;
    width: 100%;
    padding: 30px 0px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

    .welcome-card h1 {
        font-size: 22px;
        margin-bottom: 10px;
        color: #1f2d3d;
        font-weight: 600;
    }

    .welcome-card h2 {
        font-size: 18px;
        color: #1976d2;
        font-weight: 500;
    }



.mobile-container {
    width: 400px;
    min-height: 100vh;
    background: #f2f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */

.logout-card {
    width: 90%;
    background: white;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Icon */

.icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e8f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
}

/* Heading */

h2 {
    margin-top: 18px;
    color: #2c3e50;
}

/* Text */

p {
    color: #6b7b8c;
    font-size: 14px;
}

/* QR container */

.qr-box {
    margin-top: 18px;
    padding: 12px;
    background: #f6f8fb;
    border-radius: 12px;
    display: inline-block;
}

    .qr-box img {
        width: 160px;
    }

/* Scan instruction */

.scan-text {
    margin-top: 10px;
    font-size: 13px;
    color: #6c7a89;
}

/* Button */

.login-btn {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #4a90e2;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

/* Footer */

.footer {
    margin-top: 15px;
    font-size: 12px;
    color: #9aa5b1;
}
