@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:11pt !important;
	}
	.logo_div_img_template1 img{
		width:100px !important;
		opacity:0 !important;
	}
	.table1_template1{
		max-width:90% !important;
	}
	.transparent_table{
		min-width: 80% !important;
		max-width:80% !important;
	}
	.evaluation_table{
		min-width: 80% !important;
		max-width: 80% !important;
	}
	.tablelayout_fixed{
		table-layout: fixed;
		width:100%;
	}
	html,body{
		height:100%;
	}
	.heading_report_template1 {
		font-family: cambria !important;
		font-size:16pt !important;
		color:black !important;
	}
	.header_template1{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.header_institution{
		margin-left:20px;
		max-width:700px;
		width:550px;
	}
	.heading_template1{
		opacity: 0 !important;
	}
}
*{
	margin:0px;
	padding:0px;
	box-sizing: border-box;
}
.container_marksheet_template1{
	width: 97%;
	height: 94%;
	page-break-after: always;
	border-width: 3px;
	border-style: double;
	border-color: #B22222;
	margin-left: 1%;
	margin-top: 1%;
	background: linear-gradient(to right, #FFFCD2, #FFFAE0);
	font-family: 'Calibri', sans-serif;
	margin-bottom: 1%;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.content_container_template1{
	padding: 10px 1%;
}
.header_template1{
	font-size: 12pt;
	text-transform: capitalize;
	font-family: 'Cambria', serif;
	margin-bottom: 15px;
}
.heading_template1{
	font-size: 18pt;
	text-transform: uppercase;
	font-weight: bold;
	color: #333;
}
.fullstretch{
	width:100%;
}
.heading_report_template1{
	font-size: 26pt;
	font-weight: bold;
	margin-top: 11px;
	font-family: 'Monotype Corsiva', cursive;
	color: #B22222;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.logo_div_img_template1 img{
	width:73px;
	transition: transform 0.3s ease;
}
.logo_div_img_template1 img:hover{
	transform: scale(1.1);
}
.table1_container_template1{
	margin-top:20px;
}
.table1_template1{
	border-collapse: collapse;
	max-width: 99%;
	border: 1px solid #ddd;
}
.table1_template1 td, .table1_template1 th{
	padding:4px 5px;
	border: 1px solid #ddd;
}
.table1_template1 th{
	text-transform: capitalize;
	background-color: #f8f8f8;
	font-weight: bold;
}
.student_info_template1{
	width:40%;
	display: inline-block;
}
.student_info_table_template1 td{
	padding-right: 5px;
}
.texttransformupper{
	text-transform: uppercase;
}
.alignleft{
	text-align: left;
}
.principal_signature_template1{
	text-align:center;
	margin-top:75px;
}
.signature_div{
	margin-top:40px;
}
.margintop20{
	margin-top:20px;
}
.margintop50{
	margin-top:50px;
}
.flexbox-row-center-start{
	justify-content: center;
	display: flex;
	align-items: flex-start;
}
.flexbox-row-spacearound-start{
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
}
.congratulate_message{
	font-weight: normal;
	margin-top: 10px;
	margin-bottom:10px;
	font-size:14pt;
	font-family: 'Cambria', 'Cochin', Georgia, Times, 'Times New Roman', serif;
}
.line-height1-4{
	line-height: 1.4;
}
.margintop35{
	margin-top: 35px;
}
.transparent_table{
	border-collapse: collapse;
	max-width: 99%;
	min-width: 60%;
	background: none;
	border:none transparent;
}
.evaluation_table{
	max-width: 99%;
	min-width: 60%;
}
.fontsize11{
	font-size: 11pt;
}




/* Marksheet Edit Form Styling */
.section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#template_table_edit {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

#template_table_edit th {
    background-color: #B22222;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Cambria', serif;
    font-weight: bold;
}

#template_table_edit tr:nth-child(even) {
    background-color: #f2f2f2;
}

.subject_input_field, 
.columns_number, 
#attendance_marksheet,
#remarks_marksheet,
input[type="date"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: 'Calibri', sans-serif;
}

.subject_input_field:focus, 
.columns_number:focus, 
#attendance_marksheet:focus,
#remarks_marksheet:focus,
input[type="date"]:focus {
    outline: none;
    border-color: #B22222;
    box-shadow: 0 0 5px rgba(178,34,34,0.3);
}

.subject_row td {
    padding: 10px;
    text-align: center;
}

label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Cambria', serif;
}

input[type="submit"] {
    background-color: #B22222;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Calibri', sans-serif;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #8B0000;
}

input[type="checkbox"] {
    margin-top: 10px;
}

.columns_number {
    max-width: 100px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #template_table_edit {
        font-size: 14px;
    }
    
    .columns_number {
        max-width: 70px;
    }
}





#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);
    }
}