/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    /* width: 100vw;
    height: 100vh; */
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
}

.page-container {
    padding-top: 100px; /* This pushes everything down below the fixed header */

    /* Keep your other styles */
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #E3F2FD;
    height: 50px; /* Use a fixed height for consistency */
    z-index: 1000;
    padding: 15px;
    margin-bottom: 40px;
    /* Use Flexbox to perfectly center the logo */
    display: flex;
    justify-content: center; /* Horizontally centers the logo */
    align-items: center;     /* Vertically centers the logo */
}

header img {
    /* Set the max-height to be smaller than the header's height */
    max-height: 250px; 
    /* This keeps the image from stretching out of proportion */
    width: auto;      
}


.title h1
{
    font-weight: bold;
    font-size: 28px;
}


/* Main Content */
main h1 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 30px;
}

.status-icon {
    width: 60px;
    height: 60px;
    border: 4px solid #28a745; /* Green color from image */
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #28a745;
}

/* Student Information Card */
.student-card {
    background-color: #fcfcfc;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 40px;
    margin: 0 auto;
    text-align: center;
    position: relative; /* Needed for the background logo pseudo-element */
    overflow: hidden; /* To contain the pseudo-element */
}

.info-item span {
    font-weight: 600; /* Makes the text bold (600 is a nice semi-bold) */
    color: #000000;   /* Makes the bolded text black for better contrast */
}

/* Background Watermark Logo using a Pseudo-element */
.page-container::before {
    content: "";
    background-image: url('logo.png');
    background-size: 80%; /* Makes the image take up 80% of the element's width */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    background-position: center; /* Centers the image */
  
    /* Keep these properties to position the pseudo-element itself */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scale: 1.2;
    opacity: 0.04; /* Make the logo watermark faint */
    z-index: 1;
}

.info-item {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #e9e9e9;
    position: relative; /* To appear above the watermark */
    z-index: 2; /* Ensures text is on top of the watermark */
    color: #555;
    font-size: 16px;
    font-weight: 400;
}

.info-item.student-name {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.info-item.no-border {
    border-bottom: none;
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 12px;
    color: #888;
}

footer p {
    margin: 4px 0;
}

footer .copyright {
    margin-top: 15px;
    color: #aaa;
}