
/* CSS Variables for easy theme customization */
:root {
    --primary-color: #093c71;
}

/*==============================================
    GENERAL  STYLES
    =============================================*/
body {
    font-family: 'Open Sans', sans-serif;
}

/* Keep table action buttons in one row */
td .btn + .btn,
td .btn + button,
td button + .btn {
    margin-left: 3px;
}
td:last-child {
    white-space: nowrap;
}

.shh, p:hover span { display: none } p:hover .shh { display: inline }

 #wrapper {
    width: 100%;
    background:#fdfdfd;
}

#page-wrapper {
    padding: 15px 15px;
    min-height: 600px;
    background:#F3F3F3;

}
#page-inner {
    width:100%;
    margin:10px 20px 10px 0px;
    background-color:#fff!important;
    padding:10px;
    min-height:1200px;
}

.text-center {
    text-align:center;
}
.no-boder {
    border:1px solid #f3f3f3;
}
h2 {
    color: var(--primary-color);
}
h4 {
    padding-top:10px;
}
.square-btn-adjust {
    border: 0px solid transparent;
   -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}
p {
    font-size:16px;
    line-height:25px;
    padding-top:20px;
}
/*==============================================
   DASHBOARD STYLES
    =============================================*/
.panel-back {
    background-color:#F8F8F8;

}
   .noti-box {
min-height: 100px;
padding: 20px;
}

    .noti-box .icon-box {
display: block;
float: left;
margin: 0 15px 10px 0;
width: 70px;
height: 70px;
line-height: 75px;
vertical-align: middle;
text-align: center;
font-size: 40px;
}
.text-box p{
    margin: 0 0 3px;
}
.main-text {
    font-size: 25px;
    font-weight:600;
}
.set-icon {
    -webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;

}
    .bg-color-green {
background-color: var(--primary-color);
color: #fff;
}
 .bg-color-blue {
background-color: #A95DF0;
color: #fff;
}
  .bg-color-red {
background-color: #DB0630;
color: #fff;
}
  .bg-color-brown {
background-color: #B94A00;
color: #fff;
}


 .icon-box-right {
display: block;
float: right;
margin: 0 15px 10px 0;
width: 70px;
height: 70px;
line-height: 75px;
vertical-align: middle;
text-align: center;
font-size: 40px;
}

 .main-temp-back {
background: #8702A8;
color: #FFFFFF;
font-size: 16px;
font-weight: 300;
text-align: center;
}
 .main-temp-back .text-temp {
font-size: 40px;
}
.back-dash {
    padding:20px;
    font-size:20px;
    font-weight:500;
      -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
background-color:#2EA7EB;
color:#fff;
}
    .back-dash p {
        padding-top:16px;
        font-size:13px;
        color:#fff;
        line-height:25px;
        text-align:justify;
    }
    .back-footer-green {
    background-color: var(--primary-color);
    border-top: 0px solid #fff;
}
     .back-footer-red {
    background-color: #AF0000;
    border-top: 0px solid #fff;
}
     .color-bottom-txt {
   color: #000;
font-size: 16px;
line-height: 30px;
}
     /*CHAT PANEL*/
 .chat-panel .panel-body {
height: 450px;
overflow-y: scroll;
}
 .chat-box {
margin: 0;
padding: 0;
list-style: none;
}
 .chat-box li {
margin-bottom: 15px;
padding-bottom: 5px;
border-bottom: 1px dotted #808080;
}
 .chat-box li.left .chat-body {
margin-left: 90px;
}
 .chat-box li .chat-body p {
margin: 0;
color: #8d8888;
}
.chat-img>img {
    margin-left:20px;
}

/*==============================================
    MENU STYLES
    =============================================*/


.user-image {
    margin: 25px auto;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
max-height:170px;
max-width:170px;
}

.navbar-cls-top .navbar-brand {
color: #fff;
background: var(--primary-color);
width: 260px;
text-align: center;
height: 60px;
font-size: 30px;
font-weight: 700;
}
.navbar-side .active-menu {
    background-color: #0a1822 !important;
    color: #ffffff !important;
}

/* Nav tabs — primary color for active tab */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-tabs > li > a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Breadcrumb — primary color for active item */
.breadcrumb > .active {
    color: var(--primary-color);
    font-weight: 600;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}


.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 55px;
}
.sidebar-collapse , .sidebar-collapse .nav{
	background:none;
}
.sidebar-collapse .nav {
	padding:0;
}
.sidebar-collapse .nav > li > a {
	color:#fff;
	background:var(--primary-color);
	text-shadow:none;

}
.sidebar-collapse > .nav > li > a {
	padding:15px 10px;
}
.sidebar-collapse > .nav > li {
	border-bottom: 1px solid rgba(107, 108, 109, 0.19);
}
.sidebar-collapse .nav > li > a:hover,
.sidebar-collapse .nav > li > a:focus {

	background:#0A0A0A;
	outline:0;
}

.nav-second-level > li > a:before ,
.nav-third-level > li > a:before {
	content:"";
	display:block;
	position:absolute;
	left:20px;
	width:15px;
	height:1px;
	background:#ff0000;
	top:20px;
}
.nav-second-level > li > a:after,
.nav-third-level > li > a:after {
	content:"";
	display:block;
	position:absolute;
	left:20px;
	width:1px;
	height:100%;
	background:#ff0000;
	top:0px;
	z-index:10;
}
.nav-second-level  > li:last-child > a:after,
.nav-third-level  > li:last-child > a:after {
	height:50%;
}
.nav-third-level > li > a:after,
.nav-third-level > li > a:before  {
	left:40px;
}
.navbar-side {
	border:none;
	background-color: #ffffff;

}
.navbar-cls-top {
	background:var(--primary-color);
	border-bottom:none;

}
.navbar-cls-top .navbar-brand:hover {

background: var(--primary-color);
color:#fff;

}

.navbar-default {
border:0px solid black;

}
.navbar-header {
    background: #A70303;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #B40101;
}
.navbar-default .navbar-toggle {
border-color: #fff;
}

.navbar-default .navbar-toggle .icon-bar {
background-color: #FFF;
}
.nav > li > a > i {
    margin-right:10px;
}
/*==============================================
    UI ELEMENTS STYLES
    =============================================*/
.btn-circle {
width: 50px;
height: 50px;
padding: 6px 0;
 -webkit-border-radius: 25px;
-moz-border-radius: 25px;
border-radius: 25px;
text-align: center;
font-size: 12px;
line-height: 1.428571429;
}

/*==============================================
    MEDIA QUERIES
    =============================================*/

 @media(min-width:768px) {
     #page-wrapper{
               margin: 0 0 0 260px;
        padding: 15px 30px;
        min-height: 1200px;

    }


    .navbar-side {
        z-index: 1;
        position: absolute;
        width: 260px;
    }

   .navbar {
 border-radius: 0px;
}

}

/* Navigation Header Styles */
.nav-header {
    padding: 8px 15px 5px 15px !important;
    background: #2e3e50 !important;
    border-bottom: 1px solid #34495e !important;
    margin: 5px 0 0 0 !important;
}

.nav-header small {
    color: #bdc3c7 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.nav-header:hover {
    background: #2e3e50 !important;
    cursor: default !important;
}

.nav-header:hover small {
    color: #bdc3c7 !important;
}

/* Navigation spacing improvements */
#main-menu li a {
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

#main-menu li:first-child {
    border-bottom: 2px solid #34495e !important;
    margin-bottom: 10px !important;
}

/*==============================================
    LOGIN/AUTHENTICATION PAGES STYLES
    =============================================*/

/* Common Auth Page Styles */
.auth-body {
    font-family: "Open Sans", sans-serif;
    background: url(../img/bg.png) no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-body.min-height {
    min-height: 100vh;
    padding: 15px;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
}

/* Login Form Styles - Using Bootstrap Classes */
.login {
    /* Bootstrap card styling */
    border-radius: .25rem;
    padding: 1.25rem;
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    position: relative;
}

.login.setup-form {
    max-width: 400px;
}

.login img {
    max-width: 250px;
    width: 100%;
    margin: 0 auto 1rem auto;
    display: block;
}

.login.setup-form img {
    max-width: 200px;
}

.login .title {
    /* Bootstrap heading utilities */
    color: #495057;
    font-size: 1.1rem;
    font-weight: 500;
    margin: .5rem 0 1.25rem 0;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .5rem;
    text-align: center;
}

.login.setup-form .title {
    font-size: 1.3rem;
}

.login .subtitle {
    /* Bootstrap text utilities */
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.5;
}

/* Let Bootstrap .form-control handle input styling */
.login .form-control,
.login.setup-form .form-control {
    /* Inherits Bootstrap form-control styles */
    margin-bottom: .75rem;
}

.login .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(9, 60, 113, 0.25);
}

/* Bootstrap button classes */
.login .btn,
.login.setup-form .btn {
    /* Extends Bootstrap .btn */
    width: 100%;
    padding: .5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    position: relative;
    overflow: hidden;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.login .btn-primary,
.login.setup-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.login .btn-primary:hover,
.login.setup-form .btn-primary:hover {
    background-color: #0a1822;
    border-color: #0a1822;
    color: #093c71;
}

/* Reset Form Styles - Using Bootstrap Classes */
.reset-form {
    /* Bootstrap card styling */
    border-radius: .25rem;
    padding: 1.25rem;
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    position: relative;
}

.reset-form img {
    max-width: 250px;
    width: 100%;
    margin: 0 auto 1rem auto;
    display: block;
}

.reset-form .title {
    /* Bootstrap heading utilities */
    color: #495057;
    font-size: 1.1rem;
    font-weight: 500;
    margin: .5rem 0 1.25rem 0;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .5rem;
    text-align: center;
}

.reset-form .subtitle {
    /* Bootstrap text utilities */
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.5;
}

/* Let Bootstrap .form-control handle input styling */
.reset-form .form-control {
    /* Inherits Bootstrap form-control styles */
    margin-bottom: .75rem;
}

.reset-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(9, 60, 113, 0.25);
}

/* Bootstrap button classes */
.reset-form .btn {
    /* Extends Bootstrap .btn */
    width: 100%;
    padding: .5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    position: relative;
    overflow: hidden;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.reset-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.reset-form .btn-primary:hover {
    background-color: #0a1822;
    border-color: #0a1822;
    color: #093c71;
}

/* Login Spinner Styles */
.login button .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    animation: spin 0.6s linear infinite;
}

.login.loading button .state {
    opacity: 0;
}

.login.loading button .spinner {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Links and Navigation */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-to-login a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.back-to-login a:hover {
    text-decoration: underline;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.login-link .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.login-link .btn-primary:hover {
    background-color: #0a1822;
    border-color: #0a1822;
    color: #093c71;
}

/* Message Styles - Bootstrap Alert Classes */
.message {
    /* Bootstrap alert base */
    padding: .75rem 1.25rem;
    border-radius: .25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: .95rem;
    line-height: 1.5;
    border: 1px solid transparent;
}

.message.success,
.success-message,
.alert-success {
    /* Bootstrap alert-success */
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.message.danger,
.error-message,
.alert-danger {
    /* Bootstrap alert-danger */
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.message.info,
.alert-info {
    /* Bootstrap alert-info */
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.error-message,
.success-message {
    padding: .75rem 1.25rem;
    border-radius: .25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: .95rem;
}

/* Special Info Sections - Bootstrap Components */
.security-note {
    /* Bootstrap alert-secondary style */
    font-size: .875rem;
    color: #383d41;
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
    padding: .75rem 1.25rem;
    border-radius: .25rem;
    margin-top: 1rem;
    text-align: center;
}

.password-requirements {
    /* Bootstrap alert-light style */
    font-size: .875rem;
    color: #818182;
    background-color: #fefefe;
    border: 1px solid #fdfdfe;
    margin-bottom: 1rem;
    padding: .75rem 1.25rem;
    border-radius: .25rem;
}

.user-info {
    /* Bootstrap alert-primary style */
    color: #004085;
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    padding: .75rem 1.25rem;
    border-radius: .25rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}

footer {
    text-align: center;
    font-size: 0.8em;
    color: #ddd;
    margin-top: 20px;
}

/* Responsive Auth Pages - Bootstrap Breakpoints */
@media (max-width: 576px) {
    /* Bootstrap sm breakpoint */
    .login,
    .reset-form {
        padding: 1rem;
        max-width: 90%;
    }

    .login img,
    .reset-form img {
        max-width: 180px;
    }

    .login .title,
    .reset-form .title {
        font-size: 1rem;
    }

    .login .btn,
    .reset-form .btn {
        font-size: .9rem;
    }
}

@media (max-width: 400px) {
    /* Extra small devices */
    .login,
    .reset-form {
        padding: .75rem;
    }

    .login .form-control,
    .login .btn,
    .reset-form .form-control,
    .reset-form .btn {
        font-size: .875rem;
        padding: .375rem .75rem;
    }

    .login img,
    .reset-form img {
        max-width: 150px;
    }
}

/* ==========================================
   SWITCH VIEW PAGE STYLES
   ========================================== */

.switch-body {
    background: #F3F3F3;
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 20px;
}

.switch-title {
    color: var(--primary-color);
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 10px;
}

.switch-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.switch-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.switch-option {
    background: #F8F8F8;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 30px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    min-height: 100px;
}

.switch-option:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.switch-option i {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    width: 70px;
    height: 70px;
    line-height: 75px;
    margin: 0 auto 15px auto;
    border-radius: 50px;
    text-align: center;
}

.switch-option h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 8px;
}

.switch-option p {
    font-size: 0.95em;
    margin: 0;
    opacity: 0.8;
}

.admin-option {
    background: #F8F8F8;
    border-color: var(--primary-color);
}

.admin-option i {
    background-color: var(--primary-color);
    color: #fff;
}

.admin-option:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.admin-option:hover i {
    background-color: rgba(255,255,255,0.2);
}

.employee-option {
    background: #F8F8F8;
    border-color: var(--primary-color);
}

.employee-option i {
    background-color: var(--primary-color);
    color: #fff;
}

.employee-option:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.employee-option:hover i {
    background-color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .switch-options {
        flex-direction: column;
    }
    .switch-option {
        max-width: none;
    }
}
