@CHARSET "UTF-8";

/* =========================================
   BUSINESS THEME - Professional Corporate Design
   Color Scheme: Deep Navy, Gold Accents, Clean Whites
   ========================================= */

/* === BASE STYLES === */
ol, ul, li { margin: 0; padding: 0; }
ul li { list-style-type: none; }

input, select { margin: 1px; }
select { padding: 4px 4px 5px; }

/* === TABLE HEADERS === */
.plainHead td, .squareHead td, .squareSubHead td {
    text-align: center;
    height: 25px;
    font-weight: bold;
    color: #1a1a2e;
    margin: 0;
    padding: 0 3px 0 4px;
    vertical-align: middle;
}

.plainHead { background-color: #f5f7fa; }
.plainHead td { border-top: 1px solid #c9d1db; border-right: 1px solid #c9d1db; border-bottom: 1px solid #c9d1db; padding: 4px; }
.plainHead td.left { border-left: 1px solid #c9d1db; }
.plainHead td.right { border-right: 1px solid #c9d1db; }

.squareHead td { border-top: 1px solid #c9d1db; border-right: 1px solid #c9d1db; border-bottom: 1px solid #c9d1db; padding: 4px; background-color: #e8edf3; }
.squareHead td.left { border-left: 1px solid #c9d1db; }
.squareHead td.right { border-right: 1px solid #c9d1db; }
.squareSubHead td { border-bottom: 1px solid #c9d1db; border-right: 1px solid #c9d1db; border-bottom: 1px solid #c9d1db; padding: 4px; background-color: #f8f9fb; }
.squareSubHead td.left { border-left: 1px solid #c9d1db; }
.squareSubHead td.right { border-right: 1px solid #c9d1db; }

/* === SECTION HEADERS === */
.SectionHeader {
    margin: 16px 0px 20px;
    text-align: left;
}

.SectionHeader h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
    letter-spacing: 0.3px;
}

.SectionHeader h3 i {
    font-size: 18px;
    color: #d4af37;
    margin-right: 10px;
}

.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: #16a34a; margin: 0px; }

/* === ERROR AND SUCCESS MESSAGES === */
.error {
    color: #dc2626;
    font-weight: 600;
}

.success {
    color: #16a34a;
    font-weight: 600;
}

.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 15px;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 5px solid #dc2626;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 5px solid #16a34a;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 5px solid #d97706;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #2563eb;
}

.alert-icon {
    margin-right: 15px;
    padding-top: 2px;
}

.alert-danger .alert-icon i {
    color: #dc2626;
}

.alert-success .alert-icon i {
    color: #16a34a;
}

.alert-warning .alert-icon i {
    color: #d97706;
}

.alert-info .alert-icon i {
    color: #2563eb;
}

.alert-content {
    flex: 1;
    color: #1a1a2e;
}

.alert-heading {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #0f0f1e;
}

.alert-danger .alert-heading {
    color: #991b1b;
}

.alert-success .alert-heading {
    color: #166534;
}

.alert-warning .alert-heading {
    color: #92400e;
}

.alert-info .alert-heading {
    color: #1e3a8a;
}

.alert .close {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    color: #6b7280;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 0 8px;
    margin: -4px 0 0 0;
}

.alert .close:hover {
    opacity: 1;
    color: #1f2937;
}

/* === LEFT MENU SIDEBAR === */
#left_menu_sec { padding: 0px 2px 0px 0px; }
#left_menu_sec .navbar {
    padding: 0px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}
#left_menu_sec .navbar-toggler {
    margin: 4px;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
#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(212, 175, 55, 0.1);
}
#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(212, 175, 55, 0.1);
    color: #e8e8e8;
    padding: 14px 10px;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.3) 100%);
    transition: all 0.3s ease;
    font-weight: 500;
    margin-left: 2px;
}

.tab:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-left: 4px solid #d4af37;
    padding-left: 12px;
}

.tab a {
    color: #e8e8e8;
    font-size: 16px;
}

.tab i {
    margin-right: 10px;
    color: #d4af37;
    transition: transform 0.3s ease;
}

#subui {
    background: linear-gradient(180deg, #0f1419 0%, #0a0e13 100%);
}

#subui li {
    background-color: transparent;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    padding: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

#subui li:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
    border-left: 3px solid #d4af37;
}

#subui a {
    font-size: 15px;
    font-weight: 400;
    color: #c5c5c5;
    transition: color 0.2s ease;
    display: block;
    padding: 10px 14px 10px 14px;
}

#subui a:hover {
    color: #ffffff;
}

#subui a:before {
    font-weight: 900;
    content: "\f0c1";
    margin-right: 10px;
    color: #d4af37;
    font-size: 12px;
}

#subui a.menu_active, #subui li.menu_active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

#subui a.menu_active {
    font-weight: 700;
    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 INDICATORS === */
#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 #e5e7eb;
}

#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 #e5e7eb;
}

#loading_content_frame {
    width: 700px;
    height: 300px;
    background: url('../../../images/ajax-loader.gif') center center no-repeat;
    z-index: 5;
}

/* === PAGINATION === */
.pagingdiv {
    width: 320px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: right;
    float: right;
}

.pagingdiv a:hover {
    background-color: white;
    color: black;
}

.green { color: #16a34a; }
.red { color: #dc2626; }

/* === NOTES === */
.note {
    margin: 15px 0;
    text-align: center;
    background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
    vertical-align: middle;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-height: 20px;
    height: auto !important;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.6;
}

.note A:HOVER {
    color: #000000;
}

.notesuccess {
    text-align: left;
    color: #166534;
    font-weight: 600;
}

.noteleft {
    text-align: left;
    color: #1a1a2e;
    background: linear-gradient(135deg, #fef9f3 0%, #fef2dc 100%);
    border-left: 5px solid #d4af37;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.15);
    font-size: 15px;
    line-height: 1.7;
}

.notefailed {
    text-align: left;
    color: #991b1b;
    font-weight: 600;
}

.dirmsg {
    margin: 15px 0;
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 5px solid #d1d5db;
    background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.6;
}

.dirmsg .error {
    color: #991b1b;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.dirmsg .error::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 17px;
}

.dirmsg .success {
    color: #166534;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dirmsg .success::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
    font-size: 19px;
    color: #16a34a;
    filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.3));
}

.dirmsg:has(.error) {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left-color: #dc2626;
}

.dirmsg:has(.success) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left-color: #16a34a;
}

.dirmsg a {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    vertical-align: baseline;
    display: inline;
}

.dirmsg a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* === SUMMARY TABLE === */
.summary { border: 1px solid #c9d1db; }
.summary td, .summary th { padding: 2px 5px; height: 30px; }
.summary .topheader {
    background-color: #e8edf3;
    color: #000000;
    margin: 0;
    padding: 1px 1px 1px 1px;
    font-weight: bold;
    border: none;
    text-align: center;
}
.summary .subheader {
    background-color: #f4f6f9;
    color: #000000;
    margin: 0;
    padding: 1px 1px 1px 5px;
    font-weight: bold;
    border-left: 1px solid #c9d1db;
    text-align: center;
}
.summary .subheaderdark {
    background-color: #d6dce5;
    color: #000000;
    margin: 0;
    padding: 1px 1px 1px 5px;
    font-weight: bold;
    border-left: 1px solid #c9d1db;
    text-align: center;
}
.summary .content {
    color: #000000;
    margin: 0;
    padding: 1px 1px 1px 5px;
    text-align: left;
    border-left: 1px solid #c9d1db;
    border-top: 1px solid #c9d1db;
}
.summary .contentmid {
    color: #000000;
    margin: 0;
    padding: 1px 1px 1px 5px;
    text-align: center;
    border-left: 1px solid #c9d1db;
    border-top: 1px solid #c9d1db;
}

fieldset {
    margin: 10px 0px;
    border-bottom: 1px #9ca3af dotted;
}

legend {
    color: #1a1a2e;
    font-size: 24px;
    margin-top: 6px;
    font-weight: 600;
}

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: 6px;
    color: #d4af37;
}

#home_screen legend { display: none; }
#home_screen, #support_screen {
    margin: 14px;
    border: 3px solid #f3f4f6;
    padding: 0px 26px;
    background: #fafafa;
}
#support_screen fieldset { border-bottom: 1px #9ca3af 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: #1a1a2e;
    font-size: 20px;
    margin: 20px 0px;
    font-weight: 600;
}

.infobox h1:before {
    font-weight: 900;
    content: "\f0a4";
    margin-right: 6px;
    color: #d4af37;
}

#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 (DATA TABLES) === */
.summary_tab {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.summary_tab .topheader {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #d4af37;
    border: none 0px;
}

.summary_tab th {
    background: linear-gradient(90deg, #2a2a3e 0%, #26314e 100%);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid #f9fafb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
    padding: 11px;
    text-align: center;
}

.summary_tab td {
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    color: #1f2937;
    font-size: 16px;
    margin: 0;
    padding: 10px 12px;
    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: #f9fafb;
}

.summary_tab tr:hover {
    background: linear-gradient(90deg, #fef9f3 0%, #fef5e7 100%) !important;
    transform: scale(1.001);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.summary A { text-decoration: none; }

#subcontmed {
    border: 1px solid #c9d1db;
    text-align: center;
    padding: 10px;
}

/* === REPORT HEAD === */
.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: #f3f4f6; 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 #d1d5db;
    background-color: #f3f4f6;
}

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: #e5e7eb; }
div.tab button.active { background-color: #d1d5db; }

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-top: none;
}

/* === CUSTOM TAB & LIST TABLES === */
#cust_tab, .list {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#cust_tab td, #cust_tab th, .list td, .list th {
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 10px 12px;
    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: #f9fafb;
}

#cust_tab tr:hover, .list tr:hover {
    background: linear-gradient(90deg, #fef9f3 0%, #fef5e7 100%) !important;
    transform: scale(1.001);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.list tr.listHead:hover {
    background: linear-gradient(90deg, #2a2a3e 0%, #26314e 100%) !important;
    transform: none;
}

#cust_tab th, .list .listHead td, .list .listHead th {
    text-align: center;
    background: linear-gradient(90deg, #2a2a3e 0%, #26314e 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 11px 12px;
    border-bottom: 2px solid #d4af37;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.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, #1a1a2e 0%, #16213e 100%);
    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: #4b5563;
    margin: 0px;
    padding-left: 5px;
    padding-bottom: 4px;
}

#cust_tab td {
    font-size: 16px;
    text-align: center;
}

.list td {
    color: #1f2937;
    font-size: 16px;
    text-align: center;
}

/* For 2-column tables */
#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: 600;
}

#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 */
#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: 600;
}

.list td input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.list td a {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.list td a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

#cust_tab th a {
    color: #ffffff;
    text-decoration: none;
}

#cust_tab th a:hover {
    color: #ffffff;
    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: #16a34a;
}

.tablesorter th.headerSortDown::after {
    content: "\f0dd";
    opacity: 1;
    color: #dc2626;
}

.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: #1a1a2e; }
.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: 12px 18px;
    min-height: 58px;
}

.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; }

#navbarSupportedContent .navbar-nav .nav-link {
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

#navbarSupportedContent .navbar-nav .nav-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-radius: 8px;
}

#navbarSupportedContent .navbar-nav .nav-item.active .nav-link {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    font-weight: 700;
}

#navbarSupportedContent .navbar-nav .nav-link i {
    font-size: 15px;
    margin-right: 7px;
}

#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: 10px 22px;
    margin-top: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-sp > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-sp A {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 3px 8px;
    border-radius: 5px;
}

.footer-sp A:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #ffffff;
}

#powered {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

@media screen and (max-width: 768px) {
    .footer-sp {
        flex-direction: column;
        text-align: center;
        padding: 12px 16px;
        gap: 10px;
    }

    .footer-sp > div {
        justify-content: center;
    }
}

/* === ALERT NOTIFICATION SECTION === */
#alert_noti_sec {
    margin-left: 10px;
    position: relative;
}

#alert_noti_sec A.dropdown-toggle {
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#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(212, 175, 55, 0.2);
    transform: scale(1.05);
}

#alert_noti_sec A.dropdown-toggle i {
    font-size: 22px;
    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: 14px;
    padding: 0;
    font-size: 13px;
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.3);
    background: #ffffff;
}

#alert_noti_sec .dropdown-menu-right {
    right: -16px;
}

#alert_noti_sec .dropdown-menu::before {
    content: "Notifications";
    display: block;
    padding: 18px 22px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 14px 14px 0 0;
    border-bottom: 3px solid #d4af37;
}

#alert_noti_sec .dropdown-menu li {
    padding: 18px 22px;
    margin: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

#alert_noti_sec .dropdown-menu li:hover {
    background: linear-gradient(90deg, #fef9f3 0%, #fef5e7 100%);
    transform: translateX(5px);
    border-left: 4px solid #d4af37;
}

#alert_noti_sec .dropdown-menu li:last-child {
    border-bottom: none;
    border-radius: 0 0 14px 14px;
}

#alert_noti_sec .dropdown-menu li:first-of-type {
    margin-top: 0;
}

#alert_noti_sec .dropdown-menu A {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: block;
    line-height: 1.7;
    transition: color 0.2s ease;
}

#alert_noti_sec .dropdown-menu A:hover {
    color: #1a1a2e;
}

#alert_noti_sec .dropdown-menu li > i {
    color: #d4af37;
    margin-right: 14px;
    font-size: 19px;
    float: left;
}

/* Empty state */
#alert_noti_sec .dropdown-menu .no-alerts {
    padding: 45px 22px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

#alert_noti_sec .dropdown-menu .no-alerts i {
    font-size: 52px;
    color: #d1d5db;
    margin-bottom: 14px;
    display: block;
}

/* Badge Count */
#alert_noti_sec .count {
    font-size: 11px;
    font-weight: 700;
    border-radius: 14px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 5px 9px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: -8px;
    left: auto;
    right: -10px;
    position: absolute;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(220, 38, 38, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 5px 15px rgba(220, 38, 38, 0.7);
    }
}

/* Scrollbar styling */
#alert_noti_sec .dropdown-menu::-webkit-scrollbar {
    width: 10px;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 14px 14px 0;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 5px;
}

#alert_noti_sec .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0f0f1e 0%, #0a0e13 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 #f3f4f6;
    padding: 26px;
    margin: 18px 0px;
    background: #fafafa;
}
.public_head { margin: 18px 0px; }

.export_div { float: left; margin: 0px; padding-left: 1px; }
.export_div a { font-size: 18px; margin-right: 10px; }

.dashboard { margin-top: 20px; }
.dashboard .SectionHeader { margin: 18px 0px 0px; }

/* === DIALOG STYLING === */
.ui-dialog {
    border-radius: 14px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35) !important;
    border: none !important;
    overflow: hidden !important;
}

.ui-dialog .ui-button {
    outline: none;
}

.ui-dialog-titlebar {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1419 100%) !important;
    border: none !important;
    padding: 18px 24px !important;
    border-radius: 0 !important;
}

.ui-dialog-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ui-dialog-titlebar-close {
    background: rgba(212, 175, 55, 0.2) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    width: 34px !important;
    height: 34px !important;
}

.ui-dialog-titlebar-close:hover {
    background: rgba(212, 175, 55, 0.35) !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: 19px;
    color: #d4af37;
    display: block;
    text-align: center;
    line-height: 32px;
}

.ui-dialog-content {
    padding: 24px !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.6);
    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: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    min-width: 420px;
    max-width: 520px;
    z-index: 10000;
    animation: slideDown 0.3s ease;
}

.sp-confirm-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 10px 10px 0 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.sp-confirm-header i {
    margin-right: 12px;
    font-size: 20px;
    color: #d4af37;
}

.sp-confirm-body {
    padding: 28px 24px;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.7;
}

.sp-confirm-footer {
    padding: 18px 24px;
    border-top: 1px solid #d1d5db;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-radius: 0 0 10px 10px;
}

.sp-confirm-btn {
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 90px;
}

.sp-confirm-btn-cancel {
    background: #d1d5db;
    color: #4b5563;
}

.sp-confirm-btn-cancel:hover {
    background: #9ca3af;
}

.sp-confirm-btn-confirm {
    background: linear-gradient(180deg, #1a1a2e, #0f1419);
    color: #ffffff;
    box-shadow: 0 3px 6px rgba(26, 26, 46, 0.4);
}

.sp-confirm-btn-confirm:hover {
    background: linear-gradient(180deg, #0f1419, #0a0e13);
    box-shadow: 0 5px 10px rgba(15, 20, 25, 0.5);
}

@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: #c1c5c9;
    color: #1f2937;
    margin-left: 2px;
}
.sub_menu_link:hover { color: black; }

/* === LOGIN PAGE STYLES === */
.login-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 70px;
    margin-bottom: 70px;
    border: 1px solid #d1d5db;
}

.login-header {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    padding: 45px 35px 35px;
    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(212,175,55,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.login-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
}

.login-icon i {
    font-size: 40px;
    color: #d4af37;
}

.login-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.login-subtitle {
    color: #c5c5c5;
    font-size: 16px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 45px 35px 35px;
}

.login-label {
    color: #1f2937;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.login-label i {
    color: #d4af37;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.login-input {
    height: 52px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.login-input:focus {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.12);
    outline: none;
}

.forgot-link {
    color: #d4af37;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.forgot-link:hover {
    color: #1a1a2e;
    text-decoration: none;
}

.forgot-link i {
    font-size: 13px;
}

.btn-login {
    width: 100%;
    height: 54px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 12px;
    box-shadow: 0 5px 15px rgba(26, 26, 46, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #1a1a2e, #0f1419);
    border-color: #0a0e13 !important;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.5);
}

.btn-login i {
    font-size: 19px;
}

.register-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #d1d5db;
    text-align: center;
}

.register-text {
    color: #4b5563;
    font-size: 15px;
    margin-right: 10px;
}

.register-link {
    color: #d4af37;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.register-link:hover {
    color: #1a1a2e;
    text-decoration: none;
}

.register-link i {
    font-size: 15px;
}

.login-footer {
    background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
    padding: 24px 35px;
    border-top: 1px solid #d1d5db;
}

.footer-text {
    color: #4b5563;
    font-size: 14px;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-text i {
    color: #16a34a;
    font-size: 15px;
}

@media screen and (max-width: 576px) {
    .login-card {
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 14px;
    }

    .login-header {
        padding: 35px 24px 24px;
    }

    .login-icon {
        width: 75px;
        height: 75px;
    }

    .login-icon i {
        font-size: 34px;
    }

    .login-title {
        font-size: 26px;
    }

    .login-subtitle {
        font-size: 15px;
    }

    .login-body {
        padding: 35px 24px 24px;
    }

    .login-footer {
        padding: 18px 24px;
    }
}

/* === REGISTER PAGE STYLES === */
.register-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 45px;
    margin-bottom: 45px;
    border: 1px solid #d1d5db;
}

.register-header {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
    padding: 45px 35px 35px;
    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.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.register-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 1;
}

.register-icon i {
    font-size: 40px;
    color: #ffffff;
}

.register-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.register-subtitle {
    color: #bbf7d0;
    font-size: 16px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.register-body {
    padding: 45px 35px 35px;
}

.register-section-title {
    color: #0f0f1e;
    font-size: 19px;
    font-weight: 700;
    margin: 35px 0 24px 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-section-title:first-child {
    margin-top: 0;
}

.register-section-title i {
    color: #16a34a;
    font-size: 22px;
}

.register-label {
    color: #1f2937;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.register-label i {
    color: #16a34a;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.register-input {
    height: 52px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.register-input:focus {
    border-color: #16a34a;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
    outline: none;
}

.pricing-link {
    color: #16a34a;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pricing-link:hover {
    color: #15803d;
    text-decoration: none;
}

.pricing-link i {
    font-size: 13px;
}

.captcha-wrapper {
    margin: 14px 0;
    display: flex;
    justify-content: flex-start;
}

.captcha-image {
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
    background: #f9fafb;
}

.register-actions {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid #d1d5db;
}

.btn-register-cancel {
    flex: 1;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-register-submit {
    flex: 2;
    height: 54px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #16a34a, #15803d);
    border-color: #166534 !important;
}

.btn-register-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5);
    background: linear-gradient(180deg, #15803d, #166534);
}

.register-footer {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 24px 35px;
    border-top: 1px solid #d1d5db;
    text-align: center;
}

.register-footer .footer-text {
    color: #4b5563;
    font-size: 15px;
    margin: 0;
}

.register-footer .login-link {
    color: #16a34a;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 7px;
}

.register-footer .login-link:hover {
    color: #15803d;
    text-decoration: none;
}

.register-footer .login-link i {
    font-size: 15px;
}

@media screen and (max-width: 768px) {
    .register-card {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .register-header {
        padding: 35px 24px 24px;
    }

    .register-icon {
        width: 75px;
        height: 75px;
    }

    .register-icon i {
        font-size: 34px;
    }

    .register-title {
        font-size: 26px;
    }

    .register-subtitle {
        font-size: 15px;
    }

    .register-body {
        padding: 35px 24px 24px;
    }

    .register-section-title {
        font-size: 17px;
    }

    .register-actions {
        flex-direction: column;
    }

    .btn-register-cancel,
    .btn-register-submit {
        flex: 1;
        width: 100%;
    }

    .register-footer {
        padding: 18px 24px;
    }
}

/* === FORGOT PASSWORD PAGE STYLES === */
.forgot-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 70px;
    margin-bottom: 70px;
    border: 1px solid #d1d5db;
}

.forgot-header {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 50%, #9a3412 100%);
    padding: 45px 35px 35px;
    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.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.forgot-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 1;
}

.forgot-icon i {
    font-size: 40px;
    color: #ffffff;
}

.forgot-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.forgot-subtitle {
    color: #fed7aa;
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.forgot-body {
    padding: 45px 35px 35px;
}

.forgot-label {
    color: #1f2937;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.forgot-label i {
    color: #ea580c;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.forgot-input {
    height: 52px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.forgot-input:focus {
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.12);
    outline: none;
}

.forgot-actions {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid #d1d5db;
}

.btn-forgot-cancel {
    flex: 1;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-forgot-submit {
    flex: 2;
    height: 54px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #ea580c, #c2410c);
    border-color: #9a3412 !important;
}

.btn-forgot-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
    background: linear-gradient(180deg, #c2410c, #9a3412);
}

.forgot-footer {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    padding: 24px 35px;
    border-top: 1px solid #d1d5db;
    text-align: center;
}

.forgot-footer .footer-text {
    color: #4b5563;
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.forgot-footer .footer-text i {
    color: #ea580c;
    font-size: 15px;
}

.forgot-footer .signin-link {
    color: #ea580c;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.forgot-footer .signin-link:hover {
    color: #c2410c;
    text-decoration: none;
}

@media screen and (max-width: 576px) {
    .forgot-card {
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 14px;
    }

    .forgot-header {
        padding: 35px 24px 24px;
    }

    .forgot-icon {
        width: 75px;
        height: 75px;
    }

    .forgot-icon i {
        font-size: 34px;
    }

    .forgot-title {
        font-size: 26px;
    }

    .forgot-subtitle {
        font-size: 15px;
    }

    .forgot-body {
        padding: 35px 24px 24px;
    }

    .forgot-actions {
        flex-direction: column;
    }

    .btn-forgot-cancel,
    .btn-forgot-submit {
        flex: 1;
        width: 100%;
    }

    .forgot-footer {
        padding: 18px 24px;
    }

    .forgot-footer .footer-text {
        font-size: 14px;
    }
}

/* === BUTTON LINKS === */
a.btn, a.btn:hover {
    text-decoration: none !important;
}

/* === PRIMARY === */
.btn-primary {
    background: linear-gradient(180deg, #1a1a2e, #0f1419);
    border-color: #0a0e13 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(26, 26, 46, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
    background: linear-gradient(180deg, #0f1419, #0a0e13);
    border-color: #000000 !important;
    box-shadow: 0 7px 16px rgba(15, 20, 25, 0.5);
    color: #fff !important;
}

/* === SUCCESS === */
.btn-success {
    background: linear-gradient(180deg, #16a34a, #15803d);
    border-color: #166534 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(22, 163, 74, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-success:hover {
    background: linear-gradient(180deg, #15803d, #166534);
    border-color: #14532d !important;
    box-shadow: 0 7px 16px rgba(21, 128, 61, 0.5);
    color: #fff !important;
}

/* === WARNING === */
.btn-warning {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    border-color: #b45309 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-warning:hover {
    background: linear-gradient(180deg, #d97706, #b45309);
    border-color: #92400e !important;
    box-shadow: 0 7px 16px rgba(217, 119, 6, 0.5);
    color: #fff !important;
}

/* === DANGER === */
.btn-danger {
    background: linear-gradient(180deg, #dc2626, #b91c1c);
    border-color: #991b1b !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(220, 38, 38, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-danger:hover {
    background: linear-gradient(180deg, #b91c1c, #991b1b);
    border-color: #7f1d1d !important;
    box-shadow: 0 7px 16px rgba(185, 28, 28, 0.5);
    color: #fff !important;
}

/* === SECONDARY === */
.btn-secondary {
    background: linear-gradient(180deg, #6b7280, #4b5563);
    border-color: #374151 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(107, 114, 128, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-secondary:hover {
    background: linear-gradient(180deg, #4b5563, #374151);
    border-color: #1f2937 !important;
    box-shadow: 0 7px 16px rgba(75, 85, 99, 0.5);
    color: #fff !important;
}

/* === INFO === */
.btn-info {
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
    border-color: #0369a1 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(14, 165, 233, 0.4);
    transition: all 0.2s ease-in-out;
}
.btn-info:hover {
    background: linear-gradient(180deg, #0284c7, #0369a1);
    border-color: #075985 !important;
    box-shadow: 0 7px 16px rgba(2, 132, 199, 0.5);
    color: #fff !important;
}

/* === CARD HEADERS === */
.card-header-gradient-blue {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 5px 15px rgba(26, 26, 46, 0.5);
    padding: 0.6rem 1.2rem;
}

.card-header-gradient-blue h4 {
    color: #ffffff !important;
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.card-header-gradient-green {
    background: linear-gradient(135deg, #166534 0%, #16a34a 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 5px 15px rgba(22, 101, 52, 0.5);
}

.card-header-gradient-green h4 {
    color: #ffffff !important;
    margin: 0;
    font-weight: 700;
}

.card-header-gradient-orange {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 5px 15px rgba(154, 52, 18, 0.5);
}

.card-header-gradient-orange h4 {
    color: #ffffff !important;
    margin: 0;
    font-weight: 700;
}

.card-header-gradient-teal {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.5);
}

.card-header-gradient-teal h4 {
    color: #ffffff !important;
    margin: 0;
    font-weight: 700;
}

/* === ATTRACTIVE NAV TABS === */
.nav-tabs {
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    padding: 8px 8px 0 8px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Main Dashboard Nav */
#main_dashboard_nav {
    background: transparent !important;
    padding: 0 0 0 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 2px solid #d1d5db;
}

#main_dashboard_nav .nav-item {
    margin-bottom: 0;
    margin-right: 8px;
}

#main_dashboard_nav .nav-link {
    border-radius: 8px 8px 0 0;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #1a1a2e;
    border: 1px solid #9ca3af;
    border-bottom: none;
    margin-bottom: -2px;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

#main_dashboard_nav .nav-link:hover {
    background: linear-gradient(135deg, #fef9f3 0%, #fef2dc 100%);
    color: #0f0f1e;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

#main_dashboard_nav .nav-link.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff !important;
    border-color: #0f1419;
    font-weight: 700;
}

#main_dashboard_nav .nav-link.active:hover {
    background: linear-gradient(135deg, #0f1419 0%, #0a0e13 100%);
}

.nav-tabs .nav-item {
    margin-bottom: -3px;
    margin-right: 5px;
}

.nav-tabs .nav-link {
    border-radius: 10px 10px 0 0;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 16px;
    color: #e5e7eb;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1419 100%);
    color: #ffffff !important;
    box-shadow: 0 5px 18px rgba(26, 26, 46, 0.7);
    transform: translateY(-3px);
}

.nav-tabs .nav-link.active:hover {
    background: linear-gradient(135deg, #0f1419 0%, #0a0e13 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 #d1d5db;
}

.nav-tabs-sm .nav-item {
    margin-bottom: 0;
    margin-right: 8px;
}

.nav-tabs-sm .nav-link {
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #1a1a2e;
    border: 1px solid #9ca3af;
    border-bottom: none;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.nav-tabs-sm .nav-link:hover {
    background: linear-gradient(135deg, #fef9f3 0%, #fef2dc 100%);
    color: #0f0f1e;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.nav-tabs-sm .nav-link.active {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    border-color: #166534;
    font-weight: 700;
}

.nav-tabs-sm .nav-link.active:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
}

/* === HOME PAGE STYLES === */
.home-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    padding: 70px 45px;
    border-radius: 14px;
    margin-bottom: 45px;
    box-shadow: 0 15px 40px rgba(15, 20, 25, 0.4);
    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(212,175,55,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: #ffffff;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-title i {
    color: #d4af37;
    margin-right: 14px;
}

.hero-subtitle {
    color: #e8e8e8;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    color: #c5c5c5;
    font-size: 17px;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hero-actions .btn i {
    margin-right: 10px;
}

.btn-outline-primary {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 45px;
    padding-bottom: 18px;
    border-bottom: 4px solid #d4af37;
    display: inline-block;
    width: 100%;
}

.section-title i {
    color: #d4af37;
    margin-right: 14px;
}

/* Features Section */
.features-section {
    margin-bottom: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 36px 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 26, 46, 0.25);
    border-color: #d4af37;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(26, 26, 46, 0.35);
}

.feature-icon i {
    font-size: 36px;
    color: #d4af37;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #fafbfc 0%, #fef9f3 100%);
    padding: 55px 45px;
    border-radius: 14px;
    margin-bottom: 70px;
    border: 1px solid #cbd5e0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.why-card {
    text-align: center;
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.35);
}

.why-icon i {
    font-size: 32px;
    color: #ffffff;
}

.why-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f0f1e;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Resources Section */
.resources-section {
    margin-bottom: 45px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.resource-link:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.35);
}

.resource-link i {
    font-size: 24px;
    color: #d4af37;
    transition: color 0.3s ease;
}

.resource-link:hover i {
    color: #ffffff;
}

.resource-link span {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .home-hero {
        padding: 45px 24px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-section {
        padding: 35px 24px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }
}

/* === CUSTOM BUSINESS THEME ENHANCEMENTS === */

/* Hero Section with Custom Pattern Background */
.home-hero {
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    background-position: center;
}

/* Custom Logo Styling */
.navbar-brand img.business-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Enhanced Buttons with Arrow Icons */
.btn-primary::after,
.btn-success::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url('../images/button-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.btn-primary:hover::after,
.btn-success:hover::after {
    transform: translateX(4px);
}

/* Enhanced Success Messages with Badge */
.alert-success {
    position: relative;
    padding-left: 70px;
}

.alert-success::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-image: url('../images/success-badge.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Enhanced Error Messages with Badge */
.alert-danger {
    position: relative;
    padding-left: 70px;
}

.alert-danger::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-image: url('../images/error-badge.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Professional Table Enhancements */
.summary_tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
}

.summary_tab {
    position: relative;
}

/* Enhanced Section Headers with Decorative Element */
.SectionHeader {
    position: relative;
    padding-left: 18px;
    border-left: 4px solid #d4af37;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    padding: 12px 12px 12px 18px;
    border-radius: 0 8px 8px 0;
}

.SectionHeader::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37 0%, transparent 100%);
}

/* Enhanced Infobox */
.infobox {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.infobox::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1a1a2e 0%, #d4af37 50%, #1a1a2e 100%);
    border-radius: 0 0 10px 10px;
}

/* Professional Badges */
.badge-business {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #d4af37;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid #d4af37;
    box-shadow: 0 3px 8px rgba(26, 26, 46, 0.3);
}

/* Hover Effects for Interactive Elements */
.list tr,
.summary_tab tr,
#cust_tab tr {
    transition: all 0.3s ease;
}

.list tr:hover,
.summary_tab tr:hover,
#cust_tab tr:hover {
    box-shadow: inset 4px 0 0 #d4af37;
}

/* Enhanced Form Controls */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    border: 2px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    outline: none;
}

/* Professional Progress Bars */
.progress {
    height: 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #d1d5db;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(26, 26, 46, 0.4);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Professional Pagination */
.pagination .page-link {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid #d1d5db;
    color: #1a1a2e;
    font-weight: 600;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #fef9f3 0%, #fef2dc 100%);
    border-color: #d4af37;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}

/* Responsive Adjustments for Custom Elements */
@media screen and (max-width: 768px) {
    .alert-success,
    .alert-danger {
        padding-left: 20px;
    }

    .alert-success::before,
    .alert-danger::before {
        display: none;
    }

    .card::before {
        width: 60px;
        height: 60px;
    }
}

/* === ADDITIONAL BUSINESS THEME GRAPHICS === */

/* Login Page Background */
.login-card,
.register-card,
.forgot-card {
    background-image: url('../images/background-login.svg');
    background-size: cover;
    background-position: center;
}

.login-card::before,
.register-card::before,
.forgot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    border-radius: 18px;
    z-index: 0;
}

.login-card > *,
.register-card > *,
.forgot-card > * {
    position: relative;
    z-index: 1;
}

/* Login Shield Icon */
.login-icon img.shield-icon {
    content: url('../images/login-shield.svg');
    width: 120px;
    height: 140px;
}

/* Register Badge Icon */
.register-icon img.badge-icon {
    content: url('../images/register-badge.svg');
    width: 120px;
    height: 120px;
}

/* Action Icons */
.btn.btn-search::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-search.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-export::before,
a.export-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-export.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-add::before,
a.add-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-add.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-edit::before,
a.edit-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-edit.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-delete::before,
a.delete-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-delete.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-report::before,
a.report-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-report.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-share::before,
a.share-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-share.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-print::before,
a.print-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-print.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn.btn-email::before,
a.email-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('../images/icon-email.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Chart Icon for Analytics */
.analytics-widget::before,
.chart-section::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background-image: url('../images/icon-chart.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Ranking Icon */
.ranking-widget::before,
.rank-section::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background-image: url('../images/icon-ranking.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Decorative Dot Pattern Background */
.dashboard,
.home-screen,
.content-wrapper {
    position: relative;
}

.dashboard::before,
.home-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern-dots.svg');
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.dashboard > *,
.home-screen > * {
    position: relative;
    z-index: 1;
}

/* Gold Divider */
.section-divider,
hr.gold-divider {
    border: none;
    height: 20px;
    background-image: url('../images/divider-gold.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 30px 0;
}

/* Enhanced Feature Cards with Icons */
.feature-card.analytics {
    background-image: url('../images/icon-chart.svg');
    background-size: 80px 80px;
    background-position: right 20px top 20px;
    background-repeat: no-repeat;
}

.feature-card.ranking {
    background-image: url('../images/icon-ranking.svg');
    background-size: 80px 80px;
    background-position: right 20px top 20px;
    background-repeat: no-repeat;
}

/* Report Headers */
.report-header {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    border: 2px solid #d1d5db;
}

.report-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background-image: url('../images/divider-gold.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Business Badge Component */
.business-verified {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #d4af37;
    border-radius: 24px;
    color: #d4af37;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.business-verified::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('../images/success-badge.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Icon Helper Classes */
.icon-chart { background-image: url('../images/icon-chart.svg'); }
.icon-ranking { background-image: url('../images/icon-ranking.svg'); }
.icon-search { background-image: url('../images/icon-search.svg'); }
.icon-export { background-image: url('../images/icon-export.svg'); }
.icon-report { background-image: url('../images/icon-report.svg'); }
.icon-add { background-image: url('../images/icon-add.svg'); }
.icon-edit { background-image: url('../images/icon-edit.svg'); }
.icon-delete { background-image: url('../images/icon-delete.svg'); }
.icon-share { background-image: url('../images/icon-share.svg'); }
.icon-print { background-image: url('../images/icon-print.svg'); }
.icon-email { background-image: url('../images/icon-email.svg'); }

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

.icon {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Premium Card Styles with Background Icons */
.premium-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: url('../images/decorative-corner.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

/* Dashboard Widget Icons */
.widget-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.widget-analytics .widget-icon { background-image: url('../images/icon-chart.svg'); }
.widget-ranking .widget-icon { background-image: url('../images/icon-ranking.svg'); }
.widget-reports .widget-icon { background-image: url('../images/icon-report.svg'); }

/* Responsive Image Adjustments */
@media screen and (max-width: 768px) {
    .feature-card.analytics,
    .feature-card.ranking {
        background-size: 50px 50px;
        background-position: right 10px top 10px;
    }

    .widget-icon {
        width: 48px;
        height: 48px;
    }

    .analytics-widget::before,
    .chart-section::before,
    .ranking-widget::before,
    .rank-section::before {
        width: 36px;
        height: 36px;
        margin: 0 auto 12px;
    }
}

/* Print Styles - Hide Decorative Elements */
@media print {
    .dashboard::before,
    .home-screen::before,
    .premium-card::before,
    .feature-card.analytics,
    .feature-card.ranking,
    body::after,
    .section-divider,
    hr.gold-divider {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUSINESS THEME - EXTERNAL ICON LIBRARIES & CUSTOM FONTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* === PROFESSIONAL TYPOGRAPHY === */

/* Apply Inter font to body and most elements */
body,
.btn,
.form-control,
input,
select,
textarea,
.list,
.summary_tab,
#cust_tab,
.alert,
.navbar,
.card {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

/* Playfair Display for headers - elegant serif */
h1, h2, h3, h4, h5, h6,
.SectionHeader h3,
.hero-title,
.section-title,
.login-title,
.register-title,
.forgot-title,
legend,
.card-header h4,
.infobox h1 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* JetBrains Mono for numbers, code, data */
.summary_tab td,
.list td,
#cust_tab td,
.ranking-value,
.metric-number,
code,
pre,
.monospace {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: -0.02em;
}

/* Enhanced readability */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* === ICON LIBRARY UTILITIES === */

/* Font Awesome Icons (Already included) */
.fa-icon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Material Design Icons - prefix: mdi- */
.mdi-icon {
    font-family: "Material Design Icons";
    font-size: 24px;
    line-height: 1;
}

/* Bootstrap Icons - prefix: bi- */
.bi-icon {
    font-family: "bootstrap-icons";
    font-size: 24px;
    line-height: 1;
}

/* Remix Icon - prefix: ri- */
.ri-icon {
    font-family: "remixicon";
    font-size: 24px;
    line-height: 1;
}

/* Icon size variants for all libraries */
.icon-xs { font-size: 12px !important; }
.icon-sm { font-size: 16px !important; }
.icon-md { font-size: 24px !important; }
.icon-lg { font-size: 32px !important; }
.icon-xl { font-size: 48px !important; }
.icon-2xl { font-size: 64px !important; }

/* Icon colors matching business theme */
.icon-gold { color: #d4af37 !important; }
.icon-navy { color: #1a1a2e !important; }
.icon-success { color: #16a34a !important; }
.icon-danger { color: #dc2626 !important; }
.icon-warning { color: #ea580c !important; }
.icon-info { color: #0ea5e9 !important; }
.icon-white { color: #ffffff !important; }
.icon-dark { color: #1f2937 !important; }

/* Icon with gold gradient (for special emphasis) */
.icon-gradient-gold {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ENHANCED BUTTON ICONS WITH EXTERNAL LIBRARIES === */

/* Material Design Icons in buttons */
.btn.mdi-btn::before {
    font-family: "Material Design Icons";
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.btn.btn-search-mdi::before { content: "\F0349"; } /* mdi-magnify */
.btn.btn-add-mdi::before { content: "\F0415"; } /* mdi-plus */
.btn.btn-edit-mdi::before { content: "\F03EB"; } /* mdi-pencil */
.btn.btn-delete-mdi::before { content: "\F01B4"; } /* mdi-delete */
.btn.btn-save-mdi::before { content: "\F0193"; } /* mdi-content-save */
.btn.btn-download-mdi::before { content: "\F01DA"; } /* mdi-download */
.btn.btn-upload-mdi::before { content: "\F0552"; } /* mdi-upload */
.btn.btn-settings-mdi::before { content: "\F0493"; } /* mdi-cog */
.btn.btn-refresh-mdi::before { content: "\F0450"; } /* mdi-refresh */
.btn.btn-chart-mdi::before { content: "\F012A"; } /* mdi-chart-bar */

/* Bootstrap Icons in buttons */
.btn.bi-btn::before {
    font-family: "bootstrap-icons";
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.btn.btn-search-bi::before { content: "\F52A"; } /* search */
.btn.btn-add-bi::before { content: "\F4FE"; } /* plus-circle */
.btn.btn-edit-bi::before { content: "\F4CA"; } /* pencil-square */
.btn.btn-delete-bi::before { content: "\F5DE"; } /* trash */
.btn.btn-save-bi::before { content: "\F26C"; } /* floppy */
.btn.btn-download-bi::before { content: "\F30A"; } /* download */
.btn.btn-chart-bi::before { content: "\F27F"; } /* graph-up */
.btn.btn-gear-bi::before { content: "\F3E5"; } /* gear */

/* Remix Icons in buttons */
.btn.ri-btn::before {
    font-family: "remixicon";
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.btn.btn-search-ri::before { content: "\EB1B"; } /* search-line */
.btn.btn-add-ri::before { content: "\EA13"; } /* add-circle-line */
.btn.btn-edit-ri::before { content: "\EEA7"; } /* edit-line */
.btn.btn-delete-ri::before { content: "\EADA"; } /* delete-bin-line */
.btn.btn-save-ri::before { content: "\F0B7"; } /* save-line */
.btn.btn-download-ri::before { content: "\EAE4"; } /* download-line */
.btn.btn-chart-ri::before { content: "\EB59"; } /* bar-chart-line */

/* === NAVIGATION ICONS WITH EXTERNAL LIBRARIES === */

/* Enhanced sidebar with Material Design Icons */
#menu .tab.mdi-menu::before {
    font-family: "Material Design Icons";
    margin-right: 10px;
    font-size: 24px;
    vertical-align: middle;
    color: #d4af37;
}

#menu .tab.dashboard-mdi::before { content: "\F0425"; } /* mdi-view-dashboard */
#menu .tab.analytics-mdi::before { content: "\F012A"; } /* mdi-chart-line */
#menu .tab.reports-mdi::before { content: "\F022E"; } /* mdi-file-chart */
#menu .tab.settings-mdi::before { content: "\F0493"; } /* mdi-cog */
#menu .tab.users-mdi::before { content: "\F0004"; } /* mdi-account-group */
#menu .tab.websites-mdi::before { content: "\F059F"; } /* mdi-web */
#menu .tab.keywords-mdi::before { content: "\F04F5"; } /* mdi-key-variant */
#menu .tab.ranking-mdi::before { content: "\F13E3"; } /* mdi-trophy */

/* === ICON BADGES === */

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #d4af37;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
    transition: all 0.3s ease;
}

.icon-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(26, 26, 46, 0.5);
}

.icon-badge.badge-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a2e;
}

.icon-badge.badge-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
}

.icon-badge.badge-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

/* Icon badge sizes */
.icon-badge.badge-sm { width: 32px; height: 32px; font-size: 16px; }
.icon-badge.badge-lg { width: 56px; height: 56px; font-size: 28px; }
.icon-badge.badge-xl { width: 72px; height: 72px; font-size: 36px; }

/* === FEATURE CARDS WITH ICONS === */

.feature-card-enhanced {
    position: relative;
    padding: 32px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #d1d5db;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(26, 26, 46, 0.15);
    border-color: #d4af37;
}

.feature-card-enhanced .feature-icon-large {
    font-size: 64px;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
}

.feature-card-enhanced h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card-enhanced p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

/* === STAT CARDS WITH ICONS === */

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #d1d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #d4af37;
    box-shadow: 0 8px 16px rgba(26, 26, 46, 0.1);
}

.stat-card .stat-icon {
    font-size: 48px;
    color: #d4af37;
    min-width: 48px;
}

.stat-card .stat-content h4 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    font-family: 'JetBrains Mono', monospace;
}

.stat-card .stat-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === ICON LIST === */

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.icon-list li:last-child {
    border-bottom: none;
}

.icon-list li i {
    font-size: 20px;
    color: #d4af37;
    margin-top: 2px;
    min-width: 20px;
}

.icon-list li .content {
    flex: 1;
}

.icon-list li .content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.icon-list li .content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* === ICON HELPERS === */

/* Spinning animation for loading icons */
.icon-spin {
    animation: icon-spin 1s linear infinite;
}

@keyframes icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulsing animation for notification icons */
.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Icon with shadow */
.icon-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Icon with glow effect */
.icon-glow {
    text-shadow: 0 0 10px currentColor;
}

/* === RESPONSIVE ICON ADJUSTMENTS === */

@media screen and (max-width: 768px) {
    .feature-card-enhanced .feature-icon-large {
        font-size: 48px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-card .stat-icon {
        margin-bottom: 12px;
    }

    .icon-badge.badge-lg {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .icon-badge.badge-xl {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* === PRINT STYLES === */

@media print {
    /* Hide decorative icons in print */
    .icon-badge,
    .feature-card-enhanced .feature-icon-large,
    .btn::before {
        display: none !important;
    }
}

/* === ICON LIBRARY SHOWCASE === */

.icon-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 20px;
}

.icon-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-showcase-item:hover {
    border-color: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.icon-showcase-item i {
    font-size: 36px;
    color: #1a1a2e;
}

.icon-showcase-item:hover i {
    color: #d4af37;
}

.icon-showcase-item span {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
}

/* ============================================================================
   BUSINESS THEME: Enhanced Left Menu Styling
   Beautiful design with icons, animations, and professional effects
   ========================================================================= */

/* ----- Left Menu Container ----- */
.business-left-menu {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(212, 175, 55, 0.1);
    padding: 15px 0 !important;
    margin: 10px 0;
}

.business-left-menu.admin-menu {
    background: linear-gradient(180deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%) !important;
}

/* ----- Menu Items ----- */
.business-menu-item {
    position: relative;
    margin: 5px 10px !important;
    padding: 12px 15px !important;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.business-menu-item:hover {
    background: rgba(212, 175, 55, 0.15);
    border-left-color: #d4af37;
    transform: translateX(3px);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.business-menu-item.active,
.business-menu-item:active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-left-color: #f4d03f;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ----- Section Icons (Left Side) ----- */
.business-section-icon {
    font-size: 20px !important;
    color: #d4af37 !important;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
}

.business-menu-item:hover .business-section-icon {
    color: #f4d03f !important;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 3px 8px rgba(244, 208, 63, 0.6));
}

/* ----- Menu Text ----- */
.business-menu-item a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    flex: 1;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.business-menu-item:hover a {
    color: #f4d03f !important;
    text-shadow: 0 0 8px rgba(244, 208, 63, 0.4);
}

/* ----- Chevron Icons (Right Side) ----- */
.business-chevron {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
    margin-left: auto;
}

.business-menu-item:hover .business-chevron {
    color: #d4af37 !important;
    transform: translateX(3px);
}

.business-chevron.mdi-chevron-down {
    color: #d4af37 !important;
    transform: rotate(0deg);
    animation: chevronBounce 0.5s ease;
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ----- Submenu Container ----- */
.business-submenu {
    background: rgba(0, 0, 0, 0.25) !important;
    margin: 5px 10px 10px 10px !important;
    border-radius: 6px;
    overflow: hidden;
    border-left: 3px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.business-submenu ul#subui {
    padding: 8px 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* ----- Submenu Items ----- */
.business-submenu ul#subui li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.business-submenu ul#subui li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 15px 10px 25px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    position: relative;
    border-left: 2px solid transparent;
}

.business-submenu ul#subui li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), transparent);
    transition: width 0.3s ease;
}

.business-submenu ul#subui li a:hover {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border-left-color: #d4af37;
    padding-left: 30px !important;
}

.business-submenu ul#subui li a:hover::before {
    width: 100%;
}

.business-submenu ul#subui li a.menu_active {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #f4d03f !important;
    font-weight: 500 !important;
    border-left-color: #f4d03f;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

/* ----- Submenu Item Icons ----- */
.business-submenu ul#subui li a i.mdi {
    font-size: 16px !important;
    color: rgba(212, 175, 55, 0.8) !important;
    transition: all 0.2s ease;
    min-width: 20px;
}

.business-submenu ul#subui li a:hover i.mdi {
    color: #f4d03f !important;
    transform: scale(1.1);
}

.business-submenu ul#subui li a.menu_active i.mdi {
    color: #f4d03f !important;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ----- Special Admin Menu Styling ----- */
.admin-menu .business-menu-item.admin-item {
    border-left-width: 4px;
}

.admin-menu .business-menu-item.admin-item:hover {
    background: rgba(14, 165, 233, 0.15);
    border-left-color: #0ea5e9;
}

.admin-menu .business-submenu.admin-submenu {
    border-left-color: rgba(14, 165, 233, 0.4);
}

/* ----- Flash/Quick Checker Icon Special Effect ----- */
.business-submenu ul#subui li a i.mdi-flash {
    color: #fbbf24 !important;
    animation: flashGlow 1.5s ease-in-out infinite;
}

@keyframes flashGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 2px #fbbf24);
    }
    50% { 
        filter: drop-shadow(0 0 8px #fbbf24);
    }
}

/* ----- Plus/Add Icon Special Effect ----- */
.business-submenu ul#subui li a:hover i.mdi-plus-circle {
    transform: scale(1.2) rotate(90deg);
}

/* ----- Upload Icon Special Effect ----- */
.business-submenu ul#subui li a:hover i.mdi-upload {
    transform: translateY(-3px);
}

/* ----- Cog/Settings Icon Special Effect ----- */
.business-submenu ul#subui li a:hover i.mdi-cog,
.business-submenu ul#subui li a:hover i.mdi-cog-outline,
.business-submenu ul#subui li a:hover i.mdi-cog-refresh {
    transform: rotate(45deg);
}

/* ----- Chart/Analytics Icon Special Effect ----- */
.business-submenu ul#subui li a:hover i.mdi-chart-line,
.business-submenu ul#subui li a:hover i.mdi-chart-bar,
.business-submenu ul#subui li a:hover i.mdi-chart-areaspline {
    animation: chartBounce 0.5s ease;
}

@keyframes chartBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ----- Menu Divider (Optional) ----- */
.business-menu-item + .business-menu-item {
    margin-top: 8px !important;
}

/* ----- Scrollbar for Long Menus ----- */
.business-left-menu::-webkit-scrollbar {
    width: 6px;
}

.business-left-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.business-left-menu::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 3px;
}

.business-left-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
    .business-menu-item {
        padding: 10px 12px !important;
    }
    
    .business-section-icon {
        font-size: 18px !important;
    }
    
    .business-menu-item a {
        font-size: 13px !important;
    }
    
    .business-submenu ul#subui li a {
        font-size: 12px !important;
        padding: 8px 12px 8px 20px !important;
    }
}

/* ----- Loading Animation for Menu ----- */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.business-menu-item {
    animation: menuFadeIn 0.4s ease backwards;
}

.business-menu-item:nth-child(1) { animation-delay: 0.05s; }
.business-menu-item:nth-child(2) { animation-delay: 0.1s; }
.business-menu-item:nth-child(3) { animation-delay: 0.15s; }
.business-menu-item:nth-child(4) { animation-delay: 0.2s; }
.business-menu-item:nth-child(5) { animation-delay: 0.25s; }
.business-menu-item:nth-child(6) { animation-delay: 0.3s; }
.business-menu-item:nth-child(7) { animation-delay: 0.35s; }
.business-menu-item:nth-child(8) { animation-delay: 0.4s; }

/* ----- Icon Badge for Active Items ----- */
.business-submenu ul#subui li a.menu_active::after {
    content: '';
    position: absolute;
    right: 15px;
    width: 6px;
    height: 6px;
    background: #f4d03f;
    border-radius: 50%;
    box-shadow: 0 0 8px #f4d03f;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* ----- Tooltip Effect (Optional) ----- */
.business-menu-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    padding: 6px 12px;
    background: #1a1a2e;
    color: #f4d03f;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    pointer-events: none;
}

/* ============================================================================
   END: Business Theme Enhanced Left Menu Styling
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Fix Excessive Left Spacing in Menu
   Optimize layout for better space utilization
   ========================================================================= */

/* Remove default left padding/margin from menu container */
#left_menu_sec {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#left_menu_sec .navbar {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Remove excessive padding from menu wrapper */
#menu {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Optimize business menu container spacing */
.business-left-menu {
    padding: 10px 5px !important;
    margin: 5px 0 !important;
}

/* Reduce left margin on menu items */
.business-menu-item {
    margin-left: 5px !important;
    margin-right: 5px !important;
    padding-left: 10px !important;
}

/* Reduce submenu left margin */
.business-submenu {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

/* Optimize submenu item padding */
.business-submenu ul#subui li a {
    padding-left: 15px !important;
}

.business-submenu ul#subui li a:hover {
    padding-left: 20px !important;
}

/* Fix tab class default spacing */
.tab {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Remove default list indentation */
ul#menu,
ul#menu li,
ul#subui,
ul#subui li {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
}

/* Optimize section icon positioning */
.business-section-icon {
    margin-left: 0 !important;
    margin-right: 8px !important;
}

/* Reduce gap in flex layout */
.business-menu-item {
    gap: 8px !important;
}

/* Compact mode for very narrow sidebars */
@media (max-width: 991px) {
    .business-menu-item {
        padding-left: 8px !important;
        margin-left: 3px !important;
    }
    
    .business-submenu ul#subui li a {
        padding-left: 12px !important;
    }
}

/* Remove any inherited left spacing from parent containers */
#left_menu_sec > div,
#left_menu_sec > ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Optimize overall sidebar width usage */
.sidebar,
.left-sidebar,
#sidebar {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Fix potential Bootstrap column padding */
.col-md-2,
.col-lg-2 {
    padding-left: 8px !important;
}

/* ============================================================================
   END: Fix Excessive Left Spacing
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Fix Icon Display Issues
   Ensure all Material Design Icons are visible
   ========================================================================= */

/* Ensure MDI icons are displayed inline */
.mdi,
.mdi-set,
[class^="mdi-"],
[class*=" mdi-"] {
    display: inline-block !important;
    font-family: "Material Design Icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure icons in menu are visible */
.business-menu-item .mdi,
.business-submenu .mdi {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix icon rendering */
.business-section-icon.mdi::before,
.business-chevron.mdi::before,
.business-submenu ul#subui li a i.mdi::before {
    display: inline-block !important;
    content: attr(data-icon) !important;
}

/* Ensure proper spacing for icons */
.business-menu-item i {
    display: inline-block !important;
}

.business-submenu ul#subui li a i {
    display: inline-block !important;
}

/* Override any hiding CSS */
#menu i,
#menu .mdi,
#subui i,
#subui .mdi {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================================================
   END: Fix Icon Display Issues
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Enhanced Icon Display with Fallbacks
   ========================================================================= */

/* Force display for all icon classes */
i[class*="mdi-"] {
    display: inline-block !important;
    font-family: "Material Design Icons" !important;
    speak: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific menu icon fixes */
.business-section-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.business-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Submenu icons */
.business-submenu ul#subui li a i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* If MDI font fails to load, show text fallback */
.mdi:not([class*="mdi-"])::before {
    content: "•" !important;
    font-family: Arial, sans-serif !important;
}

/* Show Font Awesome as fallback if MDI doesn't work */
.fas, .far, .fab {
    display: inline-block !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* ============================================================================
   END: Enhanced Icon Display
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Font Awesome Icon Styling (Finalized)
   Removed Material Design Icons - Using Font Awesome Only
   ========================================================================= */

/* Ensure Font Awesome icons display properly */
.fas, .far, .fab, .fal {
    display: inline-block !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Business menu icon enhancements for Font Awesome */
.business-section-icon.fas,
.business-section-icon.fab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.business-chevron.fas {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Submenu Font Awesome icons */
.business-submenu ul#subui li a i.fas,
.business-submenu ul#subui li a i.fab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override any potential conflicts */
#menu .fas,
#menu .fab,
#subui .fas,
#subui .fab {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================================================
   END: Font Awesome Icon Styling
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Add 4px left margin before menu icons (2px + 2px more)
   ========================================================================= */

/* Add 4px left margin to section icons */
.business-section-icon {
    margin-left: 4px !important;
}

/* Also add 4px left margin to submenu icons */
.business-submenu ul#subui li a i {
    margin-left: 4px !important;
}

/* ============================================================================
   END: Menu icon left margin adjustment
   ========================================================================= */


/* ============================================================================
   BUSINESS THEME: Matching Top Navbar and Footer Backgrounds
   DARKER navy colors to visually separate from left menu section
   ========================================================================= */

/* ----- Top Navbar Styling ----- */
.navbar {
    background: linear-gradient(180deg, #0f1419 0%, #1a1a2e 100%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.05) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Navbar brand styling */
.navbar-brand {
    color: #f4d03f !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Navbar links */
.navbar-nav .nav-link,
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
}

.navbar-nav .nav-link:hover,
.navbar .nav-link:hover {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.1) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-item.active .nav-link,
.navbar .nav-item.active .nav-link {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.15) !important;
    font-weight: 600 !important;
}

/* Navbar icons */
.navbar .fas,
.navbar .fab,
.navbar .far {
    color: #d4af37 !important;
    margin-right: 6px !important;
}

/* Navbar toggler */
.navbar-toggler {
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(244, 208, 63, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar dropdown styling */
.navbar .dropdown-menu {
    background: linear-gradient(180deg, #0f1419 0%, #1a1a2e 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.2s ease !important;
}

.navbar .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #f4d03f !important;
}

/* ----- Footer Styling ----- */
.footer-sp,
.fixed-bottom {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f1419 100%) !important;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(212, 175, 55, 0.05) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 12px 20px !important;
}

/* Footer links */
.footer-sp a,
.fixed-bottom a {
    color: rgba(212, 175, 55, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-sp a:hover,
.fixed-bottom a:hover {
    color: #f4d03f !important;
    text-shadow: 0 0 6px rgba(244, 208, 63, 0.4) !important;
}

/* Footer text */
.footer-sp p,
.fixed-bottom p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Center class in footer */
.footer-sp.center,
.fixed-bottom.center {
    text-align: center !important;
}

/* ----- Top Menu Items (horizontal menu) ----- */
#Tabs ul#MainTabs {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

#Tabs ul#MainTabs li {
    background: transparent !important;
}

#Tabs ul#MainTabs a:link,
#Tabs ul#MainTabs a:visited {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

#Tabs ul#MainTabs a:hover {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

#Tabs ul#MainTabs li.current a {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.15) !important;
    font-weight: 600 !important;
}

/* ----- Navbar Dark Theme Override ----- */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
    color: #f4d03f !important;
    background: rgba(212, 175, 55, 0.15) !important;
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 10px !important;
    }
    
    .footer-sp,
    .fixed-bottom {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }
}

/* ----- Add subtle animation on page load ----- */
@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes footerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: navbarSlideDown 0.5s ease-out;
}

.footer-sp,
.fixed-bottom {
    animation: footerSlideUp 0.5s ease-out;
}

/* ============================================================================
   END: Matching Top Navbar and Footer Backgrounds
   ========================================================================= */

