/*
Theme Name: Accounts
Version: 1.0
Tags: red, gray, google fonts, theme options, custom header, responsive
The CSS, XHTML and design is released under GPL
*/

body{font: normal 14px/1.5 'Poppins'; color: #404040; font-weight: 400; overflow-x: hidden; position: relative; background-color: #e8e8e8;} 
img{max-width: 100%; height: auto;}
a{text-decoration: none; color: #CE2929;}
a:hover,a:focus{text-decoration: none;}
a,.btn{outline: none; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out;}
.ul-none,.summary-widget-content ul{list-style: none; margin: 0; padding: 0;}

.container{max-width: 1500px;}

:root{
	--primary-color: #CE2929;
}

/*Format*/
h1,h2,h3,h4,h5,
.h1,.h2,.h3,.h4,.h5{margin-bottom: 20px; font-weight: 600;}
h1,.h1{font-size: 30px;}
h2,.h2{font-size: 25px;}
h3,.h3{font-size: 22px;}
h4,.h4{font-size: 20px;}
h5,.h5{font-size: 17px;}
p{margin-bottom: 25px;}
strong{font-weight: 600;}
.bg-cover{background: center center no-repeat; background-size: cover;}
.social-media a{display: inline-flex; align-items: center; justify-content: center; vertical-align: top; border: 1px solid #fff; width: 55px; height: 55px; border-radius: 50px; margin: 0 10px 10px 0;}
.social-media a:hover{transform: scale(1.08);}
.social-media a:last-child{margin-right: 0;}
.has-separator{position: relative; padding-bottom: 20px;}
.has-separator::after{content: ''; position: absolute; height: 3px; width: 25px; background-color: #3ABD9E; left: 0; bottom: 0;}

/*Buttons*/
.btn{padding: 5px 14px; border: 0; font-size: 14px; font-weight: 500; border-radius: 4px; position: relative; overflow: hidden;}
.btn.btn-primary{color: #fff; border: 1px solid var(--primary-color); box-shadow: inset 0 0 0 50px var(--primary-color);}
.btn.btn-primary:hover,.btn.btn-primary:focus,.btn.btn-primary:active{background-color: transparent; color: var(--primary-color); box-shadow: inset 0 0 0 0 var(--primary-color);}
.btn.btn-white-outline{color: #fff; border: 1px solid #ffff; box-shadow: inset 0 0 0 0px #fff;}
.btn.btn-white-outline:hover,.btn.btn-white-outline:focus,.btn.btn-white-outline:active{background-color: transparent; color: #000; box-shadow: inset 0 0 0 50px #fff;}
.btn-delete{color: #d94040; border: 0; background-color: transparent;}

/*Section*/
.section{padding-top: 120px !important; padding-bottom: 120px !important;}
.md-section{padding-top: 90px !important; padding-bottom: 90px !important;}
.sm-section{padding-top: 70px !important; padding-bottom: 70px !important;}

/*Header*/
.site-header{width: 100%; padding-top: 15px; padding-bottom: 15px; transition: .3s ease; z-index: 999; background-color: #fff; box-shadow: 0 0 6px rgba(0,0,0,.2);}
.site-header .navbar-brand img{max-width: 250px;}
.site-header .navbar-expand-lg .navbar-nav{margin-right: 20px;}
.site-header .navbar-expand-lg .navbar-nav .nav-link{padding: 6px 16px; font-weight: 600; text-align: center; color: #373737; font-size: 18px; font-family: 'Rajdhani'; text-transform: uppercase;}
.site-header .navbar-expand-lg .navbar-nav .nav-link:hover,
.site-header .navbar-expand-lg .navbar-nav li.current-menu-item .nav-link{color: #CE2929;}
.top-cinfo{background-color: #EAEAEA; padding: 15px;}
.top-ph{color: #000; display: inline-flex; align-items: center;}
.top-ph i{background-color: #CE2929; border-radius: 50px; width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; padding: 6px;}
.top-ph i img{filter: brightness(0) invert(1);}
.top-ph span{display: inline-block; font: 32px/30px 'Rajdhani'; margin-left: 5px;}
.top-em{display: block; font-size: 13px; color: #000;}
.top-mobile-ph{display: none;}
.top-mobile-ph i{width: 30px; height: 30px; margin-right: 10px;}
/*DropDown*/
@media only screen and (min-width : 990px) {
	.navbar-nav > li > .dropdown-menu{display: block; padding: 0; transition: ease-out 0.30s; margin-top: 10px; opacity: 0; visibility: hidden; background-color: #fff;  right: 0; width: 220px; border: 0;}
	.dropdown:hover .dropdown-menu{margin-top: 0; opacity: 1; visibility: visible;}
}
.navbar-nav .dropdown-menu{box-shadow: 0px 0px 40px 0px #0B111814; padding: 0;}
.navbar-nav .dropdown-menu li:not(:last-child){border-bottom: 1px solid #EAEAEA;}
.navbar-nav .dropdown-menu .dropdown-item{padding: 10px 15px; border-radius: 0; white-space: normal; font-size: 16px; font-weight: 300;}
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .current-menu-item > a{background-color: transparent; color: #D4A255;}


/*Mobile Menu*/
.navbar-toggler.navBtn{border: 0; box-shadow: none;}
.sidenav-wrap{width: 0; transition: .3s ease; position: absolute; left: 0; top: 0; height: 100%; z-index: 44444; opacity: 0; color: #000;}
.sidenav-wrap .menu-backdrop{position: absolute; right: 0; top: 0; height: 100%; width: 100%; background-color: rgba(0,0,0,.5);}
.sidenav{height: 100%; width: 350px; position: fixed; z-index: 9999; top: 0; right: -370px; opacity: 0; background-color: #fff; overflow-x: hidden; transition: 0.5s; box-shadow: 0 0 20px rgba(0,0,0,.1);}
.sidenav .closebtn{position: absolute; z-index: 44; width: 30px; text-align: center; top: 0; right: 18px; font-size: 36px; line-height: normal; color: #000;}
.the_menu{padding: 30px; font-size: 17px;}
.the_menu h4.hd{font-size: 18px; margin-bottom: 30px; letter-spacing: 3px;}
.the_menu .navbar-nav li{margin-bottom: 15px; border-bottom: 1px solid #A8A8A861;}
.the_menu .navbar-nav li > a{padding: 0 0 12px; display: block; width: 100%; color: #000 !important; font-weight: 300; font-size: 20px;}
.the_menu .navbar-nav li > a:hover,
.the_menu .navbar-nav li.current-menu-item > a.nav-link{color: #CE2929 !important;}
.sidenav-cinfo{background-color: #EAEAEA; padding: 20px}
.sidenav-cinfo, .sidenav-cinfo a{color: #000;}
.sidenav-cinfo ul li{margin-bottom: 8px;}
.sidenav-cinfo .social-media a{width: 45px; height: 45px;}
.sidenav-cinfo .social-media a img{max-width: 80%;}
.sidenav-cinfo .top-ph img{filter: brightness(0) invert(1);}
/*Show*/
.sidenav-wrap.show{width: 100%; opacity: 1;}
.sidenav-wrap.show .sidenav{right: 0; opacity: 1;}

/*Footer*/
.site-footer{color: #979797; font-size: 14px;}

/*Summery*/
.summary-widget{box-shadow: 0 0 5px rgba(0,0,0,.3); border-radius: 5px;}
.summary-widget h3{padding: 10px 20px; border-bottom: 1px solid #ddd; margin-bottom: 0; background-color: #f9f9f9;}
.summary-widget-content{padding: 20px;}
.summary-widget-content li{display: flex; justify-content: space-between; border-bottom: 1px solid #ddd; padding-bottom: 5px; margin-bottom: 5px;}
.summary-widget-content li:last-child{border-bottom: 0; padding-bottom: 0; margin-bottom: 0;}

/*.form-wrap{padding: 12px; background-color: rgb(245, 245, 245); border-radius: 5px;}*/

/*Sales Invoice*/
.table-dark th{font-weight: 600; background-color: #f9f9f9; color: #262626;}

.account_management{display: flex;}
.account_management .sidebar{width: 350px;}
.account_management .sidebar li{border: 1px solid #ddd; border-right: 0; border-bottom: 0;}
.account_management .sidebar li:last-child{border-bottom: 1px solid #ddd;}
.account_management .sidebar li a,
.account_management .sidebar li.has-sub-menu a{padding: 12px 14px; font-size: 14px; font-weight: 500; color: #000; background-color: #f9f9f9; display: flex; align-items: start; justify-content: space-between; position: relative;}
.account_management .sidebar li a strong.label{font-weight: 500; color: #000;}
.account_management .sidebar li a strong.label span{color: #999; display: inline-block; margin-right: 5px;}
.account_management .sidebar li a strong.count{color: #000; background-color: #ececec; border-radius: 50px; display: flex; align-items: center; justify-content: center; padding: 5px 8px; font-size: 12px; height: 23px;}
.account_management .sidebar li a:hover,
.account_management .sidebar li a.current{background-color: #fff;}
.account_management .sidebar li a.current .label,
.account_management .sidebar li.has-sub-menu a.active .label{color: var(--primary-color);}
.account_management .sidebar li a.current::after{height: 100%; width: 1px; content: ''; position: absolute; right: -1px; top: 0; background-color: #fff;}
.account_management .sidebar li.has-sub-menu a .dashicons{transition: .3s ease;}
.account_management .sidebar li.has-sub-menu a.active .dashicons{transform: rotate(180deg);}
.account_management .main{padding: 20px; width: 100%; background-color: #fff; border: 1px solid #ddd;}

.form-wrap{border-radius: 6px; border: 1px solid #ddd; padding: 20px; background-color: #fbfbfb;}

.active > .page-link, .page-link.active{background-color: #457fd5; border-color: #457fd5;}

.invoice-wrap {
    padding: 20px 30px; 
    box-shadow: 0 0 10px rgba(0,0,0,.2); 
    display: inline-block;
    background: white;
    width: 100%;
}

.invoice-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-wrap .items th, 
.invoice-wrap .items td {
    border: 1px solid black; 
    padding: 3px 9px;
}

/* Select2 Customization */
.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* Modal Styles */
#createInvoiceModal .modal-body {
    padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .item-row .col-md-5,
    .item-row .col-md-2,
    .item-row .col-md-3 {
        margin-bottom: 10px;
    }
    
    .remove-item {
        margin-top: 10px;
    }
}

/* In your theme's CSS file */
.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* Ensure Select2 is visible in modal */
.select2-container {
    z-index: 999 !important;
}
.select2-dropdown {
    z-index: 999 !important;
}

/* Fix for item rows */
.item-row {
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 4px;
	padding: 10px;
	transition: all 0.3s ease;
	position: relative;
}

.item-row:hover {
    background: #e9ecef;
}

/* Fix for date field */
input[type="date"].form-control {
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
}


/*Responsive*/
@media(max-width: 991px){
  .section{padding-top: 90px !important; padding-bottom: 90px !important;}
  .md-section{padding-top: 60px !important; padding-bottom: 60px !important;} 
  .sm-section{padding-top: 40px !important; padding-bottom: 40px !important;}
  
  h1,.h1{font-size: 40px;}
  h2,.h2{font-size: 35px;}
  h3,.h3{font-size: 28px;}
  h4,.h4{font-size: 22px;}
  h5,.h5{font-size: 18px;}

  .site-header{padding-top: 8px; padding-bottom: 8px;}
  .site-header .navbar-brand img{max-width: 230px;}

  .top-mobile-ph{display: block;}

}
@media(max-width: 768px){
  .section{padding-top: 60px !important; padding-bottom: 60px !important;}
  .md-section{padding-top: 40px !important; padding-bottom: 40px !important;}
  .sm-section{padding-top: 30px !important; padding-bottom: 30px !important;}
  
  h1,.h1{font-size: 35px;}
  h2,.h2{font-size: 28px;}
  h3,.h3{font-size: 24px;}
  h4,.h4{font-size: 21px;}
  h5,.h5{font-size: 18px;}

  .site-header .navbar-brand img{max-width: 170px;}  

  .site-footer h5{font-size: 18px;}
  .social-media a{width: 45px; height: 45px;}

}