/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

h2 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="file"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 0; /* Adjust padding to control button height */
    width: 100%; /* Make the button take full width */
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%; /* Make the dropdown container full width */
}

#dropdown {
    width: 100%; /* Make the input full width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    max-height: 150px;
}

.dropdown-options {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 1;
    width: 100%; /* Make the dropdown options full width */
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 10px;
    cursor: pointer;
}

.dropdown-option:hover {
    background-color: #f2f2f2;
}
select.select2 {
    width: 300px;
  }
  

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

#cart {
    margin-top: 20px;
}
.card {
    width: 98%;
    margin: 10px auto 0; /* 10px top margin, centered horizontally */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.tablec {
    max-width: 800px;
    margin: 10px auto 0; /* 10px top margin, centered horizontally */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
#add-to-cart {
    width: 100%;
    background-color: green;
    color: white;
    margin-top: 10px;
    padding: 10px; /* Add padding for better appearance */
    border: none; /* Remove default button border */
    border-radius: 5px; /* Add some rounded corners */
    cursor: pointer;
}
/* regdashboard */
header {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to the right */
}

.user-info {
    margin-right: 20px;
}

button#logout-button {
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
/* CSS to centralize the alert messageContainer */


/* Style for the alert message */
.alert {
    padding: 10px 20px;
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.alert.error {
    color: #f00;
}

.alert.success {
    color: #0a0;
}
.hinfo{
    display: flex;
    justify-content: space-between;
}
#hinfo {
    font-size: 0.9rem; /* Set the font size */
    color: #fff; /* Set the text color */
  background-color: #0a0;
    padding: 5px; /* Add some padding for spacing */
  
}
/* CSS for Acknowledgment Container */
.acknoledgement {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* CSS for Title Section */
  .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .title .logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .title h2 {
    font-size: 18px;
    margin: 0;
  }
  
  .title h3 {
    font-size: 16px;
    margin: 0;
  }
  
  /* CSS for Date and Time Section */
  .date_time {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .date_time p {
    font-size: 14px;
  }
  
  /* CSS for Bio Information Section */
  .bio {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .bio p {
    font-size: 14px;
    font-weight: bold;
  }
  
  .bio div img{
    width: 100px;
    height: 100px;
    background-color: #ccc; /* Set background color for the passport photo */
  }
  
  .bio .qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* CSS for QR Code */
  .bio .qr-code p {
    margin: 5px 0;
  }
/* Modal Styles (Add your CSS here) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

/* Center the modal */
.modal-content {
    text-align: center;
}

/* Style form elements as needed */
form {
    display: flex;
    flex-direction: column;
}

input[type="text"] {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #ccc;
}

button[type="submit"] {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

#edit {
    display: block;

    padding: 10px;
    background-color: #007BFF; /* Background color for the button */
    color: #fff; /* Text color */
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 5px; /* Optional: Rounded corners */
    text-decoration: none; /* Remove underlines */
}

/* Add hover effect if desired */
#edit:hover {
    background-color: #0056b3; /* Change the background color on hover */
}
/* Apply styling to the .print container */
.print {
    width: 98%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background-color: #fff; /* Set a white background color */
    padding: 10px; /* Add padding for spacing within the container */
 

}
.print button {
    padding: 10px 20px;
    background-color: #007bff; /* Change to your desired button background color */
    color: #fff; /* Text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
/* Add this CSS to style the admission button */
.admission-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Blue background color */
    color: #fff; /* White text color */
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style for hover effect */
.admission-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Hover effect */
.print button:hover {
    background-color: #0056b3; /* Change to a slightly different shade for hover effect */
    /* You can add more styles for the hover effect if needed */
}

@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    button#logout-button {
        background-color: #f44336;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
       
    }
    .card {
        max-width: 50%;
        margin: 10px auto 0; /* 10px top margin, centered horizontally */
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: #fff;
    }
}
