/*
 Theme Name:   Bootscore Judgement
 Description:  Bootscore theme for Judgement
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
/* Target specific duplicate elements */

/* Logo Nav css*/
.navbar-brand .logo-img {
    display: block !important; 
    height: auto !important;
}

/* SMALL SCREENS (Mobile: < 768px) */
.navbar-brand .logo-img {
    width: 200px !important;
}

/* LARGE SCREENS (Desktop, Laptop, TV: >= 768px) */
@media (min-width: 768px) {
    .navbar-brand .logo-img {
        width: 260px !important;
    }
}

/* --- Custom Navbar CSS for Pravakta.com --- */

@media (min-width: 900px) {
    /* Stop the primary nav container from wrapping items */
    .navbar-nav {
        flex-wrap: nowrap !important;
    }
    /* Stop the text inside the links (including sub-menus) from breaking */
    .navbar-nav .nav-item .nav-link, 
    .navbar-nav .dropdown-menu .dropdown-item {
        white-space: nowrap !important;
        word-break: normal !important;
    }
}

/* 2. Force Collapse Below 900px */

@media (max-width: 899.98px) {
    /* Hide the horizontal menu list */
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    /* Show the hamburger toggle button */
    .navbar-toggler {
        display: block !important; 
    }
    
    /* Ensure the horizontal menu links are hidden when collapsed */
    .navbar-nav {
        flex-direction: column !important;
    }
}
.card-body .col-md-12:nth-child(2) ~ .col-md-12:nth-child(2),
.card-body label[for="cat"] ~ label[for="cat"],
.card-body .form-select ~ .form-select {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide duplicate form labels */
.card-body .form-label.h5:nth-of-type(n+2) {
    display: none !important;
}

/* Improved Pagination Styling */

.pagination-lg .page-link {
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    color: #0d6efd;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.pagination-lg .page-link:hover {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-lg .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-weight: 600;
}

.pagination-lg .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination-lg .page-link {
        padding: 0.5rem 0.9rem;
        font-size: 1rem;
        min-width: 40px;
    }
    
    .pagination-lg .page-item {
        margin: 0 2px;
    }
}

/* Nav css*/
.navbar-brand .logo-img {
    display: block !important; 
    height: auto !important;
}

/* SMALL SCREENS (Mobile: < 768px) */
.navbar-brand .logo-img {
    width: 200px !important;
}

/* LARGE SCREENS (Desktop, Laptop, TV: >= 768px) */
@media (min-width: 768px) {
    .navbar-brand .logo-img {
        width: 260px !important;
    }
}
