.srdqw-container {
    max-width: 1150px;
    margin: 30px auto;
    padding: 10px;
}

.srdqw-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.srdqw-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.srdqw-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.09);
    border: 1px solid #e6e6e6;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

.srdqw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
}

.srdqw-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.srdqw-card-body {
    padding: 15px 18px;
}

.srdqw-title {
    font-size: 20px;
    font-weight: 600;
    color: #003366;
}

.srdqw-desc {
    font-size: 14px;
    margin: 8px 0 15px 0;
    color: #444;
}

.srdqw-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #ff8c00;
    color: white !important;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.srdqw-btn:hover {
    background: #ff7800;
}

.srdqw-sort-select,
.srdqw-search-input {
    height: 45px !important;
}
/*frontend-shortcode */
.srdqw-card img.srdqw-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background:#f1f1f1;
}
/* v8.2 badges and animations */
.srdqw-card { position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.srdqw-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(3,37,76,0.14); }

.srdqw-thumb { width:100%; height:180px; object-fit:cover; display:block; background:#f6f6f6; }
.srdqw-card-body { padding:16px; }
.srdqw-badge-wrap { position:absolute; top:12px; left:12px; z-index:5; }
.srdqw-badge {
    display:inline-block; padding:6px 8px; font-size:12px; font-weight:700; color:#fff; border-radius:6px;
    box-shadow:0 4px 12px rgba(0,0,0,0.12);
}
.srdqw-badge-new { background: #0073e6; }
.srdqw-badge-upd { background: #ff8c00; }
.srdqw-badge-pop { background: #28a745; }

.srdqw-meta { margin-top:8px; color:#555; font-size:13px; }
.srdqw-sets-count { font-weight:600; color:#003366; }

#srdqw-suggestions { background:#fff; border:1px solid #e6e6e6; border-top:none; max-height:280px; overflow:auto; }
#srdqw-suggestions .list-group-item { padding:10px; }
.exam-header {
    background:#003e7e;
    color:#fff;
    padding:15px 20px;
    border-radius:8px;
    display:flex;
    justify-content:space-between;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.sub-info { margin-top:-6px; font-size:14px; opacity:0.9; }

.exam-header-right {
    text-align:right;
}

.timer-box, .qn-box {
    font-size:16px;
    font-weight:600;
}

.exam-layout {
    display:flex;
    margin-top:20px;
}

.exam-left {
    flex:70%;
    padding-right:20px;
}

.exam-right {
    flex:30%;
    background:#f8f8f8;
    padding:20px;
    border-radius:8px;
    height:fit-content;
}

.question-box {
    font-size:20px;
    margin-bottom:20px;
}

.options-box .option-card {
    padding:12px 16px;
    border:1px solid #ddd;
    border-radius:8px;
    margin-bottom:10px;
    cursor:pointer;
    transition:0.2s;
}
.options-box .option-card:hover {
    background:#00a5c1;
	color:white;
}
.option-selected {
    border-color:#003e7e;
    background:#c17500;
	color:white;
}

.btn-green {
    background:#28a745;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    border:none;
    margin-right:10px;
}

.btn-grey {
    background:#ccc;
    padding:10px 18px;
    border-radius:6px;
}

.nav-buttons {
    margin-top:20px;
}

.btn-nav {
    background:#003e7e;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    border:none;
    margin-right:10px;
}

.question-grid {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:8px;
    margin-top:10px;
}

.question-grid button {
    padding:8px 0;
    border-radius:4px;
    border:none;
    cursor:pointer;
    font-weight:600;
}

.q-current { background:#ffcc00; }
.q-done { background:#28a745; color:#fff; }
.q-not { background:#ff4747; color:#fff; }

