/* ===== GENERAL ===== */
body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(135deg, #0d6efd, #1b3fa3);
    padding: 90px 0;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 20px 0;
}

/* ===== SECTIONS ===== */
.section-title {
    font-weight: 700;
}

/* ===== FEATURES ===== */
.feature-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ===== ROLES ===== */
.role-card {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    height: 100%;
}

.role-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 20px 0;
    margin-top: 30px;
}
/* ===== DASHBOARD ===== */
.dashboard-card {
    border-radius: 10px;
}

.dashboard-card h6 {
    font-size: 0.9rem;
    color: #555;
}
/* ===== ADMIN DASHBOARD ===== */
.dashboard-card {
    border-radius: 10px;
}

.dashboard-card h6 {
    font-size: 0.9rem;
}

.dashboard-card h2 {
    margin-top: 10px;
}
.table td, .table th {
    vertical-align: middle;
    font-size: 0.9rem;
}

.badge {
    font-size: 0.75rem;
}
.table th, .table td {
    font-size: 0.9rem;
    vertical-align: middle;
}

.badge {
    font-size: 0.75rem;
}
/* ===== COURT LETTER ===== */
.letter-card {
    max-width: 900px;
    margin: auto;
}

.letter-body {
    min-height: 250px;
    line-height: 1.7;
    text-align: justify;
    white-space: normal;
}
.my-letters-box{
    background: #f9fbff;
    border: 1px solid #e1e7ff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Heading */
.my-letters-box h4{
    color: #1a237e;
    margin: 0;
}

/* Download Button */
.download-btn{
    font-weight: 600;
    border-radius: 30px;
    padding: 6px 18px;
    transition: all 0.3s ease;
}

.download-btn:hover{
    background: #1a237e;
    border-color: #1a237e;
    color: #fff;
    transform: translateY(-1px);
}
.court-preview{
    font-family: "Noto Serif Devanagari", serif;
    font-size: 15px;
    line-height: 1.8;
    color: #000;
}

.court-heading{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.court-sub{
    text-align: center;
    font-weight: 600;
    margin-bottom: 6px;
}

.party-block{
    margin-top: 15px;
}

.vs-text{
    text-align: center;
    font-weight: bold;
    margin: 15px 0;
}

.right-label{
    text-align: right;
    font-weight: bold;
    margin-top: 5px;
}

.subject-line{
    margin-top: 20px;
    font-weight: bold;
}

.letter-body{
    margin-top: 15px;
    text-align: justify;
}

.footer-right{
    margin-top: 60px;
    text-align: right;
    font-weight: bold;
}
.details_div{
    background: white;
    border-radius: 10px;
}
/* ===== PRINT ===== */
@media print {
    body {
        margin: 25mm;
    }
}



/* Mobile responsive */
@media(max-width: 576px){
    .my-letters-box{
        padding: 10px 4px;
    }
}


/* ===== PRINT STYLES ===== */
@media print {

    nav, footer, .btn {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .letter-card {
        box-shadow: none;
        border: none;
    }
}


/* Mobile center heading */
@media (max-width: 576px) {
    h3 {
        text-align: center;
    }
}

/* Mobile spacing fix */
@media (max-width: 576px) {
    h3 {
        text-align: center;
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}
