.button-primary {
    background-color: #0a778c;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}

.metric-card {
    transition: all 0.2s ease-in-out;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.large-dialog {
    width: 88vw !important;
    height: 66vh !important;
    max-width: 88vw !important;
    max-height: 66vh !important;
    overflow: hidden;
    /* Ensure no scrollbars inside */
}

.large-dialog .q-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.highlight-tab {
    background-color: #fff3cd;
    /* A light yellow background */
    border: 2px solid #ffecb5;
    border-radius: 4px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.ta-full-height {
    height: 95vh;
    max-height: 95vh;
    resize: none !important;
}

.nicegui-markdown h1 {
    font-size: 1.3rem !important;
}

.nicegui-markdown h2 {
    font-size: 1.2rem !important;
}

.nicegui-markdown h3 {
    font-size: 1.1rem !important;
}

.nicegui-markdown h4 {
    font-size: 1rem !important;
}

.nicegui-markdown h5 {
    font-size: 0.9rem !important;
}

.nicegui-markdown h6 {
    font-size: 0.8rem !important;
}

.nicegui-markdown p,
.nicegui-markdown li,
.nicegui-markdown td {
    font-size: 0.8rem;
    /* Smaller normal text */
    color: #333;
    /* Dark grey for readability */
}


.q-btn-group>.q-btn-item {
    border-right: 1px solid;
}

.q-btn-group>.q-btn-item:last-child {
    border-right: none;
}

.q-btn-group>.q-btn-item.bg-primary {
    border-right-color:#135477;
}

.nicegui-scroll-area.pt-0 .q-scrollarea__content {
    padding-top: 0;
}
.nicegui-scroll-area.pl-0 .q-scrollarea__content {
    padding-left: 0;
}
.nicegui-scroll-area.p-0 .q-scrollarea__content {
    padding-top: 0;
    padding-left: 0;
    padding-bottom: 0;
    /* keep the padding-right as it is used for custom scrollbar */
    /* padding-right: 0; */
}

.small.q-field--dense .q-field__control-container,
.small.q-field--dense .q-field__native {
  }

.small.q-field--dense .q-field__control {
    height: 32px !important;
    min-height: 32px !important;
}

.small.q-field--dense .q-field__marginal {
    height: 32px !important;
}

.small.q-field--dense .q-field__label {
    top: 6px !important;
}

