/* ===============================
   GLOBAL
================================ */
body{
    background:#f4f6f9;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
}

/* ===============================
   TOP NAVBAR
================================ */
.topbar{
    height:60px;
    background:#041227;
    color:#ffffff;
    border-bottom:1px solid rgba(255,255,255,0.08);
}
.topbar .btn{
    color:#ffffff;
    border-color:rgba(255,255,255,0.3);
}
.topbar .btn:hover{
    background:rgba(255,255,255,0.1);
}
.user-dropdown{
    cursor:pointer;
    color:#ffffff;
}
.dropdown-menu{
    font-size:14px;
}

/* ===============================
   SIDEBAR
================================ */
.sidebar{
    width:260px;
    min-height:100vh;
    background:#041227;
}
.sidebar h6{
    color:#9fb3ff;
}
.sidebar a{
    color:#e6ebff;
    text-decoration:none;
    padding:12px 20px;
    display:block;
    font-weight:500;
    border-radius:6px;
}
.sidebar a:hover,
.sidebar a.active{
    background:rgba(255,255,255,0.12);
    color:#ffffff;
}
.sidebar hr{
    border-color:rgba(255,255,255,0.15);
}

/* ===============================
   CONTENT AREA
================================ */
.content-area{
    padding:20px;
}

/* ===============================
   PLAN CARDS (COMPACT)
================================ */
.plan-card{
    border-radius:12px;
    border:1px solid #eef1f6;
    transition:all .2s ease;
    min-height:120px;
}
.plan-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 16px rgba(4,18,39,0.12);
}
.plan-icon{
    font-size:26px;
    color:#041227;
}
.plan-title{
    font-size:14px;
    font-weight:600;
    color:#041227;
    margin-top:6px;
    line-height:1.2;
}
.plan-code{
    font-size:12px;
    color:#6c757d;
}

.form-narrow {
    max-width: 600px;
}

.input-group-text {
    justify-content: center;
    font-weight: 500;
}

.card {
    border-radius: 12px;
}
.form-check-label {
    cursor: pointer;
}

.input-group-text {
    white-space: nowrap;
}
.stable-hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.toggle-icon {
    transition: transform .2s ease;
}
.toggle-icon.rotate {
    transform: rotate(180deg);
}

.icon-img {
    width: 20px;
    vertical-align: middle;
    margin-right: 4px;
}
.maturity-table th {
    width: 50%;
    text-align: left;
    font-weight: bold;
}
.maturity-table td {
    width: 50%;
    text-align: center;
    font-weight: 600;
}
.yearwise-section-table th,
.yearwise-section-table td {
    text-align: center;
    vertical-align: middle;
}

.year-wise-maturity-row {
    background: linear-gradient(90deg, #e8f8ff, #d6f2ff);
}

.year-wise-maturity-row td {
    font-weight: bold;
}
.year-wise-post-maturity-row {
    background: linear-gradient(90deg, #f3fbff, #eaf7ff);
}

.year-wise-post-maturity-row td {
    font-weight: 600;
    color: #3a6f80;
}
.year-wise-ppt-row {
    background: linear-gradient(90deg, #f7fbff, #eef7ff);
}

.year-wise-ppt-row td {
    font-weight: 500;
}
.year-wise-death-row {
    background: linear-gradient(90deg, #272118, #ffe0cc);
    font-weight: 600;
}
.death-claim-total-row {
  background: #f3f7ff;
  font-weight: 600;
}
.icon-img {
    width: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

.sub-text {
    font-size: 8px;
    color: #555555;
    padding-left: 18px;
    display: none;
}
.label-row {
    text-align: left;
    vertical-align: top;
}
.label-main {
    font-weight: bold;
}
.icon-inline {
    vertical-align: middle;
    margin-right: 6px;
}

.sub-text {
    font-size: 11px;
    color: #555;
    display: none;
}
.sub-text-new {
    font-size: 8px;
    color: #555555;
    padding-left: 18px;
    
}

.label-main {
    font-weight: bold;
}
/* ===============================
   MOBILE SIDEBAR
================================ */
@media (max-width:768px){
    .sidebar{
        position:fixed;
        left:-260px;
        transition:all .3s;
        z-index:1050;
    }
    .sidebar.show{
        left:0;
    }
}
