@CHARSET "UTF-8";

ol, ul, li { margin: 0; padding: 0; }
ul li {	list-style-type: none; }

input, select{margin: 1px;}
select{padding: 4px 4px 5px;}

.plainHead td, .squareHead td, .squareSubHead td {
	text-align: center;
	height: 25px;
	font-weight: bold;
	color: #343333;
	margin: 0;
	padding: 0 3px 0 4px;
	vertical-align: middle;
}

.plainHead {background-color: #DBE6EE;}
.plainHead td{border-top:1px solid #B0C2CC;border-right:1px solid #B0C2CC;border-bottom:1px solid #B0C2CC;padding: 4px}
.plainHead td.left {border-left:1px solid #B0C2CC;}
.plainHead td.right {border-right:1px solid #B0C2CC;}

.squareHead td{border-top:1px solid #B0C2CC;border-right:1px solid #B0C2CC;border-bottom:1px solid #B0C2CC;padding: 4px; background-color: #bfd5e7;}
.squareHead td.left {border-left:1px solid #B0C2CC;}
.squareHead td.right {border-right:1px solid #B0C2CC;}
.squareSubHead td{border-bottom:1px solid #B0C2CC;border-right:1px solid #B0C2CC;border-bottom:1px solid #B0C2CC;padding: 4px;background-color: #dae5ee;}
.squareSubHead td.left {border-left:1px solid #B0C2CC;}
.squareSubHead td.right {border-right:1px solid #B0C2CC;}

.SectionHeader {
    margin: 16px 0px 20px;
    text-align: left;
}

.SectionHeader h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
}

.SectionHeader h3 i {
    font-size: 16px;
    color: #4a8fc7;
    margin-right: 8px;
}

.actionSec {margin: 10px 0px;}

#seresult{	text-align: left;}
#seresult A{	font-size: 12px;	margin:0px;	}
#seresult P{	margin:4px 0px 4px 0px;	}
#seresult label{	color: #239123;	margin:0px;	}

/* Error and Success Messages */
.error {
	color: #da3838;
	font-weight: 500;
}

.success {
	color: green;
	font-weight: 500;
}

.alert {
	border-radius: 8px;
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	margin-top: 10px;
	font-size: 15px;
}

.alert-danger {
	background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
	border-left: 4px solid #dc3545;
}

.alert-success {
	background: linear-gradient(135deg, #f0fff4 0%, #e6f9ec 100%);
	border-left: 4px solid #28a745;
}

.alert-warning {
	background: linear-gradient(135deg, #fffaf0 0%, #fff3e0 100%);
	border-left: 4px solid #ffc107;
}

.alert-info {
	background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
	border-left: 4px solid #17a2b8;
}

.alert-icon {
	margin-right: 15px;
	padding-top: 2px;
}

.alert-danger .alert-icon i {
	color: #dc3545;
}

.alert-success .alert-icon i {
	color: #28a745;
}

.alert-warning .alert-icon i {
	color: #ffc107;
}

.alert-info .alert-icon i {
	color: #17a2b8;
}

.alert-content {
	flex: 1;
	color: #2d3748;
}

.alert-heading {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #1a202c;
}

.alert-danger .alert-heading {
	color: #c53030;
}

.alert-success .alert-heading {
	color: #22543d;
}

.alert-warning .alert-heading {
	color: #975a16;
}

.alert-info .alert-heading {
	color: #1a5490;
}

.alert .close {
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	color: #718096;
	opacity: 0.6;
	transition: opacity 0.2s ease;
	padding: 0 8px;
	margin: -4px 0 0 0;
}

.alert .close:hover {
	opacity: 1;
	color: #2d3748;
}

#left_menu_sec{padding: 0px 2px 0px 0px;}
#left_menu_sec .navbar{
	padding: 0px;
	background: linear-gradient(180deg, #5a7a9e 0%, #4a6b8a 100%) !important;
	border-radius: 0px;
	box-shadow: 0 2px 8px rgba(74, 107, 138, 0.3);
}
#left_menu_sec .navbar-toggler{
	margin: 4px;
	background-color: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
#left_menu_sec .navbar-nav{width: 100%;}
#menu {
	width: 100%;
	margin-left: 0px;
	border-top: none;
	border-radius: 0px;
	overflow: hidden;
}
#menu li {
	padding-left: 2px;
	background-color: transparent;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
#menu li:last-child {
	border-bottom: none;
}
#menu a {
	text-decoration: none;
}
#menu a:focus {	outline: none;}
.tab {
	border-left: none;
	border-right: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	padding: 12px 8px;
	background: linear-gradient(90deg, rgba(90, 122, 158, 0.4) 0%, rgba(74, 107, 138, 0.2) 100%);
	transition: all 0.3s ease;
	font-weight: 500;
	margin-left: 2px;
}

.tab:hover {
	background: linear-gradient(90deg, rgba(66, 153, 225, 0.5) 0%, rgba(49, 130, 206, 0.3) 100%);
	border-left: 3px solid #4299e1;
	padding-left: 10px;
}

.tab a {
	color: #ffffff;
	font-size: 16px;
}

.tab i {
	margin-right: 8px;
	color: #b3d4ff;
	transition: transform 0.3s ease;
}

#subui {
	background:
		linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%),
		linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
	position: relative;
	overflow: hidden;
}

#subui::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

#subui::after {
	content: '';
	position: absolute;
	top: 0;
	right: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

#subui li {
	background-color: transparent;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0;
	transition: all 0.2s ease;
	cursor: pointer;
}

#subui li:hover {
	background: linear-gradient(90deg, rgba(66, 153, 225, 0.3) 0%, transparent 100%);
	border-left: 3px solid #63b3ed;
}

#subui a {
	font-size: 15px;
	font-weight: 400;
	color: #d6e4f5;
	transition: color 0.2s ease;
	display: block;
	padding: 8px 12px 8px 12px;
}

#subui a:hover {
	color: #ffffff;
}

#subui a:before{
  font-weight: 900;
  content: "\f039";
  margin-right: 8px;
  color: #63b3ed;
  font-size: 11px;
}

#subui a.menu_active, #subui li.menu_active {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.2) 100%);
	box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.15);
}

#subui a.menu_active{
	font-weight: 600;
	color: #ffffff;
}

.search {margin: 20px 0px;}
.search th{text-align: right;}
.search td{text-align: left; padding: 2px 6px;}
.search A {	text-decoration: none;	background-color: white;}
.search a:focus {	outline: none;}

#loading_rankarea {
	width: 100px;
	height: 20px;
	background: url('../../../images/ajax-loader-small.gif') center center no-repeat;
	z-index: 5;
	margin: auto;
}

#loading_longthin {
	margin: 5px;
	width: 700px;
	height: 20px;
	background: url('../../../images/ajax-loader.gif') center center no-repeat;
	z-index: 5;
}

#loading_content {
	width: 700px;
	height: 350px;
	background: url('../../../images/ajax-loader.gif') center center no-repeat;
	z-index: 5;
	margin: auto;
}

#loading_subcontent {
	width: 732px;
	height: 350px;
	background: url('../../../images/ajax-loader.gif') center center no-repeat;
	z-index: 5;
	margin: 10px auto 0px auto;
	border: 1px solid #E5E5E5;
}

#loading_subcontmed {
	width: 732px;
	height: 100px;
	background: url('../../../images/ajax-loader.gif') center center no-repeat;
	z-index: 5;
	margin: 10px auto 0px auto;
	border: 1px solid #E5E5E5;
}

#loading_content_frame {
	width: 700px;
	height: 300px;
	background: url('../../../images/ajax-loader.gif') center center no-repeat;
	z-index: 5;
}

.pagingdiv {
	width: 320px;
	margin-top: 10px;
	margin-right: 10px;
	text-align: right;
	float: right;
}

.pagingdiv a:hover {
	background-color: white;
	color: black;
}

.green{color: #00903B;}
.red {color: #990000;}

.note{
	margin: 15px 0;
	text-align: center;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	vertical-align: middle;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	min-height: 20px;
	height: auto !important;
	padding: 12px 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	font-size: 15px;
	line-height: 1.5;
}

.note A:HOVER{
	color:#000000;
}

.notesuccess{
	text-align: left;
	color: #155724;
	font-weight: 500;
}

.noteleft{
	text-align: left;
	color: #2d3748;
	background: linear-gradient(135deg, #e8f4f8 0%, #dbeef5 100%);
	border-left: 4px solid #4299e1;
	padding: 14px 18px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(66, 153, 225, 0.15);
	font-size: 15px;
	line-height: 1.6;
}

.notefailed{
	text-align: left;
	color: #c53030;
	font-weight: 500;
}

.dirmsg {
	margin: 15px 0;
	padding: 12px 16px;
	border-radius: 6px;
	border-left: 4px solid #e2e8f0;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	font-size: 15px;
	line-height: 1.5;
}

.dirmsg .error {
	color: #c53030;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.dirmsg .error::before {
	content: "\f071";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 8px;
	font-size: 16px;
}

.dirmsg .success {
	color: #155724;
	font-weight: 600;
	display: flex;
	align-items: center;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.dirmsg .success::before {
	content: "\f058";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 10px;
	font-size: 18px;
	color: #28a745;
	filter: drop-shadow(0 1px 2px rgba(40, 167, 69, 0.3));
}

.dirmsg:has(.error) {
	background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
	border-left-color: #dc3545;
}

.dirmsg:has(.success) {
	background: linear-gradient(135deg, #f0fff4 0%, #e6f9ec 100%);
	border-left-color: #28a745;
}

.dirmsg a {
	color: #2c5282;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
	vertical-align: baseline;
	display: inline;
}

.dirmsg a:hover {
	color: #1a365d;
	text-decoration: underline;
}

.summary{	border: 1px solid #B0C2CC;}
.summary td, .summary th{padding: 2px 5px; height: 30px;}
.summary .topheader {
	background-color: #dae5ee;
	color: #000000;
	margin: 0;
	padding: 1px 1px 1px 1px;
	font-weight: bold;
	border: none;
	text-align: center;
}
.summary .subheader {
	background-color: #ECF3FA;
	color: #000000;
	margin: 0;
	padding: 1px 1px 1px 5px;
	font-weight: bold;
	border-left: 1px solid #B0C2CC;
	text-align: center;
}
.summary .subheaderdark {
	background-color: #BFD5E7;
	color: #000000;
	margin: 0;
	padding: 1px 1px 1px 5px;
	font-weight: bold;
	border-left: 1px solid #B0C2CC;
	text-align: center;
}
.summary .content {
	color: #000000;
	margin: 0;
	padding: 1px 1px 1px 5px;
	text-align: left;
	border-left: 1px solid #B0C2CC;
	border-top: 1px solid #B0C2CC;
}
.summary .contentmid {
	color: #000000;
	margin: 0;
	padding: 1px 1px 1px 5px;
	text-align: center;
	border-left: 1px solid #B0C2CC;
	border-top: 1px solid #B0C2CC;
}

fieldset {
	margin: 10px 0px;
	border-bottom: 1px gray dotted;
}

legend {
	color: #445566;
	font-size: 22px;
	margin-top: 6px;
}

legend:before, .infobox h1:before, #subui a:before{
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

legend:before{
  font-weight: 900;
  content: "\f0c9";
  margin-right: 4px;
}

#home_screen legend {display: none;}
#home_screen, #support_screen {
	margin: 14px;
	border: 3px solid #f1f1f1;
	padding: 0px 26px;
	background: #f0efef;
}
#support_screen fieldset{border-bottom: 1px gray dotted;}
#home_screen fieldset:last-child, #support_screen fieldset:last-child {border-bottom: none;}
.infobox br{display: none;}

A.actionbut{
	background:url("../../../images/bg_button.gif") repeat-x scroll center top #EFEFEF;
	border:1px solid #666666;
	color:#000000;
	cursor:pointer;
	font-size:16px;
	font-weight:bold;
	margin:0px;
	padding:5px 12px;
	text-align:center;
	width:auto !important;
	text-decoration: none;
	white-space: nowrap;
}

.infobox h1{
	color: #445566;
	font-size: 18px;
	margin: 20px 0px;
}

.infobox h1:before{
  font-weight: 900;
  content: "\f0a4";
  margin-right: 4px;
}

#welcome_msg h1:before{content: none}

.infobox b{
	font-weight: normal;	
}

.selectmenu { width: 234px;}
.selectmenu #round_content {min-height: 422px;}

A.graphicon{
	background: url(../../../images/graph.gif) 2px 5px no-repeat;
	padding-left:16px;
	padding-top:6px;
	text-decoration:none;
}

.summary_tab {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	margin-top: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.summary_tab .topheader {
	background: linear-gradient(90deg, #4a8fc7 0%, #5a9dd1 100%);
	color: #282222;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 10px;
	text-align: center;
	border-bottom: 1px solid #5a9dd1;
	border: none 0px;
}

.summary_tab th {
	background: linear-gradient(90deg, #6faee0 0%, #75b3e3 100%);
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid #f0f4f8;
	color: #282222;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 10px;
	text-align: center;
}

.summary_tab td {
	border-right: 1px solid #f0f4f8;
	border-bottom: 1px solid #f0f4f8;
	color: #2d3748;
	font-size: 16px;
	margin: 0;
	padding: 8px 10px;
	text-align: center;
	transition: all 0.2s ease;
}

.summary_tab th:last-child,
.summary_tab td:last-child {
	border-right: none;
}

.summary_tab th.leftcell {
	border-left: none;
}

.summary_tab tr:nth-child(odd) {
	background-color: #ffffff;
}

.summary_tab tr:nth-child(even) {
	background-color: #fafbfc;
}

.summary_tab tr:hover {
	background: linear-gradient(90deg, #f5f8fa 0%, #f6f9fb 100%) !important;
	transform: scale(1.001);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.summary A { text-decoration: none;}

#subcontmed{
	border:1px solid #B0C2CC;
	text-align: center;
	padding: 10px;
}

.report_head {
	font-size:12px;
	margin:40px 0 0 0;
}

.report_head .pagingdiv {
	padding-bottom:0;
	padding-top:5px;
}

.report_head div {
	font-size:13px;
	margin-bottom:10px;
	margin-left:10px;
	width:100%;
}

#sortLink { text-decoration: none;color: black;}
#sortLink:HOVER { text-decoration: none;background-color: transparent;}
.sort_asc{background:transparent url(../../../images/sort_asc.gif) no-repeat scroll right center;padding-right: 18px;}
.sort_desc{background:transparent url(../../../images/sort_desc.gif) no-repeat scroll right center;padding-right: 18px;}

.plus{background:transparent url(../../../images/green.png) no-repeat scroll center center;}
.minus{background:transparent url(../../../images/red.png) no-repeat scroll center center;}

.bold{font-weight: bold;}
.left {text-align: left;}
.right {text-align: right;}
.center {text-align: center;}
.back {text-decoration: none;font-size: 15px;}

input.long{width: 280px;}
input[name='from_time'], input[name='to_time'], input[name='expiry_date'], input.date_fld{width: 130px}

a.bold_link{
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
}

.speed_details {text-align: left;}
.speed_details h2{margin: 0 0 10px 0; font-size: 14px;}
.speed_details h3{margin: 10px 0px;}
.speed_details .score{background-color: #F0F0F0; width: 200px; margin: 20px 0px; padding: 8px;}
.speed_details .score_val, .speed_details .imapct_area, .speed_details .url_area{margin: 8px 0;}

div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-weight: bolder;
    font-size: 16px;
}

div.tab button:hover {	background-color: #ddd;}
div.tab button.active {	background-color: #ccc;}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

#cust_tab, .list {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#cust_tab td, #cust_tab th, .list td, .list th  {
    border-right: 1px solid #f0f4f8;
    border-bottom: 1px solid #f0f4f8;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

#cust_tab td:last-child, #cust_tab th:last-child, .list td:last-child, .list th:last-child {
    border-right: none;
}

#cust_tab tr:nth-child(odd), .list tr:nth-child(odd) {
    background-color: #ffffff;
}

#cust_tab tr:nth-child(even), .list tr:nth-child(even) {
    background-color: #fafbfc;
}

#cust_tab tr:hover, .list tr:hover {
    background: linear-gradient(90deg, #f5f8fa 0%, #f6f9fb 100%) !important;
    transform: scale(1.001);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.list tr.listHead:hover {
    background: linear-gradient(90deg, #6faee0 0%, #75b3e3 100%) !important;
    transform: none;
}

#cust_tab th, .list .listHead td, .list .listHead th {
    text-align: center;
    background: linear-gradient(90deg, #6faee0 0%, #75b3e3 100%);
    color: #282222;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 10px;
    border-bottom: 1px solid #5a9dd1;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.list .listHead td {
	font-weight: 600;
}

.list .listBot td, .list .tab_left_bot_noborder, .list .tab_left_bot_noborder + td {
	border: none;
	background: none;
	height: 0px;
	padding: 0px;
}

#cust_tab th#head, .list th#head {
    text-align: center;
    background: linear-gradient(90deg, #4a8fc7 0%, #5a9dd1 100%);
    color: #282222;
    font-weight: bold;
}

#cust_tab tr.form_head th:nth-child(1) { border-right: 0px }
#cust_tab tr.form_head th:nth-child(2), .list tr.listHead td:nth-child(2) { border-left: 0px }
#cust_tab tr.form_data td:nth-child(1) { text-align: right; }

#cust_tab td p, .list td p {
    font-size: 12px;
    color: #4a5568;
    margin: 0px;
    padding-left: 5px;
    padding-bottom: 4px;
}

#cust_tab td {
    font-size: 16px;
    text-align: center;
}

.list td {
    color: #2d3748;
    font-size: 16px;
    text-align: center;
}

/* For 2-column tables: first column right-aligned, second left-aligned */
#cust_tab tr td:first-child:nth-last-child(2),
#cust_tab tr td:first-child:nth-last-child(2) ~ td,
.list tr td:first-child:nth-last-child(2),
.list tr td:first-child:nth-last-child(2) ~ td {
    border-left: none;
}

#cust_tab tr td:first-child:nth-last-child(2),
.list tr td:first-child:nth-last-child(2) {
    text-align: right;
    font-weight: 500;
}

#cust_tab tr td:nth-child(2):last-child,
.list tr td:nth-child(2):last-child {
    text-align: left;
}

/* For tables with more than 2 columns: only first column left-aligned, rest center-aligned */
#cust_tab td:first-child:not(:nth-last-child(2)),
.list tr td:first-child:not(:nth-last-child(2)) {
    border-left: none;
    text-align: left;
    font-weight: 500;
}

.list td input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.list td a {
    color: #2c5282;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.list td a:hover {
    color: #1a365d;
    text-decoration: underline;
}

#cust_tab th a {
    color: #282222;
    text-decoration: none;
}

#cust_tab th a:hover {
    color: #282222;
    text-decoration: none;
    background-color: transparent;
}

.tablesorter th {
	cursor: pointer;
	background-image: url(../../../images/bg.gif);
    background-position: right center;
    background-repeat: no-repeat;
	padding-right: 24px !important;
	position: relative;
}

.tablesorter th::after {
	content: "\f0dc";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.4;
	font-size: 12px;
}

.tablesorter th.headerSortUp::after {
	content: "\f0de";
	opacity: 1;
	color: #28a745;
}

.tablesorter th.headerSortDown::after {
	content: "\f0dd";
	opacity: 1;
	color: #dc3545;
}

.blog_section{margin: 26px 20px; padding: 10px 6px;}
.blog_search{float: right;text-align: right;margin: 4px 10px}
.blog_search input{width: 200px;}
.blog_List_head {margin: 10px 0px 28px;}
.blog_List_head p{font-size: 10px;}
.blog_List_head A{font-size: 30px; font-weight: bold;text-decoration: none;color: #445566;}
.blog_tags{font-size: 10px; margin-top: 20px;}
.blog_tags A {text-decoration: none;}
.blog_paginate_div{margin: 10px 20px;}
.blog_paginate_div A{text-decoration: none; color: #666666}

/* === MAIN TOP NAVBAR === */
.navbar.navbar-expand-md {
    padding: 10px 16px;
    min-height: 54px;
}

.navbar-brand {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* === NAVBAR CONTENT === */
#navbarSupportedContent{text-align: left;}
#navbarSupportedContent A {text-decoration: none; font-size: 16px;}
#navbarSupportedContent li {line-height: 6px; margin: 1px 4px;}

/* Main navigation links - reduced height */
#navbarSupportedContent .navbar-nav .nav-link {
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#navbarSupportedContent .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

#navbarSupportedContent .navbar-nav .nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-weight: 600;
}

#navbarSupportedContent .navbar-nav .nav-link i {
    font-size: 14px;
    margin-right: 6px;
}

#navbarSupportedContent .form-inline A {color: white; margin: 4px; font-size: 15px;}
#navbarSupportedContent .form-inline select {width: 100px; height: 28px; margin-left: 5px;}
#navbarSupportedContent .form-inline span {color: white;}
#newsalert{font-size: 15px;}

/* === FOOTER STYLES === */
.footer-sp {
    padding: 8px 20px;
    margin-top: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sp > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-sp A {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 2px 6px;
    border-radius: 4px;
}

.footer-sp A:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

#powered {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

/* Footer responsive */
@media screen and (max-width: 768px) {
    .footer-sp {
        flex-direction: column;
        text-align: center;
        padding: 10px 15px;
        gap: 8px;
    }

    .footer-sp > div {
        justify-content: center;
    }
}

/* === ALERT NOTIFICATION SECTION === */
#alert_noti_sec {
    margin-left: 8px;
    position: relative;
}

#alert_noti_sec A.dropdown-toggle {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#alert_noti_sec A.dropdown-toggle::before,
#alert_noti_sec A.dropdown-toggle::after {
    border: none;
    content: none;
}

#alert_noti_sec A.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

#alert_noti_sec A.dropdown-toggle i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

#alert_noti_sec A.dropdown-toggle:hover i {
    transform: rotate(15deg);
}

#alert_noti_sec A {
    color: white;
    text-decoration: none;
}

/* Dropdown Menu */
#alert_noti_sec .dropdown-menu {
    min-width: 24rem;
    max-width: 28rem;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 12px;
    padding: 0;
    font-size: 13px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

#alert_noti_sec .dropdown-menu-right {
    right: -16px;
}

/* Dropdown Header */
#alert_noti_sec .dropdown-menu::before {
    content: "Notifications";
    display: block;
    padding: 16px 20px;
    background: linear-gradient(135deg, #4a8fc7 0%, #6faee0 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #5a9dd1;
}

#alert_noti_sec .dropdown-menu li {
    padding: 16px 20px;
    margin: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #f0f4f8;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

#alert_noti_sec .dropdown-menu li:hover {
    background: linear-gradient(90deg, #f5f8fa 0%, #f6f9fb 100%);
    transform: translateX(4px);
    border-left: 3px solid #4a8fc7;
}

#alert_noti_sec .dropdown-menu li:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

#alert_noti_sec .dropdown-menu li:first-of-type {
    margin-top: 0;
}

#alert_noti_sec .dropdown-menu A {
    color: #2d3748;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: block;
    line-height: 1.6;
    transition: color 0.2s ease;
}

#alert_noti_sec .dropdown-menu A:hover {
    color: #4a8fc7;
}

/* Alert with icon styling */
#alert_noti_sec .dropdown-menu li > i {
    color: #4a8fc7;
    margin-right: 12px;
    font-size: 18px;
    float: left;
}

/* Empty state */
#alert_noti_sec .dropdown-menu .no-alerts {
    padding: 40px 20px;
    text-align: center;
    color: #718096;
    font-style: italic;
}

#alert_noti_sec .dropdown-menu .no-alerts i {
    font-size: 48px;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: block;
}

/* Badge Count */
#alert_noti_sec .count {
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 4px 8px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: -6px;
    left: auto;
    right: -8px;
    position: absolute;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

/* Pulse animation for badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
    }
}

/* Scrollbar styling for dropdown */
#alert_noti_sec .dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 12px 12px 0;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a8fc7 0%, #6faee0 100%);
    border-radius: 4px;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3d7fb5 0%, #5a9dd1 100%);
}

@media screen and ( max-width: 769px ) {
	#navbarSupportedContent li {line-height: 15px;}
	#alert_noti_sec .count {position: relative; top: auto; right: auto;}
}

@media screen and ( max-width: 1127px ) and (min-width: 770px) {
	.nav-link i{margin-bottom: 8px;}
}

.public_form {
	border: 3px solid #ece9e9;
	padding: 24px;
	margin: 16px 0px;
	background: #f0efef;
}
.public_head {margin: 16px 0px;}

.export_div{float:left;margin: 0px;padding-left: 1px;}
.export_div a{font-size: 18px;margin-right: 8px;}

.dashboard {margin-top: 20px;}
.dashboard .SectionHeader{margin: 16px 0px 0px;}

/* Dialog Styling */
.ui-dialog {
	border-radius: 12px !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
	border: none !important;
	overflow: hidden !important;
}

.ui-dialog .ui-button {
	outline: none;
}

.ui-dialog-titlebar {
	background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%) !important;
	border: none !important;
	padding: 16px 20px !important;
	border-radius: 0 !important;
}

.ui-dialog-title {
	color: white;
	font-size: 18px;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ui-dialog-titlebar-close {
	background: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 6px !important;
	transition: all 0.2s ease !important;
	width: 32px !important;
	height: 32px !important;
}

.ui-dialog-titlebar-close:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	transform: rotate(90deg);
}

.ui-dialog-titlebar-close .ui-icon {
	background-image: none !important;
	text-indent: 0 !important;
}

.ui-dialog-titlebar-close .ui-icon:before {
	content: "✕";
	font-size: 18px;
	color: white;
	display: block;
	text-align: center;
	line-height: 30px;
}

.ui-dialog-content {
	padding: 20px !important;
	background: #ffffff !important;
}

#dialogContent {
	font-size: 15px;
}

#content{padding-top: 6px;}

/* Custom Confirm Dialog */
.sp-confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.sp-confirm-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    max-width: 500px;
    z-index: 10000;
    animation: slideDown 0.3s ease;
}

.sp-confirm-header {
    background: linear-gradient(135deg, #6faee0 0%, #75b3e3 100%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.sp-confirm-header i {
    margin-right: 10px;
    font-size: 18px;
}

.sp-confirm-body {
    padding: 24px 20px;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.6;
}

.sp-confirm-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-radius: 0 0 8px 8px;
}

.sp-confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.sp-confirm-btn-cancel {
    background: #e2e8f0;
    color: #4a5568;
}

.sp-confirm-btn-cancel:hover {
    background: #cbd5e0;
}

.sp-confirm-btn-confirm {
    background: linear-gradient(180deg, #0a66d1, #0056b3);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.3);
}

.sp-confirm-btn-confirm:hover {
    background: linear-gradient(180deg, #0056b3, #00408f);
    box-shadow: 0 4px 8px rgba(0, 64, 143, 0.35);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.sub_menu_link{
    background-color: #c7cbce;
    color: #2e3436;
    margin-left: 2px;
}
.sub_menu_link:hover{color: black;}

/* === LOGIN PAGE STYLES === */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid #e2e8f0;
}

.login-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #4a8fc7 100%);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.login-icon i {
    font-size: 36px;
    color: #ffffff;
}

.login-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.login-subtitle {
    color: #d6e4f5;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 40px 30px 30px;
}

.login-label {
    color: #2d3748;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.login-label i {
    color: #4a8fc7;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.login-input {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.login-input:focus {
    border-color: #4a8fc7;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(74, 143, 199, 0.1);
    outline: none;
}

.forgot-link {
    color: #4a8fc7;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.forgot-link:hover {
    color: #2c5282;
    text-decoration: none;
}

.forgot-link i {
    font-size: 12px;
}

.btn-login {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(10, 102, 209, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 209, 0.4);
}

.btn-login i {
    font-size: 18px;
}

.register-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.register-text {
    color: #4a5568;
    font-size: 14px;
    margin-right: 8px;
}

.register-link {
    color: #4a8fc7;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.register-link:hover {
    color: #2c5282;
    text-decoration: none;
}

.register-link i {
    font-size: 14px;
}

.login-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-text {
    color: #4a5568;
    font-size: 13px;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-text i {
    color: #10b981;
    font-size: 14px;
}

/* Login page responsive */
@media screen and (max-width: 576px) {
    .login-card {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .login-header {
        padding: 30px 20px 20px;
    }

    .login-icon {
        width: 70px;
        height: 70px;
    }

    .login-icon i {
        font-size: 30px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .login-body {
        padding: 30px 20px 20px;
    }

    .login-footer {
        padding: 15px 20px;
    }
}

/* === REGISTER PAGE STYLES === */
.register-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.register-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.register-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.register-icon i {
    font-size: 36px;
    color: #ffffff;
}

.register-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.register-subtitle {
    color: #d1fae5;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.register-body {
    padding: 40px 30px 30px;
}

.register-section-title {
    color: #1a202c;
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-section-title:first-child {
    margin-top: 0;
}

.register-section-title i {
    color: #10b981;
    font-size: 20px;
}

.register-label {
    color: #2d3748;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.register-label i {
    color: #10b981;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.register-input {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.register-input:focus {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    outline: none;
}

.pricing-link {
    color: #10b981;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pricing-link:hover {
    color: #059669;
    text-decoration: none;
}

.pricing-link i {
    font-size: 12px;
}

.captcha-wrapper {
    margin: 12px 0;
    display: flex;
    justify-content: flex-start;
}

.captcha-image {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    background: #f8fafc;
}

.register-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-register-cancel {
    flex: 1;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-register-submit {
    flex: 2;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #10b981, #059669);
    border-color: #047857 !important;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, #059669, #047857);
}

.register-footer {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.register-footer .footer-text {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.register-footer .login-link {
    color: #10b981;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.register-footer .login-link:hover {
    color: #059669;
    text-decoration: none;
}

.register-footer .login-link i {
    font-size: 14px;
}

/* Register page responsive */
@media screen and (max-width: 768px) {
    .register-card {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .register-header {
        padding: 30px 20px 20px;
    }

    .register-icon {
        width: 70px;
        height: 70px;
    }

    .register-icon i {
        font-size: 30px;
    }

    .register-title {
        font-size: 24px;
    }

    .register-subtitle {
        font-size: 14px;
    }

    .register-body {
        padding: 30px 20px 20px;
    }

    .register-section-title {
        font-size: 16px;
    }

    .register-actions {
        flex-direction: column;
    }

    .btn-register-cancel,
    .btn-register-submit {
        flex: 1;
        width: 100%;
    }

    .register-footer {
        padding: 15px 20px;
    }
}

/* === FORGOT PASSWORD PAGE STYLES === */
.forgot-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid #e2e8f0;
}

.forgot-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.forgot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.forgot-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.forgot-icon i {
    font-size: 36px;
    color: #ffffff;
}

.forgot-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.forgot-subtitle {
    color: #fef3c7;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.forgot-body {
    padding: 40px 30px 30px;
}

.forgot-label {
    color: #2d3748;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.forgot-label i {
    color: #f59e0b;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.forgot-input {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.forgot-input:focus {
    border-color: #f59e0b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    outline: none;
}

.forgot-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-forgot-cancel {
    flex: 1;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-forgot-submit {
    flex: 2;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-forgot-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.forgot-footer {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.forgot-footer .footer-text {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.forgot-footer .footer-text i {
    color: #f59e0b;
    font-size: 14px;
}

.forgot-footer .signin-link {
    color: #f59e0b;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.forgot-footer .signin-link:hover {
    color: #d97706;
    text-decoration: none;
}

/* Forgot password page responsive */
@media screen and (max-width: 576px) {
    .forgot-card {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .forgot-header {
        padding: 30px 20px 20px;
    }

    .forgot-icon {
        width: 70px;
        height: 70px;
    }

    .forgot-icon i {
        font-size: 30px;
    }

    .forgot-title {
        font-size: 24px;
    }

    .forgot-subtitle {
        font-size: 14px;
    }

    .forgot-body {
        padding: 30px 20px 20px;
    }

    .forgot-actions {
        flex-direction: column;
    }

    .btn-forgot-cancel,
    .btn-forgot-submit {
        flex: 1;
        width: 100%;
    }

    .forgot-footer {
        padding: 15px 20px;
    }

    .forgot-footer .footer-text {
        font-size: 13px;
    }
}

/* === BUTTON LINKS === */
a.btn, a.btn:hover {
  text-decoration: none !important;
}

/* === PRIMARY === */
.btn-primary {
  background: linear-gradient(180deg, #0a66d1, #0056b3);
  border-color: #004a99 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(0, 86, 179, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #0056b3, #00408f);
  border-color: #003873 !important;
  box-shadow: 0 6px 12px rgba(0, 64, 143, 0.35);
  color: #fff !important;
}

/* === SUCCESS === */
.btn-success {
  background: linear-gradient(180deg, #28a745, #198754);
  border-color: #157347 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-success:hover {
  background: linear-gradient(180deg, #198754, #146c43);
  border-color: #0f5132 !important;
  box-shadow: 0 6px 12px rgba(20, 108, 67, 0.35);
  color: #fff !important;
}

/* === WARNING === */
.btn-warning {
  background: linear-gradient(180deg, #e6b200, #e0a800);
  border-color: #d39e00 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(224, 168, 0, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-warning:hover {
  background: linear-gradient(180deg, #e0a800, #c69500);
  border-color: #b88600 !important;
  box-shadow: 0 6px 12px rgba(198, 149, 0, 0.35);
  color: #fff !important;
}

/* === DANGER === */
.btn-danger {
  background: linear-gradient(180deg, #a50000, #8b0000);
  border-color: #7a0000 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(139, 0, 0, 0.35);
  transition: all 0.2s ease-in-out;
}
.btn-danger:hover {
  background: linear-gradient(180deg, #8b0000, #660000);
  border-color: #590000 !important;
  box-shadow: 0 6px 12px rgba(102, 0, 0, 0.45);
  color: #fff !important;
}

/* === SECONDARY === */
.btn-secondary {
  background: linear-gradient(180deg, #6c757d, #545b62);
  border-color: #4e555b !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-secondary:hover {
  background: linear-gradient(180deg, #545b62, #3e444a);
  border-color: #343a40 !important;
  box-shadow: 0 6px 12px rgba(84, 91, 98, 0.35);
  color: #fff !important;
}

/* === INFO === */
.btn-info {
  background: linear-gradient(180deg, #0dcaf0, #0aa2c0);
  border-color: #0990ac !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(13, 202, 240, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-info:hover {
  background: linear-gradient(180deg, #0aa2c0, #087990);
  border-color: #066b82 !important;
  box-shadow: 0 6px 12px rgba(8, 121, 144, 0.35);
  color: #fff !important;
}

/* === CARD HEADERS === */
.card-header-gradient-blue {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.5);
  padding: 0.5rem 1rem;
}

.card-header-gradient-blue h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.card-header-gradient-green {
  background: linear-gradient(135deg, #0c6b63 0%, #24a85a 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(12, 107, 99, 0.4);
}

.card-header-gradient-green h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

.card-header-gradient-orange {
  background: linear-gradient(135deg, #c25fc7 0%, #c7324a 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(194, 95, 199, 0.4);
}

.card-header-gradient-orange h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

.card-header-gradient-teal {
  background: linear-gradient(135deg, #2b7ac7 0%, #00a8b5 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(43, 122, 199, 0.4);
}

.card-header-gradient-teal h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

/* === ATTRACTIVE NAV TABS === */
.nav-tabs {
  background: linear-gradient(180deg, #6c757d 0%, #495057 100%);
  padding: 6px 6px 0 6px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Main Dashboard Nav - no full background, only menu backgrounds */
#main_dashboard_nav {
  background: transparent !important;
  padding: 0 0 0 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 2px solid #e2e8f0;
}

#main_dashboard_nav .nav-item {
  margin-bottom: 0;
  margin-right: 6px;
}

#main_dashboard_nav .nav-link {
  border-radius: 6px 6px 0 0;
  padding: 10px 20px;
  background: linear-gradient(135deg, #c3ddf5 0%, #a8cef0 100%);
  color: #2c5282;
  border: 1px solid #93b8de;
  border-bottom: none;
  margin-bottom: -2px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(74, 143, 199, 0.2);
}

#main_dashboard_nav .nav-link:hover {
  background: linear-gradient(135deg, #6faee0 0%, #5a9dd1 100%);
  color: #1a365d;
  box-shadow: 0 3px 6px rgba(74, 143, 199, 0.3);
  transform: translateY(-1px);
}

#main_dashboard_nav .nav-link.active {
  background: linear-gradient(135deg, #4a8fc7 0%, #6faee0 100%);
  color: #ffffff !important;
  border-color: #4a8fc7;
  font-weight: 600;
}

#main_dashboard_nav .nav-link.active:hover {
  background: linear-gradient(135deg, #3d7fb5 0%, #5a9dd1 100%);
}

.nav-tabs .nav-item {
  margin-bottom: -3px;
  margin-right: 4px;
}

.nav-tabs .nav-link {
  border-radius: 8px 8px 0 0;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #e9ecef;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-tabs .nav-link:hover {
  background: linear-gradient(180deg, #5a6268 0%, #495057 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #2d3561 0%, #3d2261 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(45, 53, 97, 0.6);
  transform: translateY(-2px);
}

.nav-tabs .nav-link.active:hover {
  background: linear-gradient(135deg, #1f2545 0%, #2d1845 100%);
  color: #ffffff !important;
}

.nav-tabs .sub_menu_link {
  background-color: transparent;
}

/* === SMALLER NAV TABS FOR REPORTS === */
.nav-tabs-sm {
  background: transparent !important;
  padding: 0 0 0 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 2px solid #e2e8f0;
}

.nav-tabs-sm .nav-item {
  margin-bottom: 0;
  margin-right: 6px;
}

.nav-tabs-sm .nav-link {
  border-radius: 6px 6px 0 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(135deg, #c3ddf5 0%, #a8cef0 100%);
  color: #2c5282;
  border: 1px solid #93b8de;
  border-bottom: none;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(74, 143, 199, 0.2);
}

.nav-tabs-sm .nav-link:hover {
  background: linear-gradient(135deg, #6faee0 0%, #5a9dd1 100%);
  color: #1a365d;
  box-shadow: 0 3px 6px rgba(74, 143, 199, 0.3);
  transform: translateY(-1px);
}

.nav-tabs-sm .nav-link.active {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: #ffffff !important;
  border-color: #10b981;
  font-weight: 600;
}

.nav-tabs-sm .nav-link.active:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* === HOME PAGE STYLES === */

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #4a8fc7 100%);
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title i {
    color: #90cdf4;
    margin-right: 12px;
}

.hero-subtitle {
    color: #e6f4ff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description {
    color: #d6e4f5;
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-actions .btn i {
    margin-right: 8px;
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 3px solid #4a8fc7;
    display: inline-block;
    width: 100%;
}

.section-title i {
    color: #4a8fc7;
    margin-right: 12px;
}

/* Features Section */
.features-section {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(74, 143, 199, 0.2);
    border-color: #4a8fc7;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4a8fc7 0%, #6faee0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 143, 199, 0.3);
}

.feature-icon i {
    font-size: 32px;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f4ff 100%);
    padding: 50px 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    border: 1px solid #cbd5e0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.why-icon i {
    font-size: 28px;
    color: #ffffff;
}

.why-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Resources Section */
.resources-section {
    margin-bottom: 40px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.resource-link:hover {
    background: linear-gradient(135deg, #4a8fc7 0%, #6faee0 100%);
    color: #ffffff;
    border-color: #4a8fc7;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(74, 143, 199, 0.3);
}

.resource-link i {
    font-size: 22px;
    color: #4a8fc7;
    transition: color 0.3s ease;
}

.resource-link:hover i {
    color: #ffffff;
}

.resource-link span {
    flex: 1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .home-hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-section {
        padding: 30px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
    }
}
