/* Keep the existing styles for logout-scanner.php. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url('../inc/img/bg1.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-bottom: 2px solid maroon;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.school-name {
    color: maroon;
    font-weight: 600;
    margin-left: 15px;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-content {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.scanner-container {
    margin: 0 auto;
    width: 50%;
}

.scanner-con {
    border: 5px solid white;
    border-radius: 5px;
    text-align: center;
}

/* CHANGED: keeps the mirrored preview that Instascan's "mirror: true" option gave */
#interactive video {
    transform: scaleX(-1);
}

.qr-detected-container {
    display: none;
    margin-top: 20px;
}

.footer {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #ffc107;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
