/* 
   Pesticide 2026 - Master Stylesheet
   Framework: Bootstrap 5 + Modern Custom UI
*/

:root {
    --bs-primary: #198754; 
    --bs-primary-rgb: 25, 135, 84;
    --bs-warning: #f0ff1a; 
    --bs-border-radius-lg: 1rem;
    --bs-body-font-family: 'Inter', -apple-system, system-ui, sans-serif;
    --border-light: #f2f4f7;
}

body {
    background-color: #f8f9fa !important;
    color: #2d3436;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    max-width: 1140px;
}

.transition-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.transition-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.08) !important;
}

/* --- Navigation --- */
.nav-pills .nav-link {
    color: #4d5841;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #198754 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.nav-link:hover:not(.active) {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

/* --- Cards & Sidebar --- */
.list-group-item {
    transition: all 0.2s ease;
    border: none !important;
    margin-bottom: 5px;
    border-radius: 8px !important;
}

.list-group-item:hover {
    transform: translateX(5px);
    background-color: rgba(25, 135, 84, 0.05) !important;
    color: #198754 !important;
}

/* --- Typography --- */
.title, h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.title_jos {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4d5841;
    margin-top: 4rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.acord_text {
    line-height: 2 !important;
    font-size: 0.85rem !important;
    color: #6c757d !important;
    margin-bottom: 2.5rem;
    display: block;
    padding: 10px 0;
}

/* --- Search & Recent Tags --- */
.ultimele_cautari {
    font-size: 0.75rem !important;
    color: #888 !important;
    text-transform: lowercase;
}

/* --- File Download Links --- */
.index_file {
    margin-bottom: 12px;
}

.index_file_a_2 {
    display: inline-flex !important;
    align-items: center;
    padding: 10px 16px 10px 40px !important;
    background-position: 10px center !important;
    background-repeat: no-repeat !important;
    background-size: 24px !important;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: #fff;
    color: #198754 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.index_file_a_2:hover {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.05);
    transform: translateY(-1px);
}

/* --- Buttons --- */
.btn-success {
    background-color: #198754;
    border-color: #198754;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
}

/* --- Content Styling --- */
.content_text {
    font-size: 1rem;
    color: #636e72;
    line-height: 1.7;
}

.right_1 {
    margin-bottom: 2rem;
}

/* --- Modern Colorbox (AJAX Modals) --- */
#colorbox, #cboxOverlay, #cboxWrapper {
    overflow: visible !important;
}

#cboxContent {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none !important;
}

#cboxLoadedContent {
    border-radius: 12px;
}

#cboxOverlay {
    background: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(4px);
}

#cboxClose {
    top: 10px !important;
    right: 10px !important;
    background: #f8f9fa !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #dee2e6 !important;
}

#cboxClose:hover {
    background: #eee !important;
}

/* Hide legacy icons */
img[src*="green_bullet.png"], 
img[src*="green_arrow.png"], 
img[src*="circle_li.png"] {
    display: none !important;
}
