:root {
    --nt-teal: #00bcd4;
    --nt-bg: #fdfdfd;
    --nt-light-teal: #e0f7fa;
    --nt-border: #e8e8e8;
    --nt-text-muted: #9e9e9e;
}

.nt-medical-wrapper {
    background-color: #fff;
    min-height: 100vh;
}

.nt-exit-header {
    padding: 15px 30px;
    border-bottom: 1px solid var(--nt-border);
    position: fixed;
    bottom: 0;
    z-index: 9999;
    background-color: white;
    width: 100%;
    color: black;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.nt-exit-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nt-container {
    margin: 10px auto;
    padding: 0 20px;
}

/* Top Tab Navigation */
.nt-top-tabs {
    display: flex;
    background: #f8f9fa;
    border: 1px solid var(--nt-border);
    border-radius: 12px;
    margin-bottom: 13px;
}
.bg-light-grey-color {
    --bs-bg-opacity: 1;
    background-color: rgba(242, 244, 246, var(--bs-bg-opacity)) !important;
}   
/* Light Grey Background with Inner Shadow */
.bg-light-grey-color {
    background-color: #f8f9fa !important; /* Ekdam light grey color */
    box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.03), 
                inset 0px 2px 5px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Page title cha color thoda dark thevnyasathi (Optional) */
.page-header-title {
    color: #495057;
    font-weight: 500;
}

.nt-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    margin: 3px;
    color: rgb(73, 80, 87);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Placeholder for your images */
.nt-img-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.nt-img-icon img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.nt-tab-item.active .nt-img-icon img {
    transition: transform 0.3s ease;
    filter: var(--primary-color-filter);
    opacity: 1;
}

.nt-tab-item.active {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.nt-tab-item:not(.disabled):hover {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid rgba(9, 169, 223, 0.45);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(9, 169, 223, 0.12);
    transform: translateY(-1px);
}

.nt-tab-item:not(.disabled):hover .nt-img-icon img {
    filter: var(--primary-color-filter);
    opacity: 0.95;
}

.nt-tab-item.disabled {
    cursor: not-allowed;
}

/* Sidebar & Form Flexbox */
.nt-main-flex {
    display: flex;
    align-items: flex-start;
}

.nt-sidebar {
    width: 230px;
    border-right: 1px solid #f0f0f0;
    /* height: auto; */
    /* padding-bottom: 400px; */
}
.nt-sidebar-menu {
    list-style: none;
    /* padding: 0; */
}

.nt-sidebar-item {
    padding: 10px 10px;
    color: rgb(73, 80, 87);
    cursor: pointer;
    font-size: 14.5px;
    transition: border-color 0.2s ease;
    border-bottom: 2.5px solid transparent;
    width: fit-content;
}

.nt-sidebar-item:not(.active):not(.disabled):hover {
    border-bottom-color: var(--primary-color);
}

.nt-sidebar-item.active {
    cursor: default; 
    pointer-events: none;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2.5px solid var(--primary-color);
    width: fit-content;
}

.nt-sidebar-item.disabled {
    cursor: not-allowed;
}

/* Content Area */
.nt-form-card {
    flex: 1;
    padding: 0 40px;
}

.nt-info-banner {
    background: #f1f3f4;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}

.nt-info-img img {
    width: 18px;
    height: 18px;
}

.nt-form-body {
    margin-top: 35px;
}

.nt-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.nt-input-group label {
    display: block;
    font-size: 12px;
    color: #bbb;
    margin-bottom: 8px;
}

.nt-select, .nt-input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--nt-border);
    border-radius: 6px;
    padding: 0 12px;
    background: #fafafa;
    color: #555;
    outline: none;
}

.nt-custom-input-wrapper {
    display: flex;
    gap: 12px;
}

.nt-btn-add {
    background: var(--nt-light-teal);
    color: #444;
    border: 1px solid #b2ebf2;
    padding: 0 20px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}

.nt-btn-save {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.nt-form-footer {
    display: flex;
    justify-content: center;
}
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
/* Container for the 50-50 tabs */
.nadi-horizontal-tabs {
    display: flex;
    width: 100%;
    background-color: #f8f9fa; /* Light grey background */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* margin-bottom: 20px; */
    overflow: hidden;
}
.nadi-sub-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color:rgb(73, 80, 87);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

/* Active State - Teal Color */
.nadi-sub-item.active {
    background-color: #ffffff;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    cursor: default;
    pointer-events: none;
}

/* Hover Effect */
.nadi-sub-item:hover:not(.active) {
    background-color: #f1f1f1;
}

/* Blank Content Card */
.nt-blank-card {
    background: #fff;
    min-height: 300px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}
.comman-btn-style{
    background: white;
    color: var(--primary-color) !important;
    border: rebeccapurple;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px;
}
.comman-btn-style:hover{
    background: white;
    color: var(--primary-color);
    background-color: var(--primary-light) !important;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
}
.comman-btn-style-color{
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px !important;
}
.comman-btn-style-color:hover{
    color: white;
    background-color: var(--primary-dark) !important;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
}
.nt-top-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #dee2e6; 
}

.progress {
    background-color: #f8f9fa; 
    box-shadow: none;
    overflow: hidden;
}
.color-progress {
    color: var(--primary-color-filter);
    font-weight: 900;
    font-size: 11px;
}
.edit-icon-prescription{
    filter: invert(58%) sepia(90%) saturate(1800%) hue-rotate(150deg) brightness(95%) contrast(101%);
}
.prescription-action-btn{
    display: flex   ;
}
#progress-v3 {
    height: 10px;
    border-radius: 999px;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    margin-bottom: 12px;
}

#progress-v3 .progress-bar {
    min-width: 64px;
}

#progress-v3 .progress-bar[aria-valuenow="0"] {
    min-width: 0;
}
