/* ===========================
   MPDS JYOTISH STUDIO
   MODULE DESIGN SYSTEM
=========================== */

.module-card{
    max-width:900px;
    margin:30px auto;
    background:#ffffff;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.module-title{
    text-align:center;
    font-size:32px;
    font-weight:bold;
    color:#2c3e50;
    margin-bottom:8px;
}

.module-subtitle{
    text-align:center;
    font-size:18px;
    color:#777;
    margin-bottom:30px;
}

.section{
    margin-top:30px;
}

.section-title{
    font-size:20px;
    font-weight:bold;
    color:#005792;
    border-left:6px solid #005792;
    padding-left:12px;
    margin-bottom:18px;
}

.info-row{

    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:12px 0;
    border-bottom:1px solid #ECECEC;

}

.info-label{

    width:170px;
    min-width:170px;

    font-weight:700;
    color:#2c3e50;

}

.info-value{

    flex:1;
    color:#222;
    line-height:1.7;

    text-align:left;

}
/* .label{
    width:180px;
    font-weight:bold;
    color:#444;
}

.value{
    flex:1;
    color:#222;
} */

.highlight-box{
    background:#fff8dc;
    border-left:6px solid #f4b400;
    padding:18px;
    border-radius:10px;
    margin-top:20px;
}

.tag-container{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.tag{
    background:#005792;
    color:white;
    padding:8px 14px;
    border-radius:25px;
    font-size:14px;
}

.note-box{
    background:#f7f7f7;
    border-left:5px solid #999;
    padding:15px;
    border-radius:8px;
    margin-top:15px;
}

.remark-box{
    min-height:120px;
    border:2px dashed #bbb;
    border-radius:10px;
    padding:15px;
    color:#666;
    margin-top:15px;
}

@media(max-width:700px){

.info-row{
    display:block;
}

.label{
    width:100%;
    margin-bottom:5px;
}

.module-card{
    margin:15px;
    padding:20px;
}

.module-title{
    font-size:26px;
}

}

/* =====================================
   Nakshatra Buttons
===================================== */

.nak-btn{

background:#ffffff;

border:2px solid #d6b36a;

border-radius:12px;

padding:15px;

font-size:16px;

font-weight:600;

cursor:pointer;

width:165px;

height:170px;

transition:.30s;

box-shadow:0 4px 10px rgba(0,0,0,.08);

}

.nak-btn:hover{

transform:translateY(-4px);

background:#fdf7e8;

box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.summary-btn{

background:#203864;

color:white;

border:none;

padding:14px 22px;

border-radius:10px;

font-size:16px;

cursor:pointer;

margin-top:25px;

transition:.3s;

}

.summary-btn:hover{

background:#31548d;

}

.module-intro{

font-size:18px;

line-height:1.7;

margin:20px 0;

color:#444;

}

.nak-icon{

    font-size:34px;
    margin-bottom:10px;

}

.nak-name{

    font-size:18px;
    font-weight:700;
    color:#203864;

    min-height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

.nak-hindi{

    margin-top:5px;
    font-size:14px;
    color:#777;

}

.navigation-bar{

    display:flex;

    gap:20px;

    margin-top:40px;

}

.nav-btn{

    flex:1;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#203864;

    color:white;

    border:none;

    padding:14px 22px;

    border-radius:10px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.nav-btn:hover{

    background:#31548d;

}

.nav-btn:disabled{

    opacity:0.45;

    cursor:not-allowed;

    pointer-events:none;

    filter:grayscale(100%);

}

.nav-btn:hover{

background:#31548d;

}

/* ======================================
   Breadcrumb
====================================== */

.breadcrumb{

display:flex;

align-items:center;

gap:10px;

font-size:15px;

margin-bottom:20px;

color:#666;

flex-wrap:wrap;

}

.breadcrumb span{

cursor:pointer;

}

.breadcrumb span:last-child{

font-weight:600;

color:#203864;

cursor:default;

}

.crumb-sep{

color:#999;

cursor:default !important;

}

/* ======================================
   Nakshatra Meta
====================================== */

.nak-meta{

display:flex;

flex-wrap:wrap;

gap:15px;

margin-top:12px;

margin-bottom:25px;

font-size:15px;

color:#555;

}

.nak-meta div{

background:#f7f7f7;

padding:8px 14px;

border-radius:8px;

}

.keyword-box{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:10px;

}

.keyword-chip{

    background:#E7EEF9;

    color:#203864;

    padding:6px 12px;

    border-radius:20px;

    font-size:14px;

    font-weight:600;

}

.info-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(420px,1fr));

    gap:20px;

    margin:20px 0;

    justify-content:center;

}

@media(max-width:1000px){

    .info-grid{

        grid-template-columns:1fr;

    }

}

.info-card{

    background:#F8FAFD;

    border:1px solid #D8E2F0;

    border-radius:12px;

    padding:16px;

    text-align:center;

}

.info-title{

    font-size:13px;

    color:#666;

    text-transform:uppercase;

    margin-bottom:8px;

    font-weight:600;

}

.info-value{

    font-size:18px;

    font-weight:700;

    color:#203864;

}

.content-card{

    background:#FFFFFF;

    border:1px solid #DCE6F5;

    border-radius:14px;

    padding:20px;

    margin:20px 0;

    box-shadow:0 3px 10px rgba(0,0,0,.05);

}

.content-title{

    font-size:22px;

    font-weight:700;

    color:#203864;

    margin-bottom:14px;

}

.content-body{

    font-size:20px;

    line-height:1.8;

    color:#333;

}
}

/* ======================================
   MPDS Content Card
====================================== */

.content-card{

    background:#FFFFFF;

    border:1px solid #DCE6F5;

    border-radius:14px;

    padding:20px;

    margin:20px 0;

    box-shadow:0 3px 10px rgba(0,0,0,.05);

}

.content-title{

    font-size:22px;

    font-weight:700;

    color:#203864;

    margin-bottom:14px;

}

.section-hindi{

    display:block;

    margin-top:4px;

    font-size:18px;

    font-weight:500;

    color:#666;

}

.content-body{

    font-size:20px;

    line-height:1.8;

    color:#333;

}

/* ======================================
   Rashi Header Info
====================================== */

.rashi-header-info{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    margin:12px 0 28px;

}

.rashi-header-info span{

    background:#eef4fb;

    color:#203864;

    padding:8px 16px;

    border-radius:999px;

    font-size:16px;

    font-weight:600;

    border:1px solid #dce6f5;

}

/* ======================================
   Navigation Bar
====================================== */

.navigation-bar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

    margin-top:30px;

}

.nav-btn,
.home-btn{

    flex:1;

    padding:12px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

}

.nav-btn{

    background:#e8f1ff;

    color:#1f4e79;

}

.home-btn{

    background:#1f4e79;

    color:white;

}

.nav-btn:hover,
.home-btn:hover{

    opacity:.9;

}


/* ======================================
   Full Width Cards
====================================== */

.full-width{

    grid-column:1 / -1;

}

/* ======================================
   MPDS Renderer
====================================== */


.mpds-list{

    margin:0;
    padding-left:35px;

    list-style-type:disc;
    list-style-position:outside;

}

/* .mpds-list li{

    display:list-item;
    margin:8px 0;
    line-height:1.7;
    text-align:left;

} */

.mpds-list li{

    display:list-item !important;

    margin:8px 0;

    line-height:1.7;

    text-align:left;

}

.mpds-paragraph{

    line-height:1.8;
    white-space:normal;

}

.search-highlight{

    background:#ffeb3b;

    color:#000;

    font-weight:bold;

    padding:2px 4px;

    border-radius:4px;

}

.search-section{

    color:#1976d2;

    font-weight:600;

    font-size:12px;

}

.search-counter{

    padding:8px 12px;

    font-size:12px;

    color:#666;

    border-bottom:1px solid #ddd;

    background:#fafafa;

    font-weight:600;

}

