html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .tutorial-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        transform: none;
        z-index: 9999;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.6); /* optional backdrop */
    }

    body.tutorial-active {
        overflow: hidden;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #0f0f1a;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


.calendar-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    background-color: transparent;
    border: 1px solid #ccc;
    text-align-last: center;
    font-size: 0.75rem;
    min-width: 36px;
    padding: 2px 4px;
}

/* Optional: add a slight hover/focus effect */
.calendar-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, .25);
}

.year-table{
    font-size:0.8em;
}

.dash-btn {
    height: 150px !important;
    width: 150px !important;
    padding: 15px!important;
}

.dash-ul{
    flex-direction: row !important;
}

@media (max-width: 768px) {
    .dash-ul{
        display:block;
    }

    .dash-ul .btn-glass{
        margin-bottom:10px;
    }

    .dash-nav{
        width:100%;
    }

    .dash-btn {
        height: 150px !important;
        width: 100% !important;
        padding:15px !important;
        margin-bottom:20px;
    }

    #headings .btn-glass{
        width:45%;
        margin-left:2.5%;
    }

    .balanceChart{
        height:250px;
        width:80%;
        margin-left:10%;
    }

    .balanceGrid{
        flex-direction: column !important;
    }

    #payTabs li{
        width:100% !important;
    }

    #payTabs button{
        width:100% !important;
    }
}

.balanceChart{
    height:100%;
    width:100%;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.btn-glass {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff !important;
    border: 1px solid #00ffff;
    transition: all 0.3s ease;
    height:50px;
    margin-bottom:5px;
    font-size:0.9em;
}

.btn-glass:hover {
    background: rgba(0, 255, 255, 0.3);
    color: #fff !important;
    box-shadow: 0 0 10px #00ffff;
}

.select-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #00ffff !important;
    border: 1px solid #00ffff;
    border-radius: 6px;
    padding: 0.5rem;
}

.table-dark-glass {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.table-dark-glass th {
    background-color: rgba(0, 255, 255, 0.1);
    color: #00ffff !important;
}

.table-dark-glass td {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

h1, h2, h3, h4, h5 {
    color: #00ffff !important; /* Electric cyan accent */
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00ffff !important;
    margin-top: 8px;
}

a {
    color: #00ffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px #00ffff !important;
    text-decoration: underline;
}

a.glass-link {
    background: rgba(0, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #00ffff !important;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.2);
    display: inline-block;
}

a.glass-link:hover {
    background: rgba(0, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 0 12px #00ffff !important;
}

label {
    color: #00ffff !important; /* Electric cyan accent */
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.3);
}

input:focus + label,
select:focus + label {
    color: #ffffff !important;
    text-shadow: 0 0 6px #00ffff;
}

a.light-accent {
    color: #0077ff !important; /* Electric blue */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

a.light-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #0077ff;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

a.light-accent:hover {
    color: #0055cc !important;
    text-shadow: 0 0 6px rgba(0, 119, 255, 0.4);
}

a.light-accent:hover::after {
    transform: scaleX(1);
}

input[type="file"],
input[type="date"],
input[type="hidden"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    background: rgba(255, 255, 255, 0.05);
    color: #00ffff;
    border: 1px solid #00ffff;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 8px #00ffff;
    border-color: #00ffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Checkbox and Radio */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #00ffff;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.nav-menu-btn {
    background-color: #0f0f1a;
}

.csvHeader{
    background-color: #0f0f1a !important;
}

.csvHeader button{
    position: absolute;
    right:2.5%;
    width:5%;
}

.offshoreCheck{
    display:flex;
    flex-direction: row;
    justify-content: left;
    padding:10px;
}

.offshoreCheck input[type="checkbox"]{
    height:20px !important;
    width:20px !important;
    margin-top:10px;
}

.tutorial-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    z-index: 9999;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
    padding: 1rem;
    display: none;
    color: #00ffff;
}

.tutorial-box{
    padding:15px;
}

.tutorial-box h2 {
    margin-top: 0;
    color: #00ffff;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
}

.tutorial-box img {
    max-width: 100%;
    max-height:500px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.tutorial-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #00ffff;
    cursor: pointer;
    text-shadow: 0 0 6px #00ffff;
}

.tutorial-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.right{
    position: absolute;
    right:1%;
    height:50px;
    width:50px;
}