@charset "utf-8";
/* CSS Document */

@page {
  margin: 0px;
  padding: 0px;
  size: auto;
}

@media print {
  .container_marksheet_template1 {
    width: 96.5% !important;
    height: 97.5% !important;
    background: none !important;
    /* border: none !important; */
    font-size: 9pt !important;
  }

  .logo_div_img_template1 img {
    width: 100px !important;
    opacity: 0 !important;
  }

  .table1_template1 {
    max-width: 90% !important;
  }
  /* .table {
    max-width: 90% !important;
  } */

  .transparent_table {
    min-width: 90% !important;
    max-width: 90% !important;
  }

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

  .tablelayout_fixed {
    table-layout: fixed;
    width: 100%;
  }

  html,
  body {
    height: 100%;
  }

  .heading_report_template1 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 16pt !important;
    color: #4fb03e!important;
    margin-bottom: 0px !important;
    margin-top: 3px !important;
  }

  .header_template1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header_institution {
    /*text-align: left;*/
    margin-left: 20px;
    max-width: 700px;
    width: 550px;
  }

  /* .heading_template1 {
    opacity: 1 !important;
  } */

  /* .header_info_container{
		margin-top:80px;
	} */
}

* {
  margin: 0px;
  padding: 0px;
}

.container_marksheet_template1 {
  width: 97%;
  height: 94%;
  page-break-after: always;
  border-width: thick;
  border-style: double;
  /* border-color: red; */
  /* border-color: rgb(14, 143, 46); */
  border-color: #4fb03e;
  padding: 2px 0%;
  margin-left: 1%;
  margin-top: 1%;
  background: #fffee7;
  font-family: calibri;
  margin-bottom: 1%;
}


.container1, .container4, .container5 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.container2 {
  width: 60%;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom:10px;
  
}

.container3 {
  width: 20%;
  display: flex;
  justify-content: center;
  padding: 5px 0;
  align-items: center;
}

.images {
  width: 80px;
  height: 80px;
}

.table, .table1_template1 {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
}

.table th, .table td, .table1_template1 td, .table1_template1 th {
  border: 1px solid black;
  padding: 5px;
}

.table th, .table1_template1 th {
  background-color: #ffb74d;
  font-size: 1rem;
}

.student_info_template1 {
  width: 40%;
  display: inline-block;
}

.heading_template1 {
  font-size: 20pt;
  color: #000;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  white-space: normal;
  word-wrap: break-word;
}

.head1 {
  font-size: 11pt;
  font-weight: bold;
}

.head2 {
  font-size: 11pt;
}

.fullstretch {
  width: 100%;
}

.heading_report_template1 {
  font-family: "Montserrat", sans-serif;
  font-size: 18pt;
  font-weight: bold;
  color: #338c24;
  margin-top: 3px;
}

.margintop20, .margintop50, .margintop35, .margintop5 {
  margin-top: 20px;
}

.fontsize11 {
  font-size: 11pt;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.aligncenter {
  text-align: center;
}

.transparent_table, .evaluation_table {
  width: 90%;
  background: none;
  border: none;
}

.principal_signature_template1 {
  text-align: center;
  margin-top: 50px;
}

.signature_div {
  margin-top: 40px;
}

.logo_div_img_template1 img {
  width: 73px;
}

.flexbox-row-center-start, .flexbox-row-spacearound-start {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.congratulate_message {
  font-size: 14pt;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  margin: 10px 0;
}

.line-height1-4 {
  line-height: 1.4;
}



#submit_marksheet {
  background-color: #4caf50; /* Modern green shade */
  color: white;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Arial', sans-serif;
}

#submit_marksheet:hover {
  background-color: #45a049; /* Slightly darker green on hover */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Hover shadow effect */
}

#submit_marksheet:active {
  background-color: #388e3c; /* Darker green when clicked */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow when active */
  transform: translateY(2px); /* Slight "press" effect */
}

#submit_marksheet:focus {
  outline: none;
  box-shadow: 0px 0px 5px 2px rgba(76, 175, 80, 0.7); /* Focus ring */
} 


/* Success Message Styles */
#displayadd_homework_success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #6EE7B7 0%, #3B82F6 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 40px;
    display: none;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    font-size: 18px;
    font-weight: 400;
    max-width: 90%;
    width: 400px;
    text-align: center;
    z-index: 1000;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: hidden;
}

/* Icon Styles */
.success-icon {
    font-size: 72px;
    margin-bottom: 24px;
    display: block;
    color: #ffffff;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), pulse 2s ease-in-out infinite;
}

/* Text Styles for Messages */
#success_message {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Keyframes for animations */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Overlay for background dimming */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 999;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(8px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Close button for success message */
.success-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.success-close:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #displayadd_homework_success {
        width: 85%;
        padding: 32px;
    }
    .success-icon {
        font-size: 64px;
    }
    #success_message {
        font-size: 18px;
    }
}

/* Colorful beautification */
#displayadd_homework_success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.3) 25%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.3) 75%,
        rgba(255, 255, 255, 0.2) 100%
    );
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-30%, -30%) rotate(0deg);
    }
    100% {
        transform: translate(-30%, -30%) rotate(360deg);
    }
}

/* Pulsating effect for icon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}