/* ==========================================
   SIMPLE & PROFESSIONAL SARKARI RESULT THEME
   Blue + White Color Scheme
========================================== */

:root{
    --primary:#0d6efd;
    --primary-hover:#0b5ed7;
    --bg:#f5f7fa;
    --card:#ffffff;
    --text:#212529;
    --text-light:#6c757d;
    --border:#dee2e6;
    --table-row:#f8f9fa;
    --shadow:0 2px 10px rgba(0,0,0,.06);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Outfit',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    font-size:16px;
}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:8px;
    height:8px;
}

::-webkit-scrollbar-track{
    background:#f1f3f5;
}

::-webkit-scrollbar-thumb{
    background:#0d6efd;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#0b5ed7;
}

/* ==========================================
   LINKS
========================================== */

a{
    color:var(--primary);
    text-decoration:none;
    transition:.3s;
}

a:hover{
    color:var(--primary-hover);
}

/* ==========================================
   MAIN CONTENT AREA
========================================== */

.sarkari-post-content{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:8px;
    padding:24px;
    overflow-x:auto;
}

/* ==========================================
   HEADINGS
========================================== */

.sarkari-post-content h1{
    font-size:32px;
    margin-bottom:20px;
    color:var(--text);
    font-weight:700;
}

.sarkari-post-content h2{
    font-size:26px;
    margin:25px 0 15px;
    color:var(--primary);
    border-bottom:2px solid var(--border);
    padding-bottom:8px;
    font-weight:700;
}

.sarkari-post-content h3{
    font-size:22px;
    margin:20px 0 12px;
    color:var(--text);
    font-weight:600;
}

.sarkari-post-content h4{
    font-size:18px;
    margin:15px 0 10px;
    color:var(--text);
}

.sarkari-post-content p{
    margin-bottom:15px;
    color:var(--text);
}

/* ==========================================
   LISTS
========================================== */

.sarkari-post-content ul,
.sarkari-post-content ol{
    margin:15px 0 20px 25px;
}

.sarkari-post-content li{
    margin-bottom:8px;
}

/* ==========================================
   TABLES
========================================== */

.sarkari-post-content table{
    width:100%;
    border-collapse:collapse;
    margin:25px 0;
    background:#fff;
    border:1px solid var(--border);
}

.sarkari-post-content th{
    background:var(--primary);
    color:#fff;
    padding:12px;
    text-align:center;
    font-weight:600;
    border:1px solid var(--primary);
}

.sarkari-post-content td{
    padding:12px;
    border:1px solid var(--border);
    color:var(--text);
}

.sarkari-post-content tr:nth-child(even){
    background:var(--table-row);
}

.sarkari-post-content tr:hover{
    background:#eef4ff;
}

/* ==========================================
   BUTTONS
========================================== */

.view-more-btn,
.sarkari-btn{
    display:inline-block;
    padding:12px 28px;
    background:#fff;
    color:var(--primary);
    border:2px solid var(--primary);
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.view-more-btn:hover,
.sarkari-btn:hover{
    background:var(--primary);
    color:#fff;
}

.view-more-btn{
    display:block;
    margin:20px auto;
}

.view-more-btn:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/* ==========================================
   NOTICE BOX
========================================== */

.notice-box{
    background:#eef4ff;
    border-left:4px solid var(--primary);
    padding:15px;
    margin:20px 0;
    border-radius:6px;
}

.notice-box strong{
    color:var(--primary);
}

/* ==========================================
   MARQUEE
========================================== */

.marquee-container{
    overflow:hidden;
    white-space:nowrap;
    position:relative;
    background:#fff;
    border:1px solid var(--border);
    border-radius:6px;
    padding:10px 0;
}

.marquee-content{
    display:inline-block;
    animation:marquee-scroll 25s linear infinite;
    padding-left:100%;
}

.marquee-container:hover .marquee-content{
    animation-play-state:paused;
}

@keyframes marquee-scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}

/* ==========================================
   FORMS
========================================== */

input,
select,
textarea{
    width:100%;
    padding:12px;
    border:1px solid var(--border);
    border-radius:6px;
    outline:none;
    font-family:inherit;
    font-size:15px;
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--primary);
}

/* ==========================================
   CARDS
========================================== */

.card,
.post-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:8px;
    padding:20px;
    transition:.3s;
}

.card:hover,
.post-card:hover{
    box-shadow:var(--shadow);
}

/* ==========================================
   IMAGES
========================================== */

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    body{
        font-size:15px;
    }

    .sarkari-post-content{
        padding:16px;
    }

    .sarkari-post-content h1{
        font-size:26px;
    }

    .sarkari-post-content h2{
        font-size:22px;
    }

    .sarkari-post-content h3{
        font-size:19px;
    }

    .sarkari-post-content table{
        min-width:650px;
    }

    .view-more-btn,
    .sarkari-btn{
        width:100%;
        text-align:center;
    }
}