/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #E3E6E3;
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, rgb(0, 137, 125), steelblue);
    display: flex;
    align-items: center;
    z-index: 1000;
}


.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding-left: 20px;
}

/* Title Section */
.title {
    margin-top: 50px;
    text-align: center;
    padding: 20px 0;
    background-color: #e0f2f1;
    font-size: 20px;
    font-weight: bold;
    color: #00796b;
}

/* Alert Section */
.alert-container {
    width: 80%;
    padding: 20px;
    margin:0 auto;
}

.alert {
    background-color: #FFE082; /* Updated color */
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 14px;
}


.alert a {
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
}

.container {
    width: 80%;
    display: flex; /* Use flexbox for layout */
    align-items: flex-start; /* Align containers at the top */
    justify-content: space-between;
    gap: 20px; 
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 100px;
    


    

    
}

/* Information Card */
.info-card{
    width: 100%;
    text-align: center;
}
.info-card img {
    width: 200px;
    height: auto;
    

}

.info-card h3 {
    margin-bottom: 20px;
    color: rgba(21, 101, 192);
    text-align: center;
    border-bottom:1px solid rgba(0,0,0,0.12);

}

.info-card p {
    margin: 5px 0;
    font-size: 14px;
    text-align: left;
}

/* Form Section */

.form-container {
    flex: 0 0 35%;
    max-width: 35%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form select, form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.verify-btn {
    width: 100%;
    padding: 10px;
    background-color: #ff7043;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.verify-btn:hover {
    background-color: #e64a19;
}

.data_validity_notify{
    margin-bottom: 20px;
}

/* Student Details COntainer */

.student-details-container{
    flex: 0 0 65%; /* Fixed width of 65% */
    max-width: 65%;
    margin-left: 30px;
}

.table_design{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.table_design h3{
    margin-left: 8px;
    color: rgb(21, 101, 192);
}

.student-details-container table {
    width: 100%;
    border-collapse: collapse;
}

.student-details-container th,
.student-details-container td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.student-details-container img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    margin-top: 20

}
/* Media Queries for Responsiveness */

/* For devices smaller than 768px (tablets, small screens) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;

    }

    .form-container {
        flex: 0 0 100%; /* Full width for form on small screens */
        max-width: 100%;
    }

    .student-details-container {
        flex: 0 0 100%; /* Full width for student details on small screens */
        max-width: 100%;
        margin-left: 0;
    }
    
     .student-details-container img{
         max-width: 120px;
         height: 150px;
     }

    .verify-btn {
        font-size: 14px;
    }

    .title {
        font-size: 18px;
    }
}

/* For devices smaller than 480px (mobile phones) */
@media (max-width: 480px) {
    nav {
        height: 40px; /* Adjust nav height for small screens */
    }

    .logo {
        font-size: 20px; /* Smaller logo font size */
        padding-left: 10px;
    }

    .title {
        font-size: 16px;
        padding: 15px 0;
    }

    .info-card img {
        width: 150px; /* Smaller images for mobile */
    }

    .container {
        padding: 15px;
    }

    .table_design {
        font-size: 12px;
    }

    .student-details-container table th,
    .student-details-container table td {
        font-size: 12px;
    }

    footer {
        font-size: 12px;
    }
}
