@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: 4px;
	border: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
	margin-top: 10px;
	font-size: 15px;
}

.alert-danger {
	background: #fff5f5;
	border-left: 4px solid #dc3545;
}

.alert-success {
	background: #f0fff4;
	border-left: 4px solid #28a745;
}

.alert-warning {
	background: #fffaf0;
	border-left: 4px solid #ffc107;
}

.alert-info {
	background: #f0f9ff;
	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: #2c5f7c !important;
	border-radius: 0px;
	box-shadow: 0 2px 4px rgba(44, 95, 124, 0.2);
}
#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: rgba(255, 255, 255, 0.1);
	transition: all 0.2s ease;
	font-weight: 500;
	margin-left: 2px;
}

.tab:hover {
	background: rgba(255, 255, 255, 0.2);
	border-left: 3px solid #90cdf4;
	padding-left: 10px;
}

.tab a {
	color: #ffffff;
	font-size: 16px;
}

.tab i {
	margin-right: 8px;
	color: #b3d4ff;
	transition: color 0.2s ease;
}

#subui {
	background: #1e4a5f;
}

#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: rgba(255, 255, 255, 0.15);
	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: "\f105";
  margin-right: 8px;
  color: #63b3ed;
  font-size: 11px;
}

#subui a.menu_active, #subui li.menu_active {
	background: rgba(16, 185, 129, 0.3);
}

#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: #f8fafc;
	vertical-align: middle;
	border: 1px solid #cbd5e0;
	border-radius: 4px;
	min-height: 20px;
	height: auto !important;
	padding: 12px 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	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: #e8f4f8;
	border-left: 4px solid #2c5f7c;
	padding: 14px 18px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(44, 95, 124, 0.1);
	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: 4px;
	border-left: 4px solid #e2e8f0;
	background: #f8fafc;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	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: #fff5f5;
	border-left-color: #dc3545;
}

.dirmsg:has(.success) {
	background: #f0fff4;
	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: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.summary_tab .topheader {
	background: #2c5f7c;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 10px;
	text-align: center;
	border-bottom: 1px solid #234a5c;
	border: none 0px;
}

.summary_tab th {
	background: #4a8a9e;
	border-right: 1px solid #e2e8f0;
	border-bottom: 1px solid #f0f4f8;
	color: #ffffff;
	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: #f5f8fa !important;
}

.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: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px 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: #f5f8fa !important;
}

.list tr.listHead:hover {
    background: #4a8a9e !important;
}

#cust_tab th, .list .listHead td, .list .listHead th {
    text-align: center;
    background: #4a8a9e;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 10px;
    border-bottom: 1px solid #3a7a8e;
    border-right: 1px solid #e2e8f0;
}

.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: #2c5f7c;
    color: #ffffff;
    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;
    background: #1e3a52 !important;
}

.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);
    background: #1e3a52 !important;
    color: #ffffff;
}

.footer-sp > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-sp A {
    color: #90cdf4;
    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: #2c5f7c;
    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 #234a5c;
}

#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: #f5f8fa;
    border-left: 3px solid #2c5f7c;
}

#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: #2c5f7c;
}

/* Alert with icon styling */
#alert_noti_sec .dropdown-menu li > i {
    color: #2c5f7c;
    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: #2c5f7c;
    border-radius: 4px;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #234a5c;
}

@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: 8px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
	border: none !important;
	overflow: hidden !important;
}

.ui-dialog .ui-button {
	outline: none;
}

.ui-dialog-titlebar {
	background: #2c5f7c !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;
}

.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;
}

/* 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: #4a8a9e;
    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: #2c5f7c;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(44, 95, 124, 0.3);
}

.sp-confirm-btn-confirm:hover {
    background: #234a5c;
    box-shadow: 0 4px 8px rgba(35, 74, 92, 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%);
    }
}

#content{padding-top: 6px;}

.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: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid #d0dce3;
}

.login-header {
    background: #2c5f7c;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

.login-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.login-icon i {
    font-size: 32px;
    color: #ffffff;
}

.login-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.login-subtitle {
    color: #d6e8f0;
    font-size: 15px;
    margin: 0;
}

.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: #2c5f7c;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.login-input {
    height: 46px;
    border: 2px solid #d0dce3;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f5f9fb;
}

.login-input:focus {
    border-color: #2c5f7c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
    outline: none;
}

.forgot-link {
    color: #2c5f7c;
    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: #1e4a5f;
    text-decoration: none;
}

.forgot-link i {
    font-size: 12px;
}

.btn-login {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(44, 95, 124, 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 5px 16px rgba(44, 95, 124, 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: #2c5f7c;
    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: #1e4a5f;
    text-decoration: none;
}

.register-link i {
    font-size: 14px;
}

.login-footer {
    background: #f5f9fb;
    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: 10px;
    }

    .login-header {
        padding: 30px 20px 20px;
    }

    .login-icon {
        width: 60px;
        height: 60px;
    }

    .login-icon i {
        font-size: 28px;
    }

    .login-title {
        font-size: 22px;
    }

    .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: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid #d0dce3;
}

.register-header {
    background: #10b981;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

.register-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.register-icon i {
    font-size: 32px;
    color: #ffffff;
}

.register-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.register-subtitle {
    color: #d1fae5;
    font-size: 15px;
    margin: 0;
}

.register-body {
    padding: 40px 30px 30px;
}

.register-section-title {
    color: #1a202c;
    font-size: 17px;
    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: 18px;
}

.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: 46px;
    border: 2px solid #d0dce3;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f5f9fb;
}

.register-input:focus {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px 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 #d0dce3;
    border-radius: 6px;
    padding: 8px;
    background: #f5f9fb;
}

.register-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-register-cancel {
    flex: 1;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-register-submit {
    flex: 2;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #10b981;
    border-color: #059669 !important;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(16, 185, 129, 0.4);
    background: #059669;
}

.register-footer {
    background: #f0fdf4;
    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: 60px;
        height: 60px;
    }

    .register-icon i {
        font-size: 28px;
    }

    .register-title {
        font-size: 22px;
    }

    .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: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid #d0dce3;
}

.forgot-header {
    background: #f59e0b;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

.forgot-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.forgot-icon i {
    font-size: 32px;
    color: #ffffff;
}

.forgot-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.forgot-subtitle {
    color: #fef3c7;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.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: 46px;
    border: 2px solid #d0dce3;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f5f9fb;
}

.forgot-input:focus {
    border-color: #f59e0b;
    background: #ffffff;
    box-shadow: 0 0 0 3px 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: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-forgot-submit {
    flex: 2;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 3px 10px 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 5px 16px rgba(245, 158, 11, 0.4);
}

.forgot-footer {
    background: #fffbeb;
    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: 10px;
    }

    .forgot-header {
        padding: 30px 20px 20px;
    }

    .forgot-icon {
        width: 60px;
        height: 60px;
    }

    .forgot-icon i {
        font-size: 28px;
    }

    .forgot-title {
        font-size: 22px;
    }

    .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: #2c5f7c;
  border-color: #234a5c !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(44, 95, 124, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
  background: #234a5c;
  border-color: #1a3a48 !important;
  box-shadow: 0 5px 10px rgba(35, 74, 92, 0.35);
  color: #fff !important;
}

/* === SUCCESS === */
.btn-success {
  background: #28a745;
  border-color: #1e7e34 !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(40, 167, 69, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-success:hover {
  background: #1e7e34;
  border-color: #155d27 !important;
  box-shadow: 0 5px 10px rgba(30, 126, 52, 0.35);
  color: #fff !important;
}

/* === WARNING === */
.btn-warning {
  background: #e6b200;
  border-color: #d39e00 !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(224, 168, 0, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-warning:hover {
  background: #d39e00;
  border-color: #b88600 !important;
  box-shadow: 0 5px 10px rgba(198, 149, 0, 0.35);
  color: #fff !important;
}

/* === DANGER === */
.btn-danger {
  background: #a50000;
  border-color: #8b0000 !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(139, 0, 0, 0.35);
  transition: all 0.2s ease-in-out;
}
.btn-danger:hover {
  background: #8b0000;
  border-color: #660000 !important;
  box-shadow: 0 5px 10px rgba(102, 0, 0, 0.45);
  color: #fff !important;
}

/* === SECONDARY === */
.btn-secondary {
  background: #6c757d !important;
  border-color: #5a6268 !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(108, 117, 125, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-secondary:hover {
  background: #5a6268 !important;
  border-color: #4e555b !important;
  box-shadow: 0 5px 10px rgba(84, 91, 98, 0.35);
  color: #fff !important;
}

/* === INFO === */
.btn-info {
  background: #0dcaf0;
  border-color: #0aa2c0 !important;
  color: #fff !important;
  box-shadow: 0 3px 6px rgba(13, 202, 240, 0.3);
  transition: all 0.2s ease-in-out;
}
.btn-info:hover {
  background: #0aa2c0;
  border-color: #087990 !important;
  box-shadow: 0 5px 10px rgba(8, 121, 144, 0.35);
  color: #fff !important;
}

/* === CARD HEADERS === */
.card-header-gradient-blue {
  background: #2c5f7c;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 3px 10px rgba(44, 95, 124, 0.4);
  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: #10b981;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.card-header-gradient-green h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

.card-header-gradient-orange {
  background: #d97706;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.card-header-gradient-orange h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

.card-header-gradient-teal {
  background: #0891b2;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 3px 10px rgba(8, 145, 178, 0.3);
}

.card-header-gradient-teal h4 {
  color: #ffffff !important;
  margin: 0;
  font-weight: 600;
}

/* === ATTRACTIVE NAV TABS === */
.nav-tabs {
  background: #4a5568;
  padding: 6px 6px 0 6px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 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 #d0dce3;
}

#main_dashboard_nav .nav-item {
  margin-bottom: 0;
  margin-right: 6px;
}

#main_dashboard_nav .nav-link {
  border-radius: 4px 4px 0 0;
  padding: 10px 20px;
  background: #d8e8f0;
  color: #2c5f7c;
  border: 1px solid #bdd5e0;
  border-bottom: none;
  margin-bottom: -2px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(44, 95, 124, 0.15);
}

#main_dashboard_nav .nav-link:hover {
  background: #c4dbe8;
  color: #1a3a48;
  box-shadow: 0 3px 6px rgba(44, 95, 124, 0.25);
  transform: translateY(-1px);
}

#main_dashboard_nav .nav-link.active {
  background: #2c5f7c;
  color: #ffffff !important;
  border-color: #2c5f7c;
  font-weight: 600;
}

#main_dashboard_nav .nav-link.active:hover {
  background: #234a5c;
}

.nav-tabs .nav-item {
  margin-bottom: -3px;
  margin-right: 4px;
}

.nav-tabs .nav-link {
  border-radius: 4px 4px 0 0;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #e9ecef;
  background: transparent;
  transition: all 0.2s ease;
  position: relative;
}

.nav-tabs .nav-link:hover {
  background: #5a6268;
  color: #ffffff;
}

.nav-tabs .nav-link.active {
  background: #2c5f7c;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(44, 95, 124, 0.3);
}

.nav-tabs .nav-link.active:hover {
  background: #234a5c;
  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 #d0dce3;
}

.nav-tabs-sm .nav-item {
  margin-bottom: 0;
  margin-right: 6px;
}

.nav-tabs-sm .nav-link {
  border-radius: 4px 4px 0 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: #d8e8f0;
  color: #2c5f7c;
  border: 1px solid #bdd5e0;
  border-bottom: none;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(44, 95, 124, 0.15);
}

.nav-tabs-sm .nav-link:hover {
  background: #c4dbe8;
  color: #1a3a48;
  box-shadow: 0 3px 6px rgba(44, 95, 124, 0.25);
  transform: translateY(-1px);
}

.nav-tabs-sm .nav-link.active {
  background: #10b981;
  color: #ffffff !important;
  border-color: #10b981;
  font-weight: 600;
}

.nav-tabs-sm .nav-link.active:hover {
  background: #059669;
}

/* === HOME PAGE STYLES === */

/* Hero Section */
.home-hero {
    background: #2c5f7c;
    padding: 50px 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(44, 95, 124, 0.25);
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-title i {
    color: #90cdf4;
    margin-right: 12px;
}

.hero-subtitle {
    color: #e6f4ff;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-description {
    color: #d6e8f0;
    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: 6px;
    transition: all 0.3s ease;
}

.hero-actions .btn i {
    margin-right: 8px;
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff !important;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 3px solid #2c5f7c;
    display: inline-block;
    width: 100%;
}

.section-title i {
    color: #2c5f7c;
    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: 10px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #d0dce3;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 6px 16px rgba(44, 95, 124, 0.12);
    border-color: #2c5f7c;
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: #2c5f7c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.25);
}

.feature-icon i {
    font-size: 30px;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 19px;
    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: #f5f9fb;
    padding: 50px 40px;
    border-radius: 10px;
    margin-bottom: 60px;
    border: 1px solid #d0dce3;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
}

.why-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 16px;
    background: #10b981;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.why-icon i {
    font-size: 26px;
    color: #ffffff;
}

.why-card h3 {
    font-size: 18px;
    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 #d0dce3;
    border-radius: 8px;
    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: #2c5f7c;
    color: #ffffff;
    border-color: #2c5f7c;
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.2);
}

.resource-link i {
    font-size: 20px;
    color: #2c5f7c;
    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: 30px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 24px;
    }

    .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: 24px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }
}
/* ========================================
   SIMPLE THEME - CUSTOM ICON STYLES
   ======================================== */

/* === Icon Color Variations === */
.fas, .far, .fab, .fa {
    transition: all 0.3s ease;
}

/* Dashboard Icons - Teal accent */
.dashboard .fas,
.dashboard .far {
    color: #0891b2;
}

/* Section Header Icons - Orange */
.SectionHeader .fas {
    color: #f59e0b;
    text-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
}

/* Table Icons */
.list .fas,
.list .far {
    color: #6366f1;
}

/* Success Icons - Green */
.badge.bg-success .fas,
.btn-success .fas {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Warning Icons - Amber */
.badge.bg-warning .fas,
.btn-warning .fas {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Danger Icons - Red */
.badge.bg-danger .fas,
.btn-danger .fas {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Info Icons - Cyan */
.badge.bg-info .fas,
.btn-info .fas {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* === Icon Size Variations === */
.fa-lg {
    font-size: 1.33333em;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

/* === Icon Animations === */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Apply pulse animation to notification icons */
.fa-bell,
.fa-envelope {
    animation: iconPulse 2s infinite;
}

/* Apply rotation to loading/refresh icons */
.fa-sync,
.fa-spinner,
.fa-circle-notch {
    animation: iconRotate 1.5s linear infinite;
}

/* === Navigation Icons === */
.navbar .fas,
.navbar .far {
    font-size: 1.2em;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover .fas,
.navbar .nav-link:hover .far {
    color: #ffffff;
    transform: scale(1.15);
}

/* === Tooltip Icons === */
.fa-info-circle,
.fa-question-circle {
    color: #6366f1;
    cursor: help;
    transition: all 0.2s ease;
}

.fa-info-circle:hover,
.fa-question-circle:hover {
    color: #4f46e5;
    transform: scale(1.2);
}

/* === Action Button Icons === */
.btn .fas,
.btn .far {
    margin-right: 6px;
    transition: transform 0.2s ease;
}

.btn:hover .fas,
.btn:hover .far {
    transform: translateX(2px);
}

.btn-primary .fas {
    color: #bfdbfe;
}

/* === Link Icons === */
a .fas,
a .far {
    transition: all 0.25s ease;
}

a:hover .fas,
a:hover .far {
    transform: scale(1.1);
}

/* === Status Icons === */
.fa-check-circle {
    color: #10b981;
}

.fa-times-circle {
    color: #ef4444;
}

.fa-exclamation-triangle {
    color: #f59e0b;
}

.fa-clock {
    color: #6366f1;
}

/* === Icon Backgrounds === */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(8, 145, 178, 0.3);
}

.icon-square {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

/* === Card Header Icons === */
.card-header .fas,
.card-header .far {
    margin-right: 8px;
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* === Form Icons === */
.form-label .fas,
.form-label .far {
    color: #0891b2;
    margin-right: 6px;
}

/* === Export Icons === */
.export_div .fas {
    color: #10b981;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.export_div a:hover .fas {
    color: #059669;
    transform: scale(1.2) rotate(5deg);
}

/* === Search Icons === */
.search .fas {
    color: #6366f1;
}

/* === Alert Icons === */
.alert .fas {
    margin-right: 10px;
    font-size: 1.2em;
}

.alert-success .fas {
    color: #059669;
}

.alert-danger .fas {
    color: #dc2626;
}

.alert-warning .fas {
    color: #d97706;
}

.alert-info .fas {
    color: #0284c7;
}

/* === Icon Hover Effects === */
.icon-hover {
    transition: all 0.3s ease;
}

.icon-hover:hover {
    transform: rotate(10deg) scale(1.15);
}

/* === Specialty Icon Styles === */
.fa-chart-line,
.fa-chart-bar,
.fa-chart-pie {
    color: #8b5cf6;
}

.fa-cog,
.fa-sliders-h {
    color: #64748b;
}

.fa-download,
.fa-upload {
    color: #10b981;
}

.fa-trash,
.fa-trash-alt {
    color: #ef4444;
}

.fa-edit,
.fa-pen {
    color: #3b82f6;
}

.fa-plus,
.fa-plus-circle {
    color: #10b981;
}

.fa-minus,
.fa-minus-circle {
    color: #ef4444;
}

/* === Icon Spacing === */
.icon-left {
    margin-right: 8px;
}

.icon-right {
    margin-left: 8px;
}

/* === Badge Icons === */
.badge .fas {
    margin-right: 4px;
    font-size: 0.9em;
}

/* === Menu Icons === */
#menu .fas,
#menu .far {
    margin-right: 10px;
    color: #0891b2;
    font-size: 1.1em;
}

#menu a:hover .fas,
#menu a:hover .far {
    color: #06b6d4;
    transform: translateX(3px);
}

/* === Breadcrumb Icons === */
.breadcrumb .fas {
    color: #94a3b8;
    font-size: 0.85em;
    margin: 0 6px;
}

/* === Loading States === */
.loading .fas {
    animation: iconRotate 1s linear infinite;
    color: #6366f1;
}

/* === Icon Gradients === */
.icon-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Icon Shadows === */
.icon-shadow {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.icon-shadow-lg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* === Responsive Icon Sizes === */
@media screen and (max-width: 768px) {
    .navbar .fas,
    .navbar .far {
        font-size: 1.1em;
    }
    
    .export_div .fas {
        font-size: 1.2em;
    }
    
    #menu .fas,
    #menu .far {
        font-size: 1em;
    }
}

/* === Icon Combinations === */
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.icon-text .fas,
.icon-text .far {
    flex-shrink: 0;
}

/* === Special Effects === */
.icon-glow {
    text-shadow: 0 0 8px currentColor;
}

.icon-3d {
    text-shadow: 
        1px 1px 0 rgba(0,0,0,0.1),
        2px 2px 0 rgba(0,0,0,0.08),
        3px 3px 0 rgba(0,0,0,0.06);
}

/* === Icon States === */
.icon-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.icon-active {
    color: #10b981;
    animation: iconPulse 1.5s infinite;
}

/* ========================================
   SIMPLE THEME - ADVANCED ICON EFFECTS
   ======================================== */

/* === Advanced Icon Animations === */
@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes iconFlip {
    0% { transform: perspective(400px) rotateY(0); }
    100% { transform: perspective(400px) rotateY(360deg); }
}

@keyframes iconTada {
    0% { transform: scale(1) rotate(0deg); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

@keyframes iconHeartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes iconRubberBand {
    0% { transform: scale(1); }
    30% { transform: scaleX(1.25) scaleY(0.75); }
    40% { transform: scaleX(0.75) scaleY(1.25); }
    50% { transform: scaleX(1.15) scaleY(0.85); }
    65% { transform: scaleX(0.95) scaleY(1.05); }
    75% { transform: scaleX(1.05) scaleY(0.95); }
    100% { transform: scale(1); }
}

@keyframes iconShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 2px currentColor); }
    50% { filter: drop-shadow(0 0 10px currentColor); }
}

/* === Apply Advanced Animations === */
.fa-heart:hover {
    animation: iconHeartbeat 1.3s infinite;
    color: #ef4444;
}

.fa-star:hover {
    animation: iconTada 1s;
    color: #f59e0b;
}

.fa-thumbs-up:hover {
    animation: iconWiggle 0.6s;
    color: #10b981;
}

.fa-certificate:hover,
.fa-award:hover {
    animation: iconFlip 0.8s;
    color: #8b5cf6;
}

.fa-rocket:hover {
    animation: iconFloat 2s infinite;
    color: #3b82f6;
}

.fa-exclamation-circle:hover,
.fa-exclamation-triangle:hover {
    animation: iconShake 0.5s;
    color: #f59e0b;
}

/* === Icon Backdrop Effects === */
.list tr:hover .fas,
.list tr:hover .far {
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* === Icon Border Effects === */
.icon-bordered {
    border: 2px solid currentColor;
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.icon-bordered:hover {
    border-width: 3px;
    padding: 10px;
    transform: rotate(180deg);
}

/* === Icon with Background Pulse === */
.icon-pulse-bg {
    position: relative;
}

.icon-pulse-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.3;
    animation: iconPulseBg 2s infinite;
}

@keyframes iconPulseBg {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* === Duotone Icon Effect === */
.icon-duotone {
    position: relative;
    color: #0891b2;
}

.icon-duotone::after {
    content: attr(data-icon);
    position: absolute;
    left: 2px;
    top: 2px;
    color: #f59e0b;
    opacity: 0.5;
    z-index: -1;
}

/* === Icon Stack Effects === */
.fa-layers {
    display: inline-block;
    height: 1em;
    line-height: 1;
    position: relative;
    vertical-align: middle;
    width: 1.25em;
}

/* === Notification Badge on Icons === */
.icon-notify {
    position: relative;
}

.icon-notify::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: iconPulse 2s infinite;
}

/* === Icon Morphing === */
.icon-morph {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-morph:hover {
    transform: scale(1.3) rotate(20deg);
}

/* === Navigation Menu Icon Enhancements === */
#menu li:hover .fas,
#menu li:hover .far {
    animation: iconRubberBand 0.8s;
}

/* === Icon Rainbow Effect === */
@keyframes iconRainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.icon-rainbow:hover {
    animation: iconRainbow 3s infinite linear;
}

/* === Icon Neon Glow === */
.icon-neon {
    color: #06b6d4;
    text-shadow: 
        0 0 5px #06b6d4,
        0 0 10px #06b6d4,
        0 0 20px #06b6d4,
        0 0 40px #0891b2;
    animation: iconNeonFlicker 3s infinite;
}

@keyframes iconNeonFlicker {
    0%, 100% { opacity: 1; }
    41%, 43%, 45% { opacity: 0.8; }
    42%, 44% { opacity: 1; }
}

/* === Icon Bubble Effect === */
.icon-bubble {
    position: relative;
    transition: all 0.3s ease;
}

.icon-bubble:hover {
    transform: scale(1.2);
}

.icon-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.3);
    transition: width 0.4s ease, height 0.4s ease;
}

.icon-bubble:hover::before {
    width: 200%;
    height: 200%;
}

/* === Icon Flip Card === */
.icon-flip {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.icon-flip:hover {
    transform: rotateY(180deg);
}

/* === Icon Zoom === */
.icon-zoom:hover {
    animation: iconZoom 0.5s;
}

@keyframes iconZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* === Icon Swing === */
.icon-swing:hover {
    animation: iconSwing 1s;
    transform-origin: top center;
}

@keyframes iconSwing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* === Icon Jello === */
.icon-jello:hover {
    animation: iconJello 0.9s;
}

@keyframes iconJello {
    11.1% { transform: none; }
    22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
    33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
    44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
    55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
    66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
    77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
    88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
    100% { transform: none; }
}

/* === Theme-Specific Icon Colors === */
.btn-primary:hover .fas,
.btn-primary:hover .far {
    animation: iconGlow 1.5s infinite;
    color: #bfdbfe;
}

.badge:hover .fas,
.badge:hover .far {
    animation: iconWiggle 0.5s;
}

/* === Action Icons with Special Effects === */
.fa-save:hover {
    animation: iconFloat 2s infinite;
    color: #10b981;
}

.fa-trash:hover,
.fa-trash-alt:hover {
    animation: iconShake 0.5s;
    color: #dc2626;
}

.fa-search:hover {
    animation: iconZoom 0.8s;
    color: #6366f1;
}

.fa-filter:hover {
    animation: iconRubberBand 0.8s;
    color: #8b5cf6;
}

.fa-download:hover {
    animation: iconFloat 2s ease-in-out infinite;
    color: #059669;
}

.fa-upload:hover {
    animation: iconFloat 2s ease-in-out infinite reverse;
    color: #0891b2;
}

.fa-refresh:hover,
.fa-sync-alt:hover {
    animation: iconRotate 1s linear infinite;
    color: #3b82f6;
}

/* === Dashboard Specific Icons === */
.dashboard .card:hover .fas,
.dashboard .card:hover .far {
    animation: iconTada 0.8s;
    filter: brightness(1.3);
}

/* === Table Row Icons === */
.list tbody tr:hover .fa-edit {
    color: #3b82f6;
    animation: iconWiggle 0.5s;
}

.list tbody tr:hover .fa-trash {
    color: #ef4444;
    animation: iconShake 0.5s;
}

.list tbody tr:hover .fa-eye {
    color: #8b5cf6;
    animation: iconZoom 0.5s;
}

/* === Icon Gradient Hover === */
.icon-gradient-hover {
    transition: all 0.3s ease;
}

.icon-gradient-hover:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconGradientMove 3s infinite;
}

@keyframes iconGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === Success/Error Icon Feedback === */
.fa-check.icon-success {
    animation: iconHeartbeat 0.8s, iconGlow 2s infinite;
    color: #10b981;
}

.fa-times.icon-error {
    animation: iconShake 0.5s, iconGlow 2s infinite;
    color: #ef4444;
}

/* === Loading Icon Variants === */
.fa-spinner.icon-loading {
    animation: iconRotate 0.8s linear infinite;
    color: #6366f1;
}

.fa-circle-notch.icon-loading {
    animation: iconRotate 1.2s linear infinite;
    color: #0891b2;
}

.fa-cog.icon-loading {
    animation: iconRotate 2s linear infinite;
    color: #64748b;
}

/* === Social Media Icons === */
.fa-facebook:hover {
    color: #1877f2;
    animation: iconBounce 0.8s;
}

.fa-twitter:hover {
    color: #1da1f2;
    animation: iconFloat 2s infinite;
}

.fa-linkedin:hover {
    color: #0a66c2;
    animation: iconRubberBand 0.8s;
}

.fa-youtube:hover {
    color: #ff0000;
    animation: iconHeartbeat 1.5s;
}

.fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconTada 1s;
}

/* === Icon Size Variants with Effects === */
.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-lg { font-size: 1.25em; }
.fa-xl { font-size: 1.5em; }
.fa-2xl { font-size: 2em; }

/* === Icon Stroke Effect === */
.icon-stroke {
    color: transparent;
    -webkit-text-stroke: 2px #0891b2;
    text-stroke: 2px #0891b2;
    transition: all 0.3s ease;
}

.icon-stroke:hover {
    color: #0891b2;
    -webkit-text-stroke: 0px;
    text-stroke: 0px;
}

/* === Icon Shadow Variants === */
.icon-shadow-sm {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.icon-shadow-md {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.icon-shadow-lg {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

.icon-shadow-xl {
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25));
}

/* === Icon Reflection Effect === */
.icon-reflect {
    position: relative;
}

.icon-reflect::after {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    top: 100%;
    transform: scaleY(-1);
    opacity: 0.2;
    filter: blur(2px);
}

/* === Icon Tooltip Enhancement === */
[data-tooltip]:hover .fas,
[data-tooltip]:hover .far {
    animation: iconBounce 0.8s;
    color: #f59e0b;
}

/* === Contextual Icon Colors by Section === */
.card-primary .fas { color: #3b82f6; }
.card-success .fas { color: #10b981; }
.card-warning .fas { color: #f59e0b; }
.card-danger .fas { color: #ef4444; }
.card-info .fas { color: #06b6d4; }

/* === Icon Hover Lift Effect === */
.icon-lift:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

/* === Icon Ripple Effect === */
@keyframes iconRipple {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

.icon-ripple {
    animation: iconRipple 2s infinite;
}

/* === Icon Diagonal Slide === */
.icon-diagonal:hover {
    transform: translate(3px, -3px);
    transition: transform 0.3s ease;
}

/* === Special Theme Icons === */
.SectionHeader:hover .fas {
    animation: iconFloat 2s infinite;
    transform-origin: center;
}

/* === Icon Breathing Effect === */
@keyframes iconBreathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.icon-breathe {
    animation: iconBreathe 3s infinite ease-in-out;
}

/* === Mobile Responsive Icon Adjustments === */
@media screen and (max-width: 768px) {
    .fas, .far, .fab, .fa {
        font-size: 0.95em;
    }
    
    .icon-circle, .icon-square {
        width: 35px;
        height: 35px;
    }
    
    /* Disable heavy animations on mobile */
    .icon-rainbow:hover,
    .icon-neon {
        animation: none;
    }
}

/* === Print-friendly Icons === */
@media print {
    .fas, .far, .fab, .fa {
        color: #000000 !important;
        text-shadow: none !important;
        filter: none !important;
        animation: none !important;
    }
}
