/* Page Wrapper */
.cmt-page-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 10px auto;
    gap: 30px;
    justify-content: center;
}

/* Sidebars */
.cmt-left-sidebar,
.cmt-right-sidebar {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    padding: 0;
}

/* Main Content */
.cmt-main-content {
    flex: 1 1 600px;
    min-width: 0;
}

/* Responsive Design for Mobile */
@media (max-width: 1024px) {
    .cmt-page-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .cmt-main-content,
    .cmt-left-sidebar,
    .cmt-right-sidebar {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }
    
    /* Order: Main first, then left sidebar, then right */
    .cmt-main-content {
        order: 1;
    }
    .cmt-left-sidebar {
        order: 2;
    }
    .cmt-right-sidebar {
        order: 3;
    }
}

/* Sidebar Sections */
.cmt-sidebar-section {
}

.cmt-sidebar-section:last-child {
    border-bottom: none;
    margin-top: 15px;
}

.cmt-adsense {
    padding: 10px 0px;
}

.cmt-trending-mocktest .cmt-cloud-tags {
    padding: 6px 15px;
}

/* Section Headings - Full Width, No Side Gaps */
.cmt-sidebar-section h3 {
    font-size: 22px;
    margin: 0;
    padding: 2px 12px;
    background: linear-gradient(135deg, #cd3270, #ffd515);
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    border: none;
    text-align: left;
}

/* First heading no top margin/gap */
.cmt-sidebar-section:first-child h3 {
    margin-top: 0;
}

/* Cloud Tags */
.cmt-cloud-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 6px 15px;
}

/* Latest Mock Test List */
.cmt-latest-mocktest ul, .cmt-sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.cmt-latest-mocktest li, .cmt-sidebar-section ul li {
    padding: 4px 15px;
    border-bottom: 1px solid #dedede;
}

.cmt-latest-mocktest li:last-child, .cmt-sidebar-section ul li:last-child {
    border-bottom: none;
}

.cmt-latest-mocktest a, .cmt-sidebar-section ul li a {
    text-decoration: none;
    color: #0073aa;
    font-size: 16px;
}

.cmt-latest-mocktest a:hover, .cmt-sidebar-section ul li a:hover {
    text-decoration: underline;
    color: #005a87;
}

/* Share Buttons */
.cmt-share-buttons {
    margin: 20px 0;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
}

.cmt-share-buttons h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.cmt-share-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-weight: 600;
}

.cmt-share-fb { background: #3b5998; }
.cmt-share-tw { background: #1da1f2; }
.cmt-share-wa { background: #25d366; }
.cmt-share-copy { background: #6c757d; cursor: pointer; border: none; }

.cmt-share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Related Mock Tests */
.cmt-related-mocktests {
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.cmt-related-mocktests h3 {
    font-size: 26px;
    margin-bottom: 18px;
    text-align: center;
    color: #333;
}

/* Base Mock Test Container */
.cmt-mocktest-container {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cmt-mocktest-header {
    text-align: center;
    margin-bottom: 20px;
}

.cmt-mocktest-title {
    font-size: 25px;
    color: #222;
    margin: 0 0 5px 0;
}

.cmt-mocktest-content {
    font-size: 18px;
    color: #444;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
}

.cmt-mocktest-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 18px;
    color: #333;
}

.cmt-info-item strong {
    display: block;
    font-size: 16px;
    color: #666;
}

/* Start Button */
.cmt-start-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

#cmt-start-mocktest {
    padding: 18px 60px;
    font-size: 22px;
    background: linear-gradient(135deg, #ff6b6b, #ffd515);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 15px rgba(255,107,107,0.3);
}

#cmt-start-mocktest:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

/* Active Mock Test */
.cmt-mocktest-active {
    position: relative;
}

.cmt-mocktest-progress {
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.cmt-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.cmt-progress-bar {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

#cmt-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffd515);
    transition: width 0.3s;
}

/* Question Area */
.cmt-question {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cmt-question h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.cmt-question-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #222;
}

.cmt-question-img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Options */
.cmt-options {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced gap */
}

.cmt-option {
    display: flex;
    align-items: center;
    padding: 10px; /* Reduced padding */
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.cmt-option:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.cmt-option-letter {
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
    color: #333;
}

.cmt-option-content {
    flex: 1;
}

.cmt-opt-text {
    font-size: 20px;
    margin: 0;
    color: #333;
}

.cmt-opt-img {
    max-width: 250px;
    border-radius: 8px;
    margin-top: 10px;
}

.cmt-selected {
    background: #f0f8ff !important;
    border-color: #0073aa !important;
}

/* Navigation */
.cmt-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.cmt-button {
    padding: 14px 40px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.cmt-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cmt-button-primary {
    background: linear-gradient(135deg, #ff6b6b, #ffd515);
    color: white;
}

.cmt-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

/* Results */
.cmt-results {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cmt-results h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cmt-score {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 30px;
}

.cmt-stats p {
    font-size: 20px;
    margin: 8px 0;
}

#cmt-review-btn, #cmt-restart-btn {
    margin: 10px;
}

/* Review */
.cmt-review-question {
    margin-bottom: 40px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cmt-review-question h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.cmt-correct {
    border-color: #28a745 !important;
    background: #d4edda !important;
}

.cmt-wrong {
    border-color: #dc3545 !important;
    background: #f8d7da !important;
}

.cmt-explanation {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.6;
}

/* BREADCRUMB STYLING ======= */
.cmt-breadcrumb {
    margin-bottom: 18px;
    font-size: 14px;
}

.cmt-breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.cmt-breadcrumb-item {
    color: #6b7280;
}

.cmt-breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
}

.cmt-breadcrumb-item a:hover {
    text-decoration: underline;
}

.cmt-breadcrumb-item::after {
    content: "›";
    margin: 0 6px;
    color: #9ca3af;
}

.cmt-breadcrumb-item:last-child::after {
    content: "";
}

.cmt-breadcrumb-item.cmt-current {
    color: #111827;
    font-weight: 500;
}


/* Category Page */
.cmt-category-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 20px;
}

.cmt-category-header {
    margin-bottom: 20px;
}

.cmt-category-title {
    font-size: 26px;
    text-align: center;
    color: #333;
    margin: 0 0 20px 0;
}

.cmt-category-description {
    font-size: 20px;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Search */
.cmt-category-search {
    margin-bottom: 20px;
}

.cmt-search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

#cmt-category-search-input {
    width: 100%;
    padding: 18px 50px 18px 25px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s;
}

#cmt-category-search-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 4px rgba(0,115,170,0.1);
}

#cmt-search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

#cmt-search-clear:hover {
    color: #dc3545;
}

#cmt-search-results-count {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    color: #666;
}

/* Cloud Tags - Small, Compact, WordPress Style */
.cmt-mocktest-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 20px 0;
}

/* dinesh */
.cmt-cloud-tag, .cmt-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 1.4;
    background: #f1f1f1;
    color: #333;
    border-radius: 18px;
    text-decoration: none;
    border: 1px solid #ddd;
    white-space: nowrap;
}
.cmt-cloud-tag:hover, .cmt-tag:hover {
    background: #0073aa;
    color: #fff;
}

.cmt-no-mocktests {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 60px 0;
}

/* Load More */
.cmt-load-more {
    text-align: center;
    margin: 50px 0;
}

#cmt-load-more {
    padding: 16px 50px;
    font-size: 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

#cmt-load-more:hover {
    background: #005a87;
    transform: translateY(-3px);
}