@charset "utf-8";
/* Reset Margins and Padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Settings */
@page {
    margin: 0;
    padding: 0;
    size: auto;
}

@media print {
    .container_marksheet_template1 {
        width: 96.5% !important;
        height: 97.5% !important;
    }

    html,
    body {
        height: 100%;
    }

    .evaluation_table {
        min-width: 80% !important;
    }

    .disclaimer {
        font-size: 9pt;
    }
}

/* Container Styles */
.container_marksheet_template1 {
    width: 97%;
    min-height: 94%;
    page-break-after: always;
    border-width: thick;
    border-style: double;
    border-color: #2c3e50;
    margin: 1% auto;
    background: #f9f9f9; /* Updated light background for better readability */
    font-family: 'Arial', sans-serif; /* Switched to more modern sans-serif */
    margin-bottom: 1%;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Slightly elevated shadow */
    border-radius: 8px; /* Added rounded corners */
}

/* Content Container */
.content_container_template1 {
    padding: 15px 5%;
}

/* Header Styles */
.header_template1 {
    font-size: 14pt; /* Slightly increased size */
    text-transform: capitalize;
    font-family: 'Georgia', serif; /* Added a serif for a formal look */
    margin-bottom: 12px;
    color: #2c3e50;
}

.heading_template1 {
    font-size: 26pt;
    text-transform: uppercase;
    font-weight: bold;
    color: #3498db; /* Lighter blue for better contrast */
}

.header_institution {
    margin-top: 15px;
}

.heading_code_info_template1,
.heading_address_template1,
.contact_template1 {
    font-size: 11pt;
    color: #2d3e4f;
}

/* Report Title and Academic Session */
.heading_report_template1 {
    font-size: 24pt;
    font-weight: bold;
    margin-top: 15px;
    font-family: 'Georgia', serif;
    color: #3498db;
}

.year_template1 {
    font-size: 13pt;
    color: #34495e;
}

/* Full Width Utility Class */
.fullstretch {
    width: 100%;
}

/* Logo Styles */
.logo_div_img_template1 {
    display: inline-block;
    vertical-align: middle;
}

.logo_div_img_template1 img {
    width: 155px; /* Slightly increased size */
    height: auto;
}

/* Header Info Container */
.header_info_container {
    display: inline-block;
    vertical-align: middle;
    margin-left: 25px; /* Added more space */
}

/* Student Information Section */
.student_info_template1,
.student_info_template2 {
    width: 40%; /* Made them wider */
    display: inline-block;
    margin-top: 15px;
    justify-content: space-between;
}

.student_info_table_template1 {
    width: 100%;
    border-collapse: collapse;
}

.student_info_table_template1 td {
    padding: 7px 12px; /* Added more padding for readability */
    font-size: 12pt;
    color: #2c3e50;
}

.student_info_table_template1 td strong {
    color: #34495e;
}

/* Evaluation Table */
.evaluation_table {
    border-collapse: collapse;
    width: 85%; /* Made table wider */
    background: #f2f4f6; /* Slightly lighter gray */
    border-radius: 6px;
}

.evaluation_table th {
    background-color: #2980b9;
    color: #ffffff;
    padding: 8px;
    text-transform: uppercase;
    font-size: 13pt; /* Increased font size */
    letter-spacing: 0.05em; /* Added letter spacing */
}

.evaluation_table td {
    border: 1px solid #bdc3c7;
    padding: 8px;
    text-align: center;
    font-size: 12pt; /* Made text larger */
    color: #2c3e50;
}

.bold_text {
    font-weight: bold;
}

/* Margins for Spacing */
.margintop20 {
    margin-top: 20px;
}

.margintop50 {
    margin-top: 50px;
}

/* Signatures Section */
.student_info_template1 table td,
.student_info_template2 table td {
    text-align: start;
    padding: 4px 0;
}

/* Date Footer */
.date_footer {
    font-size: 12pt; /* Slightly increased size */
    color: #34495e;
    margin-top: 35px;
}

/* Disclaimer */
.disclaimer {
    color: #e74c3c;
    font-size: 11pt;
    margin-top: 20px;
}





























/* Section Styling */
.section {
  background: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  border: 1px solid #e2e2e2;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
h2 {
  font-size: 36px;
  color: #4a90e2;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

h2:hover {
  color: #3071a9;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
}

/* Table Styling */
.table_container {
  width: 100%;
  margin-top: 40px;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.table th,
.table td {
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
  color: #444;
  border-bottom: 1px solid #f1f1f1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.table th {
  background-color: #4a90e2;
  color: #fff;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}

.table td {
  background-color: #f9f9f9;
}

.table td:hover {
  background-color: #f1f1f1;
  color: #3071a9;
}

.table td input {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  color: #444;
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.table td input:focus {
  border-color: #4a90e2;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

/* Label Styling */
label {
  font-size: 18px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
  display: inline-block;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

label:hover {
  color: #4a90e2;
}

/* Select Dropdown Styling */
select.form-control {
  padding: 14px 20px;
  font-size: 16px;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
  color: #444;
  transition: all 0.3s ease;
}

select.form-control:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

/* Button Styling */
button {
  background-color: #ff5722;
  color: white;
  border: none;
  padding: 16px 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  text-transform: uppercase;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: #e64a19;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Success and Error Message Styling */
#success_message,
#error_message {
  padding: 20px;
  font-size: 18px;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
  font-weight: 600;
  display: inline-block;
  width: 100%;
}

#success_message {
  background-color: #4caf50;
  color: white;
}

#error_message {
  background-color: #f44336;
  color: white;
}

/* Hide Success/Failure Message by Default */
#error_div,
#displayadd_homework_success {
  display: none;
}

/* Margin Adjustments */
form {
  margin-top: 50px;
}

form input,
form select,
form button {
  margin-bottom: 20px;
}

/* Placeholder Styling */
input::placeholder,
select::placeholder {
  color: #888;
  font-size: 14px;
}

/* Hover and Focus Animations */
@keyframes inputFocus {
  0% {
    background-color: #f4f4f4;
    box-shadow: none;
  }
  100% {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
  }
}

.table td input:focus {
  animation: inputFocus 0.3s ease forwards;
}

/* Enhancement for Small Screens */
@media (max-width: 600px) {
  .section {
    padding: 20px;
  }

  h2 {
    font-size: 28px;
  }

  label,
  select.form-control,
  button {
    font-size: 16px;
  }

  .table td input {
    font-size: 14px;
  }
}

/* Spinner/Loading Image */
.loading-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ff5722;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
