/*!
 * Custom Theme
 */

@font-face {
  font-family: 'Open Sans';

  src: url('../fonts/OpenSans.woff');
  
}


body {
    background: #fff;
    font-family: 'Open Sans';
}

#wrapper {
    width: 100%;
}

.font-sidebar{
	font-size:13px;
	

}

#page-wrapper {
    padding: 0 15px;
    min-height: 600px;
    background-color: #F9F9F9;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 230px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}

.navbar-top-links li {
    display: inline-block;
    color: #fff;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
    background-color: transparent;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links.nav > li > a:hover,
.navbar-top-links.nav > li > a:focus,
.navbar-top-links.nav .open > a,
.navbar-top-links.nav .open > a:hover,
.navbar-top-links.nav .open > a:focus {
    background-color: transparent !important;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-top: 14px;
    padding-right: 0;
    padding-left: 0;
    background: #fff;
    -webkit-box-shadow: 10px 0 7px -8px rgba(0,0,0,.2);
-moz-box-shadow: 10px 0 7px -8px rgba(0,0,0,.2);
box-shadow: 10px 0 7px -8px rgba(0,0,0,.2);
   
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    border-bottom: 0px solid #DBDBDB;
}

.sidebar ul li a.active {
    background-color: #DDEBEF;
    border-left: rgb(0, 134, 252) 5px solid;
    border-left-color: initial;
}

.sidebar .arrow {
    float: right;
}

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

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

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

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

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 230px;
        margin-top: 51px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

@media(max-width:767px) {
    .navbar-top-links.navbar-right {
        position: absolute;
        top: 0;
        right: 55px;
        margin: 0;
        padding: 0;
    }
    .navbar-top-links li:last-child {
        background-color: transparent !important;
        margin-right: 0;
    }
    .navbar-top-links .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }
    .navbar-top-links li a {
        padding: 15px 10px;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

/* Modern Dashboard Styling */
.panel {
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin-bottom: 25px;
}
.panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.panel-heading {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    padding: 20px;
}
/* Unified Gradient Colors */
.panel-primary { background: linear-gradient(135deg, #4e73df 0%, #224abe 100%); color: #fff; border-color: transparent; }
.panel-green { background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%); color: #fff; border-color: transparent; }
.panel-yellow { background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%); color: #fff; border-color: transparent; }
.panel-red { background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%); color: #fff; border-color: transparent; }
.panel-default { border: 1px solid #e3e6f0 !important; }

/* Dashboard Top Metric Boxes */
.panel-heading .row { display: flex; align-items: center; justify-content: space-between; }
.panel-heading h2 { font-weight: 800; margin: 0 0 5px 0; font-size: 28px; }
.panel-heading div { font-size: 14px; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.panel-heading i { opacity: 0.3; }

/* Sub-panel links */
.panel>a { color: rgba(255,255,255,0.9); text-decoration: none; }
.panel-footer { 
    background-color: rgba(0,0,0,0.1); 
    border-top: none; 
    border-bottom-left-radius: 12px !important; 
    border-bottom-right-radius: 12px !important; 
    padding: 10px 20px;
    font-size: 12px;
}
.panel-footer:hover { background-color: rgba(0,0,0,0.15); }

/* Typography */
.page-header { 
    font-weight: 800; 
    color: #5a5c69; 
    margin-bottom: 25px; 
    border-bottom: none; 
    font-size: 1.75rem; 
}

/* Modern Tables */
.table { margin-bottom: 0; }
.table th { 
    border-top: none !important; 
    border-bottom: 2px solid #eaecf4 !important; 
    color: #858796; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 0.95rem; 
    padding: 14px;
}
.table td { 
    color: #5a5c69; 
    vertical-align: middle !important; 
    border-top: 1px solid #eaecf4; 
    padding: 12px;
}
.table-hover tbody tr:hover { background-color: #f8f9fc; }
.table-responsive { background: #fff; border-radius: 8px; }

/* Force charts panel to have white body */
.panel-primary .panel-body, .panel-red .panel-body, .panel-green .panel-body {
    background: #fff;
    color: #5a5c69;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Specifically for charts/tables panel headings which don't use h2 */
.panel-heading i.fa-fw { font-size: 1.2rem; margin-right: 5px; opacity: 1; }

.white{

    color: #fff;
    margin-bottom: 10px;
}

.navbar-default{

    box-shadow: -3px 0px 8px -4px rgba(0, 0, 0, 0.07) inset !important;
    background: none repeat scroll 0% 0% #2780e3 !important;
    font-size: 14px;
    -webkit-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.07);
    border: none !important;
}

.navbar-brand {
color: #FFF !important;
}

.navbar-default .navbar-toggle .icon-bar {
background: none repeat scroll 0% 0% #2780E3 !important;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background: none repeat scroll 0% 0% #F9F9F9 !important;
}

.headmain{
    background: #165BB5;
}

.navbar-right{
    margin-right: 0px !important;
}

/* Authentication Page Split Layout */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
    background-color: #f8f9fc;
}

.auth-promo {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-promo h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.auth-promo p {
    font-size: 1.4rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
}

.auth-promo ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.auth-promo ul li {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.auth-promo ul li i {
    margin-right: 15px;
    opacity: 0.8;
}

.auth-form-container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f9fc;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    padding: 50px 40px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h2 {
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 10px;
}

.auth-header p {
    color: #858796;
}

.auth-footer {
    text-align: center;
    margin-top: 40px;
    color: #858796;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 992px) {
    .auth-promo { width: 45%; }
    .auth-form-container { width: 55%; }
}

@media (max-width: 991px) {
    .auth-wrapper { flex-direction: column-reverse; }
    .auth-promo { width: 100%; min-height: 350px; padding: 40px 20px; }
    .auth-form-container { width: 100%; padding: 40px 20px; }
}

/* Finayou Auth Branding Logo */
.finayou-logo-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.finayou-logo-text i {
    color: #f6c23e;
}

/* PWA Modern Top Banner */
#pwa-top-banner {
    display: none;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10000;
}

#pwa-top-banner.show {
    display: flex;
    animation: slideDownPwa 0.5s ease;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pwa-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pwa-banner-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.pwa-banner-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-pwa-install {
    background: #f6c23e;
    color: #1e3c72;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pwa-install:hover {
    background: #e5b331;
    transform: translateY(-1px);
}

.btn-pwa-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.btn-pwa-close:hover {
    color: #fff;
}

@keyframes slideDownPwa {
    from { top: -80px; opacity: 0; }
    to { top: 0; opacity: 1; }
}

@media (max-width: 600px) {
    #pwa-top-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    .pwa-banner-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 5px;
    }
}