html, body{
    background-color: #05060a;
    color: #e5e7eb;
    height:100%;
}

:root{
    --dm-bg: #05060a;
    --dm-surface: #0b0f19;
    --dm-surface-2: #0f172a;
    --dm-border: rgba(148, 163, 184, 0.20);
    --dm-text: #e5e7eb;
    --dm-muted: #94a3b8;
    --dm-accent: #00e5ff;
    --dm-accent-2: #a855f7;
    --dm-radius: 18px;
}

body{
    background: radial-gradient(1200px 600px at 20% 0%, rgba(0, 229, 255, 0.10), transparent 60%),
                radial-gradient(900px 500px at 90% 10%, rgba(168, 85, 247, 0.10), transparent 55%),
                linear-gradient(180deg, #05060a 0%, #070815 45%, #05060a 100%);
    color: var(--dm-text);
}

p,
span,
label,
small,
h1,
h2,
h3,
h4,
h5,
h6{
    color: var(--dm-text);
}

a{
    color: var(--dm-accent);
}

a:hover,
a:focus{
    color: #7df9ff;
}

.text-muted{
    color: var(--dm-muted) !important;
}

.card,
.modal-content,
.dropdown-menu{
    background: rgba(11, 15, 25, 0.58);
    border: 1px solid var(--dm-border);
    color: var(--dm-text);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    border-radius: var(--dm-radius);
}

.table-responsive{
    border-radius: var(--dm-radius);
}

.table{
    border-radius: var(--dm-radius);
    overflow: hidden;
}

.btn,
.form-control,
.form-select,
select,
textarea{
    border-radius: 14px !important;
}

.navbar,
.site-header,
.hdr-topstrip,
.header-area,
.app-header-area{
    background: rgba(11, 15, 25, 0.65) !important;
    border-bottom: 1px solid var(--dm-border) !important;
    backdrop-filter: blur(14px) !important;
}

#SiteWrapper #masthead.site-header,
#SiteWrapper #masthead.site-header .app-navbar.navbar{
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
}

#SiteWrapper #masthead.site-header .app-navbar .navbar-nav .nav-link{
    color: #ffffff !important;
}

#SiteWrapper #masthead.site-header .app-navbar .navbar-nav .nav-link:hover,
#SiteWrapper #masthead.site-header .app-navbar .navbar-nav .nav-link:focus{
    color: var(--dm-accent) !important;
}

#SiteWrapper #masthead.site-header .app-navbar .dropdown-menu{
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.hdr-topstrip,
.hdr-topstrip a,
.header-area a,
.app-header-area a{
    color: var(--dm-text) !important;
}

.app-nav-menu .menu-item a{
    color: var(--dm-text) !important;
}

.app-nav-menu .menu-item a:hover,
.app-nav-menu .menu-item a:focus{
    color: var(--dm-accent) !important;
}

.app-nav-logout{
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(0, 229, 255, 0.25) !important;
    color: var(--dm-text) !important;
}

.app-nav-logout:hover,
.app-nav-logout:focus{
    border-color: rgba(0, 229, 255, 0.55) !important;
    color: var(--dm-accent) !important;
}

.card .card-body{
    color: var(--dm-text);
}

.table{
    color: var(--dm-text);
}

.table thead th{
    color: var(--dm-muted);
}

.table thead th,
.table thead td{
    background-color: rgba(11, 15, 25, 0.72) !important;
    color: var(--dm-muted) !important;
    border-color: var(--dm-border) !important;
}

#excelTable thead th,
#excelTable thead td{
    background-color: rgba(11, 15, 25, 0.72) !important;
    color: var(--dm-muted) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > *{
    color: var(--dm-text);
    background-color: rgba(15, 23, 42, 0.55);
}

.table-striped > tbody > tr:nth-of-type(even) > *{
    color: var(--dm-text);
    background-color: rgba(11, 15, 25, 0.75);
}

.table td,
.table th{
    border-color: var(--dm-border) !important;
}

.form-control,
.form-select,
select,
textarea{
    background-color: rgba(15, 23, 42, 0.75) !important;
    color: var(--dm-text) !important;
    border: 1px solid var(--dm-border) !important;
}

.form-control::placeholder{
    color: rgba(148, 163, 184, 0.85);
}

.form-control:focus,
.form-select:focus{
    border-color: rgba(0, 229, 255, 0.65) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.12) !important;
}

.btn{
    border-color: var(--dm-border) !important;
    color: var(--dm-border) !important;
}

.btn-primary{
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.85), rgba(168, 85, 247, 0.85));
    border: 1px solid rgba(0, 229, 255, 0.30);
    color: #05060a;
    font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus{
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.95), rgba(168, 85, 247, 0.95));
    border-color: rgba(0, 229, 255, 0.50);
    color: #05060a;
}

#SiteWrapper{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#SiteWrapper > .site-footer{
    margin-top: auto;
}

.sidenav {
    width: 250px;
    border-right: 1px solid #e6e6e6;
    padding-top: 20px;
    overflow: visible;
    background: rgba(11, 15, 25, 0.86);
    border-right: 1px solid var(--dm-border);
}

.pl-filters{
    background: rgba(11, 15, 25, 0.86);
    width: 280px;
    flex: 0 0 280px;
    min-width: 280px;
    position: fixed;
    top: 104px;
    left: 20px;
    align-self: flex-start;
    overflow-x: visible;
    overflow-y: auto;
    height: auto;
    max-height: calc(100vh - 124px);
    z-index: 100;
}

.pl-filters-inner{
    max-height: none;
    overflow: visible;
    padding-left: 2px;
    padding-right: 2px;
}

#monthFilters{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.pl-filters-title{
    font-size: 14px;
    letter-spacing: 0.4px;
}

.pl-filters-subtitle{
    font-size: 12px;
}

.pl-filter-label{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--dm-muted);
}

.pl-filter-pills{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.pl-filter-pill{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border: 1px solid var(--dm-border);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
    user-select: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pl-filter-pill:hover{
    border-color: rgba(0, 229, 255, 0.35);
}

.pl-filter-pill-input{
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}

.pl-filter-pill-text{
    font-size: 13px;
    font-weight: 600;
    color: var(--dm-text);
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-filter-pill.is-unchecked{
    opacity: 0.65;
}

.pl-filters input.pl-filter-pill-input{
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pl-filters input[type="checkbox"]{
    width: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
 }

 .pl-filters .form-check.form-switch{
     padding-left: 0;
     display: flex;
     align-items: center;
 }

 .pl-filters .form-check.form-switch .form-check-input{
     -webkit-appearance: none !important;
     appearance: none !important;
     width: 2.6em !important;
     height: 1.35em !important;
     margin: 0 !important;
     border-radius: 999px !important;
     background-color: rgba(2, 6, 23, 0.90) !important;
     border: 1px solid rgba(148, 163, 184, 0.55) !important;
     background-repeat: no-repeat !important;
     background-size: 1.05em 1.05em !important;
     background-position: 0.15em 50% !important;
     background-image: radial-gradient(circle, rgba(229, 231, 235, 0.95) 0 48%, rgba(229, 231, 235, 0) 49%) !important;
     transition: background-position 160ms ease, background-color 160ms ease, border-color 160ms ease;
 }

 .pl-filters .form-check.form-switch .form-check-input:checked{
     background-color: rgba(0, 229, 255, 0.95) !important;
     border-color: rgba(0, 229, 255, 0.95) !important;
     background-position: 1.40em 50% !important;
     background-image: radial-gradient(circle, rgba(2, 6, 23, 0.92) 0 48%, rgba(2, 6, 23, 0) 49%) !important;
 }

 .pl-filters .form-check-input:focus{
     box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.20);
     border-color: rgba(0, 229, 255, 0.70);
 }

 .pl-filters .form-check-input:checked{
     background-color: rgba(0, 229, 255, 0.95);
     border-color: rgba(0, 229, 255, 0.95);
 }

 .pl-filters .form-check-label{
     font-size: 13px;
     font-weight: 600;
     color: var(--dm-text);
     line-height: 1.2;
     padding-left: 4px;
 }

.pl-report-content{
    min-width: 0;
    padding-top: 100px !important;
}

.pl-main{
    overflow: visible;
}

.main.pl-main{
    overflow: visible !important;
    overflow-y: visible !important;
    height: auto;
    min-height: calc(100vh - 80px);
    overflow-x: hidden !important;
    position: relative;
    z-index: 0;
}

.main.pl-main::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("background1.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

.main.pl-main > .container-fluid{
    height: auto;
}

.main.pl-main > .container-fluid > .d-flex{
    height: auto;
    min-height: calc(100vh - 80px);
    padding-left: 320px;
}

.main.pl-main .pl-filters{
    height: auto;
}

.main.pl-main .pl-filters-inner{
    max-height: 100%;
}

.main.pl-main .pl-report-content {
    position: relative;
    overflow: visible;
}

.pl-topcosts-chart {
    height: 240px;
    width: 100%;
    position: relative;
}

.pl-topcosts-chart canvas {
    height: 240px !important;
    width: 100% !important;
}

.main.pl-main .pl-report-content .card,
.main.pl-main .pl-report-content .modal-content,
.main.pl-main .pl-report-content .dropdown-menu{
    backdrop-filter: none;
}

.pl-chart-empty{
    border: 1px dashed rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.35);
    color: var(--dm-muted);
    border-radius: 10px;
    padding: 14px;
    font-weight: 600;
    font-size: 13px;
}

.main{
    background: transparent;
}

.login-wrapper{
    background: transparent;
}

.flipper{
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.92), rgba(15, 23, 42, 0.80)) !important;
    border: 1px solid rgba(0, 229, 255, 0.18);
}

.flipbutton{
    color: var(--dm-accent);
}

#excelTable{
    table-layout: fixed;
}

#excelTable th,
#excelTable td{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#excelTable th{
    max-width: 240px;
}

#excelTable td{
    max-width: 280px;
}

.sidenav .nav-link{
    color: var(--dm-text) !important;
}

.sidenav .nav-link:hover,
.sidenav .nav-link:focus{
    color: var(--dm-accent) !important;
}

.app-header-area{
    background: rgba(11, 15, 25, 0.86) !important;
    border-bottom: 1px solid var(--dm-border) !important;
}

.app-header-area .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.app-topnav-logo{
    height: 44px;
    width: auto;
    display: block;
}

.app-navigationpanel{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.app-nav-menu{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-nav-menu .menu-item a{
    display: block;
    padding: 10px 8px;
    color: var(--dm-text) !important;
    font-weight: 600;
    text-decoration: none;
}

.app-nav-menu .menu-item a:hover,
.app-nav-menu .menu-item a:focus{
    color: var(--dm-accent) !important;
}

.app-nav-right{
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.app-nav-welcome{
    color: var(--dm-text) !important;
    font-weight: 600;
}

.app-nav-logout{
    color: var(--dm-text) !important;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 10px;
    border: 1px solid rgba(0, 229, 255, 0.25) !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.55) !important;
}

.app-nav-logout:hover,
.app-nav-logout:focus{
    color: var(--dm-accent) !important;
    border-color: rgba(0, 229, 255, 0.55) !important;
}

#SiteWrapper #masthead.site-header,
#SiteWrapper #masthead.site-header *{
    color: var(--dm-text);
}

#SiteWrapper #masthead.site-header,
#SiteWrapper #masthead.site-header .app-header-area,
#SiteWrapper #masthead.site-header .header-area,
#SiteWrapper #masthead.site-header .container{
    background: rgba(11, 15, 25, 0.65) !important;
    border-bottom: 1px solid var(--dm-border) !important;
}

#SiteWrapper #masthead.site-header a{
    color: var(--dm-text) !important;
}

@media screen and (max-width: 768px) {
    .sidenav {
        width: 100%;
        height: auto;
        position: relative;
    }

    .pl-filters{
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        position: relative;
        top: 0;
        left: 0;
        margin-top:100px !important;
    }

    .pl-filters-inner{
        padding-bottom: 18px;
    }

    .main.pl-main > .container-fluid > .d-flex{
        padding-left: 0;
    }
    
    .main {
        margin-left: 0;
    }
}
.inline{
    display: flex;
    flex-direction: row;
}

.block{
    display: flex;
    flex-direction: column;
}

#add-button{
    flex-basis: 30%;
    margin-left: 8px;
}

.new-field-name{
    flex-basis:40%;
    padding-right: 8px;
}

.new-field-code{
    flex-basis:60%;
}

.template-field{
    margin-right:8px;
}


.flip-container {
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom:40px;
    padding-top:40px;
}

.flipper {
  padding: 30px;
  width: 400px;
  height:400px;
  position: relative;
    background: #ff7e00; /* Orange from 4easy.business/sr */
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
	
	transition: 0.6s;
	transform-style: preserve-3d;
}

.front, .back {
  /*background-color: rgba(0,0,0,.3);*/
  position: absolute;
    padding:10px 30px;
  top: 0;
  left: 0;
  right: 0;
	
	backface-visibility: hidden;
}

.front{
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

.back{
    transform: rotateY(180deg);
}
.flip{
		transform: rotateY(180deg);
    height:325px !important;
}
input{
    width:100%;
    margin-bottom:15px;
    height:40px;
    box-sizing: border-box;
    padding:10px;
}

.title{
  text-align: center;
}
.flipbutton{
    color: var(--dm-accent) !important;
    text-decoration:none;
    text-align:left !important;
}

.login-button{
    display: flex;
    justify-content: center;
}

#masthead {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6000;
}
.LgoBX {
    flex: 1;
    display:flex;
    flex-direction: column;
    min-height: 0;
}

.main{
    flex:1;
    background: transparent !important;
    padding:20px;
    overflow-y: auto;
}

.center-content{
    display: flex;
    background: transparent !important;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    height:100%;
}
.login-wrapper{
    width: 100%;
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    padding: 40px 16px;
    position: relative;
    z-index: 0;
}

.login-wrapper::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("background1.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

.pl-filter-pill,
.pl-chart-empty,
.pl-filters,
.sidenav{
    border-radius: var(--dm-radius);
}

.login-logo{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.login-logo--topleft{
    position: absolute;
    top: 18px;
    left: 18px;
    width: auto;
    margin-bottom: 0;
    justify-content: flex-start;
    z-index: 2;
}

.login-logo img{
    max-width: 220px;
    width: 100%;
    height: auto;
}

.login-logo--topleft img{
    max-width: 110px;
    width: 110px;
}

#SiteWrapper #masthead.site-header{
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
}

#SiteWrapper #masthead.site-header .container{
    background: transparent !important;
}

#SiteWrapper #masthead.site-header .app-navbar.navbar{
    background: #000000 !important;
    backdrop-filter: none !important;
}

#SiteWrapper #masthead.site-header .app-navbar.navbar *{
    color: #ffffff !important;
}

#SiteWrapper #masthead.site-header .app-navbar.navbar .dropdown-menu *{
    color: #ffffff !important;
}

.app-navbar{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6000;
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
}

.app-navbar .navbar-nav .nav-link{
    color: #ffffff !important;
}

.app-navbar .navbar-nav .nav-link:hover,
.app-navbar .navbar-nav .nav-link:focus{
    color: var(--dm-accent) !important;
}

.app-navbar .dropdown-menu{
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.app-navbar .dropdown-menu *{
    color: #ffffff !important;
}

.app-user-toggle{
    text-decoration: none !important;
    box-shadow: none !important;
}

.app-user-toggle.dropdown-toggle::after{
    display: none !important;
}

.pl-kpi-card{
    border: 1px solid rgba(0, 229, 255, 0.24) !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(11, 15, 25, 0.78)) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.pl-kpi-card .text-muted{
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.pl-kpi-card .fs-4{
    color: #ffffff;
    font-weight: 900;
    font-size: 1.8rem !important;
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

.pl-kpi-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
    border-color: rgba(0, 229, 255, 0.42) !important;
}

.pl-kpi-card--revenue{ border-color: rgba(0, 229, 255, 0.45) !important; }
.pl-kpi-card--profit{ border-color: rgba(34, 197, 94, 0.45) !important; }
.pl-kpi-card--costs{ border-color: rgba(248, 113, 113, 0.45) !important; }
.pl-kpi-card--tax{ border-color: rgba(168, 85, 247, 0.45) !important; }
.pl-kpi-card--dividend{ border-color: rgba(251, 191, 36, 0.45) !important; }
.pl-kpi-card--net{ border-color: rgba(255, 255, 255, 0.22) !important; }

.logo{
    padding:0 !important;
}

@media screen and (min-width: 1024px) {
    .site-navigation ul.nav-menu > li {
        padding: 10px 8px !important;
    }
}

.login-button{
    color: white !important;
    border-color: white !important;
}