html, body, #main, #content, #content_wrapper {
    background-color: #0b111e !important;
    background: #0b111e !important;
}

/* Mobile App Menu Drawer: strictly hidden unless .open is added */
#mobile-app-menu {
    display: none !important;
}
#mobile-app-menu.open {
    display: block !important;
}

.has-error .form-control {
    background-color: #f76a6d;
    color: #FFF;
}
.navbar.bg-dark .nav>li.active>a, .navbar.bg-dark .nav>li.open>a, .navbar.bg-dark .nav>li:focus>a, .navbar.bg-dark .nav>li:hover>a, .navbar.bg-dark .nav>li>a:focus, .navbar.bg-dark .nav>li>a:hover {
    color: #67D3E0;
}
.bg-dark .dropdown-menu>li>a:focus, .bg-dark .dropdown-menu>li>a:hover {
    color: #67D3E0;
}
.sb-l-o #content_wrapper,#content_wrapper{
    margin-left: 0px;
}

#modal-new-user .allcp-form .prepend-icon > input,#modal-new-user .allcp-form .prepend-icon > textarea{
    padding-left: 15px;
}

.navbar .nav .list-group > li.list-group-item > a {
    white-space: inherit;
}


#content {
    padding-top: 80px;
    padding-bottom: 0px;
}

body{
    min-height: initial !important;
}

footer {
    background-color: #2A2F43;
    color: #FFF;
    height: 55px;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    padding-top: 12px;
    padding: 10px;
}

.copy {
    position: relative;
    left: 200px;
    top: 5px;
}

.customers td:last-child {
    padding: 6px !important;
}

.navbar-logo-wrapper {
    width: 180px;
}

.lesspadding {
    padding-top: 10px !important;
}

.panelCollapoussa {
    position: relative;
}

.collapoussa {
    position: absolute;
    background: #FFF;
    border-radius: 0 5px 5px 0;
    -webkit-box-shadow: 1px 2px 0 #e5eaee;
    box-shadow: 1px 2px 0 #e5eaee;
    width: 30px;
    text-align: center;
    color: #67d3e0;
    right: -30px;
    cursor: pointer;
}

.select2-container--default .select2-selection--single {
    background-color: #FFF;
}
.form-control {
    -webkit-appearance:menulist-button;
}

.no-menu {
    -webkit-appearance: initial;
}

.select-div{
    position: relative;
}

.select-div-cus{
    top: 20px;
    z-index: 20;
}
.select-menu {
    position: absolute;
    z-index: 30;
    border: 1px solid #ddd;
    background: #FFF;
    width: 100%;
    box-shadow: 1px 1px 4px 0px #CCC;
}
.select-menu ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.select-menu ul li {
    border-bottom: 1px solid #ddd;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.select-menu ul li:hover {
    background-color: aliceblue;

}

.select-menu ul li:last-child {
    border-bottom: none;
    border-top: 1px solid #ddd;
}

.select-menu ul ul li:last-child {
    border-bottom: none;
    border-top: none;
}

.select-menu ul ul {
    max-height: 179px;
    overflow-y: auto;
}

.has-select{
    width: 100%;
}

.fakeselect {
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
}


.text-warning.welcomeText {
    padding-left: 19px;
    padding-top: 15px;
}

.text-green {
    color: #4FD8B0;
}

#modal-delete .panel-title {

    font-size: 16px;
}

#modal-delete .actions {
    text-align: center;
}

.form-control input[type='text'] {
    -webkit-appearance: none; 
}

.allcp-form .file .gui-file[disabled]+.gui-input, .allcp-form .file .gui-file[disabled]:hover+.gui-input, .allcp-form .gui-input[disabled], .allcp-form .gui-input[disabled]~.input-footer, .allcp-form .gui-textarea[disabled], .allcp-form .gui-textarea[disabled]~.input-footer, .allcp-form .select-multiple select[disabled], .allcp-form .select>select[disabled] {
    background-color: rgba(188, 236, 241, 0.36);
    border-color:  #CCC !important;
    cursor: default;
    color: #000;
    opacity: 1;
}
.redtext{
    color:red !important;
}

#topbar{
    margin-bottom: 20px;
}

hr {
    margin: 20px 0px 20px 0px !important;
}
.tab-pane h5 {
    display:inline;
}
.ui-pnotify {
    height: 90px;
    bottom: 20px !important;
    top: inherit !important;
}
.imageInvoice{
    width: 140px;
    height: auto;
    margin-top: 20px;
    border: 1px solid #CCC;
    padding: 20px;
    height: auto;
}


img.invoiceLogo {
    width: 150px;
    margin-top: 50px;
    margin-left: 50px;
}



.eliminate-padding {
    padding-left: 0px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.panel.invoice-panel {
    padding: 0px!important;
}

.panel.invoice-panel .panel{

    box-shadow: none !important;

}

.cursor-size{
    font-size: 14px;
    cursor: pointer;
}

.p20 {
    padding: 10px!important;
}

#content .panel .panel-body{
    margin-top: 0px;
}

.items input {
    font-size: 10px;
    padding: 2px;
    height: 24px;
    border-radius: 0px;
}
.items.table>thead>tr>th {
    font-size: 11px;
}

.items .form-control {
    font-size: 12px;
    padding: 2px;
    height: 24px;
    margin: 0px;
    width: 100% !important;
    border-radius: 0px;
}

.items td {
    padding: 5px !important;
}
.items th {
    padding: 3px !important;
}


.items .input-group-addon{
    padding: 3px;
    min-width: 18px !important;
}

#invoice-item{
    min-height: 800px;
    position: relative;
}


#invoice-item .loading{
    position: absolute;
    left:450px;
    top:300px;
}

#modal-customers , #modal-vendors {
    max-width: 850px !important;
}

#modal-tax{
    max-width: 650px !important;
}

.plan-header {
    background: #67E0A8;
    padding: 10px 5px 7px;
}

.plan-warning .plan-header {
    background: #03AB7A;
}

.plan-gold .plan-header {
    background: #67d3e0;
}

input#expMonth {
    width: 47px;
    margin-top: 5px;
}

input#expYear {
    width: 60px;
    margin-top: 5px;
}

input#cvv {
    width: 49px;
    margin-top: 5px;
}


button.btn.btn-paypal {
    font-weight: bold;
    width: 200px;
    border-bottom: 3px solid rgb(3, 155, 229);
}

button.btn.btn-paypal:hover {
    color: #039BE5;
}

button.btn.btn-bitcoin {
    font-weight: bold;
    width: 200px;
    height: 43px;
    border-bottom: 3px solid rgb(247, 147, 26);
}

button.btn.btn-bitcoin:hover {
    color: rgb(247, 147, 26);
}

button.btn.btn-paypal img {
    height: 26px;
}

button.btn.btn-bitcoin img {
    height: 23px;
}

.payment-icons img {
    height: 30px;
    margin-top: 5px;
}

.labelinfo{
    display: block;
}

.plan-footer {
    height: 160px;
}

.plan-features li {
    padding: 12px 10px;
    text-align: left;
}

.plan-footer .btn {
    margin: 10px 0;
}

.bt25{
    margin-bottom: 25px;
}

.papers tr{
    cursor: pointer;
}

.paper-detail .first-col , .paper-detail .first-col-bold{
    width: 150px;
}

.paper-detail .second-col,.paper-detail .first-col-bold{
    font-size: #000;
    color:#000;
}

.paper-detail .first-col-bold{
    font-weight: bold;
}

.panel-paper{
    margin-top:50px !important;
}

#quickactions {
    height: 390px;
}

#quickactions .btn-block+.btn-block {
    margin-top: 15px ;
}

.pad-status-change {
    padding: 20px !important;
    width: 250px;
}

.fix-margin{
    margin: -15px 15px !important;
}

.label-margin{
    position: relative;
    top: -3px;
}

.popup-medium {
    background: #FFF;
    width: auto;
    max-width: 650px;
    position: relative;
    margin: 40px auto;
}


.loadingInvoices {
    margin: auto;
    width: 50px;
    margin-top: 95px;
    margin-bottom: 95px;
}

.loadingInvoices img {
    width: 50px;
}

.totalPrice {
    font-size: 15px;
    font-weight: bold;
    margin-top: 12px;
}

.tc-icon-bold.dashboard tbody td {
    padding-top: 8px;
    padding-bottom: 8px;
}


#high-column .c3-axis.c3-axis-x ,#high-column .c3-axis.c3-axis-y {
    display: none !important;
}

.no-invoices{
    text-align: center;
    margin-top: 100px;
}

.offline-version.ng-scope {
    position: fixed;
    width: 400px;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: #FFF;
    border-radius: 8px;
    padding: 30px;
}

.no-entities{
    min-height: 400px;
    text-align: center;
    padding-top: 100px;
}


.company-title {
    text-transform: uppercase;
}
.user-account-type {
    text-transform: uppercase;
    font-size: 9.5px;
}

.text-space {
    padding-top:5px;
    margin-left: 5px;
}

.sp-link {
    color: #000;
    text-decoration: underline;
}
img.img-responsive {
    background: #000;
    padding: 5px 15px;
}

/* ==========================================================================
   Modern Badges & Labels
   ========================================================================== */
.label {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
    letter-spacing: 0.2px;
}
.label-success {
    background-color: #10b981 !important;
    color: #ffffff !important;
}
.label-warning {
    background-color: #f59e0b !important;
    color: #ffffff !important;
}
.label-danger {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}
.label-primary {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}
.label-default {
    background-color: #94a3b8 !important;
    color: #ffffff !important;
}
.label-info {
    background-color: #06b6d4 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Modern Dashboard Analytics Styles
   ========================================================================== */
.dashboard-page {
    padding-bottom: 40px;
}

/* Topbar improvements */
.dashboard-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dashboard-company-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0;
}
.dashboard-badge-account {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-left: 8px;
}
.dashboard-year-select {
    min-width: 130px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}
.dashboard-year-select:focus {
    border-color: #3b82f6;
    background: #ffffff;
}

/* Quick Action Bar */
.quick-action-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.quick-action-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    font-weight: 600;
}
.quick-action-btn:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.quick-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.quick-action-icon.icon-blue { background: #eff6ff; color: #2563eb; }
.quick-action-icon.icon-green { background: #ecfdf5; color: #059669; }
.quick-action-icon.icon-purple { background: #faf5ff; color: #7c3aed; }
.quick-action-icon.icon-amber { background: #fffbeb; color: #d97706; }
.quick-action-icon.icon-cyan { background: #ecfeff; color: #0891b2; }
.quick-action-icon.icon-rose { background: #fff1f2; color: #e11d48; }

/* Metric Cards */
.metrics-row {
    margin-bottom: 24px;
}
.metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    height: 100%;
    min-height: 140px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 15px;
}
.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
.metric-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.metric-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0;
}
.metric-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.metric-card-icon.metric-blue { background: #eff6ff; color: #2563eb; }
.metric-card-icon.metric-green { background: #ecfdf5; color: #059669; }
.metric-card-icon.metric-amber { background: #fffbeb; color: #d97706; }
.metric-card-icon.metric-red { background: #fef2f2; color: #dc2626; }
.metric-card-icon.metric-purple { background: #faf5ff; color: #7c3aed; }
.metric-card-icon.metric-cyan { background: #ecfeff; color: #0891b2; }

.metric-card-value {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 6px;
    word-break: break-word;
}
.metric-card-sub {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

/* Progress bar inside cards */
.metric-progress-wrapper {
    margin-top: 8px;
}
.metric-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.metric-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Alert badge in cards */
.metric-alert-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}
.metric-alert-pill.pill-danger {
    background: #fee2e2;
    color: #991b1b;
}
.metric-alert-pill.pill-warning {
    background: #fef3c7;
    color: #92400e;
}
.metric-alert-pill.pill-success {
    background: #d1fae5;
    color: #065f46;
}

/* Dashboard panels */
.dashboard-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    overflow: hidden;
}
.dashboard-panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dashboard-panel-body {
    padding: 20px;
}

/* Top 5 list items */
.top-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.top-list-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.top-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.top-list-item:first-child {
    padding-top: 0;
}
.top-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.top-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 65%;
}
.top-rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.top-rank-badge.rank-1 { background: #fef3c7; color: #b45309; }
.top-rank-badge.rank-2 { background: #e2e8f0; color: #334155; }
.top-rank-badge.rank-3 { background: #ffedd5; color: #c2410c; }
.top-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-item-sub {
    font-size: 11px;
    color: #64748b;
    margin-left: 4px;
}
.top-item-amount {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    white-space: nowrap;
}
.top-bar-bg {
    height: 5px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}
.top-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Stock Alert Table */
.stock-alert-table {
    width: 100%;
    border-collapse: collapse;
}
.stock-alert-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.stock-alert-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.stock-alert-table tr:last-child td {
    border-bottom: none;
}
