/* CSS Document */

/* Add your extracted CSS styles here */

body {
  background-color: #cccccc;
}

.container {
  max-width: 960px;
}

/* Add more styles as needed */
 
 .mycont {
      font-family: Arial, sans-serif;
      margin: 0px 0px;
      padding: 0px 0px;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 87.5vh; /* Updated to min-height for better responsiveness */
	 overflow: hidden;
    }
form {
	
    background-color: #fff;
    padding: 20px;
	margin: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width:50vh;
	display:inline-table;
}
label {
    display: block;
    margin-bottom: 8px;
}
input {
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
button {
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
.error {
    color: red;
    margin-bottom: 10px;
}


/*form.css*/

/* CSS Document */
/* General styling for buttons */
button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

/* Button hover effect */
button:hover {
  background-color: #45a049;
}

/* Styling for forms (merged with provided styles) */


/* Styling for labels in forms */
label {
  display: inline-flex;
  margin-bottom: 8px;
}

/* Styling for input, select, and buttons in forms */
input,
select,
button, .search {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.searchbox
{
	width: 20vh;
}
/* Styling for select in forms */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Styling for file input in forms */
input[type="file"] {
  margin-top: 0px;
}

/* Adjust appearance for date input in forms */
input[type="date"] {
  padding: 7px;
}

/* Styling for submit button in forms */
input[type="submit"] {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

/* Submit button hover effect in forms */
input[type="submit"]:hover {
  background-color: #45a049;
}

/* Styling for radio buttons in forms */
.radio-container {
  display: inline-flex;
  align-items: baseline;
  margin: 0px 0px;
  padding: 0px;
}

/* Additional styling for span elements */
span {
  white-space: nowrap;
  display: inline-flex;
  width: auto;
}

/* Styling for labels in forms */
label {
  margin-right: 5px;
  font-weight: bold;
  color: #3A3A3A;
  text-transform: capitalize;
}

/* Styling for h2 in forms */
h2 {
  background: #C8E4FF;
  text-align: left;
  font-size: 15px;
  text-transform: uppercase;
  padding: 4px;
  letter-spacing: 1px;
}

/* Hidden class */
.hidden {
  display: none;
}

/* Additional styling for other-textbox class */
.other-textbox {
  display: none;
}

/* Default table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

/* Apply styles to even rows */
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Apply styles to odd rows */
tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Cell formatting */
td, th {
  padding: 12px;
  border: 1px solid #dddddd;
  text-align: left;
}

/* Header cell formatting */
th {
  background-color: #4CAF50;
  color: #555252;
}

/* Hover effect on rows */
tr:hover {
  background-color: #e0e0e0;
}

/* Responsive styling */
@media screen and (max-width: 600px) {
  /* Adjust padding for better mobile display */
  td, th {
    padding: 8px;
  }

  /* Hide the header cells on small screens and display row content as block */
  th {
    display: none;
  }

  /* Display table rows as block for better mobile display */
  tr {
    display: block;
    margin-bottom: 10px;
  }

  /* Set background color for odd and even rows on small screens */
  tr:nth-child(even), tr:nth-child(odd) {
    background-color: transparent;
  }
}

/*Table display*/

table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        th, td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
        }

        a {
            display: block;
            text-decoration: none;
            color: #333;
        }

        img {
            max-width: 20vh;
            height: auto;
        }

        @media only screen and (max-width: 600px) {
            th, td {
				font-size: 3.5vw;
				
                word-spacing:inherit;
                width: 100%;
                box-sizing: border-box;
            }

            th {
                text-align: center;
            }

            a {
                text-align: center;
            }
        }

/* panel */

ul { 
    list-style-type: none;
    padding: 0;
	margin: 10px;
    text-align: center;
}
li {
    display: inline-block;
    margin-right: 5px;
}
a.button {
    display: block;
    padding: 5px 10px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
/* Style for hover effect */
a.button:hover {
    background-color: #2980b9;
}

/* Responsive CSS */
@media screen and (max-width: 600px) {
li {
    display: block;
    margin-bottom: 10px;
}
}