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

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

html, body {
    height: 100%;
    overflow: hidden;
}

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

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

.navbar-brand {
    padding: 0;
}

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

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

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

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

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

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 91.5vh;
}

.attendance-container {
    height: 90%;
    width: 90%;
    border-radius: 20px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
}

.attendance-container > div {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    padding: 30px;
}

.attendance-container > div:last-child {
    width: 64%;
    margin-left: auto;
}
.quotation{
    margin-top: 50px;
    margin-left: -45.30%;
    font-size: 20px;
    color:maroon;
}
.school-name{
    font-size: 20px;
    color:maroon;
}
ul li a {
    color: maroon;
    font-size: 23px;
    font-weight: 700;
}
ul li a:hover {
    color: goldenrod;
    font-weight: 700;
}
.puplogo img {
width: 40%;
height: 40%;
background: white;
border: 5px solid white;
border-radius: 100px;
margin-left: 7%;
}
.action-buttons {
display: flex;
gap: 20px;
}

.action-button {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
height: 180px;
border: none;
border-radius: 8px;
background-color: white;
color: maroon;
cursor: pointer;
transition: background-color 0.3s;
border: 2px solid white;
}

.action-button img {
width: 80px;
height: 90px;
margin-bottom: 5px;
}

.action-button:hover {
background-color: maroon;
color: white;
border: 2px solid white;
}
.main-content {
margin-left: 70%;
margin-top: -18%;
}
.action-container {
    margin-left: 28%;
    margin-top: -19%;
}
.instruction {
    margin-top: 12%;
    margin-left: 3%;
    width: 20%;
    height: 80%;
    color: white;
    font-size: 13px;
    border: 2px solid white;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
}

/* Mirror the camera preview to match the logout scanner. */
#interactive video {
    transform: scaleX(-1);
}

.qr-container {
    height: 100%
}
