/* ===== FORMULAR CĂUTARE ===== */
.bod-form-cautare {
    display: flex;
    gap: 8px;
    margin: 15px 0 20px 0;
    align-items: center;
    flex-wrap: wrap;
}

.bod-input-cautare {
    flex: 1;
    min-width: 250px;
    padding: 10px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}

.bod-input-cautare:focus {
    border-color: #f1b32d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 179, 45, 0.15);
}

.bod-btn-cautare {
    background-color: #2c2c2c;
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.bod-btn-cautare:hover {
    background-color: #f1b32d;
    transform: translateY(-1px);
    box-shadow: 1px 2px 4px rgba(0,0,0,0.15);
}

.bod-btn-reset {
    display: inline-block;
    padding: 10px 16px;
    background-color: #f4f4f4;
    color: #666 !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid #e1e1e1;
    transition: all 0.2s;
}

.bod-btn-reset:hover {
    background-color: #e74c3c;
    color: #fff !important;
    border-color: #e74c3c;
}

.bod-rezultate-info {
    background: #fff8e5;
    padding: 10px 15px;
    border-left: 3px solid #f1b32d;
    border-radius: 3px;
    font-size: 13px;
    color: #555;
    margin: 10px 0 15px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .bod-form-cautare {
        flex-direction: column;
        align-items: stretch;
    }
    .bod-input-cautare {
        min-width: 100%;
    }
    .bod-btn-cautare,
    .bod-btn-reset {
        width: 100%;
        text-align: center;
    }
}

/* ===== FORMULAR CĂUTARE GLOBALĂ ===== */
.bodf-form-cautare-globala {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 15px;
}

.bodf-camp-cautare {
    flex: 1 1 300px;
    min-width: 250px;
}

.bodf-input-global {
    width: 100%;
    height: 100%;
    min-height: 46px;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.bodf-input-global:focus {
    border-color: #f1b32d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 179, 45, 0.15);
}

.bodf-camp-an {
    flex: 0 0 150px;
}

.bodf-select-an {
    width: 100%;
    height: 100%;
    min-height: 46px;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.bodf-select-an:focus {
    border-color: #f1b32d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 179, 45, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .bodf-form-cautare-globala {
        flex-direction: column;
    }
    .bodf-camp-cautare,
    .bodf-camp-an {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

/* ===== CĂUTARE GLOBALĂ - STILURI COMPLETE ===== */
.bodf-cautare-globala-wrapper {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-left: 4px solid #f1b32d;
    border-radius: 6px;
    padding: 25px 30px;
    margin: 30px 0;
}

.bodf-cautare-titlu {
    margin: 0 0 20px 0 !important;
    font-size: 18px !important;
    color: #2c2c2c !important;
    font-weight: bold !important;
}

.bodf-btn-cautare-globala {
    background-color: #f1b32d;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-height: 46px;
}

.bodf-btn-cautare-globala:hover {
    background-color: #d99b1d;
    transform: translateY(-1px);
    box-shadow: 1px 3px 6px rgba(0,0,0,0.15);
}

.bodf-btn-reset-global {
    display: inline-block;
    padding: 12px 18px;
    background-color: #f4f4f4;
    color: #666 !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #e1e1e1;
    white-space: nowrap;
    min-height: 46px;
    line-height: 22px;
    box-sizing: border-box;
}

.bodf-btn-reset-global:hover {
    background-color: #e74c3c;
    color: #fff !important;
    border-color: #e74c3c;
}

.bodf-rezultate-info {
    background: #fff8e5;
    padding: 10px 15px;
    border-left: 3px solid #f1b32d;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    margin: 15px 0;
}

.bodf-lista-rezultate {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.bodf-rezultat-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 15px 20px;
    transition: border-color 0.2s;
}

.bodf-rezultat-item:hover {
    border-color: #f1b32d;
}

.bodf-rezultat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.bodf-rezultat-titlu {
    font-size: 16px;
    font-weight: bold;
    color: #222 !important;
    text-decoration: none !important;
}

.bodf-rezultat-titlu:hover {
    color: #f1b32d !important;
}

.bodf-rezultat-tip {
    font-size: 12px;
    color: #888;
    background: #f4f4f4;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.bodf-rezultat-body p {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #666;
}

.bodf-paginare-globala {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

.bodf-btn-pag {
    background: #2c2c2c;
    color: #fff !important;
    padding: 8px 18px;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
}

.bodf-btn-pag:hover {
    background: #f1b32d;
}

.bodf-pag-info {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.bodf-fara-rezultate {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 5px;
    color: #888;
    font-style: italic;
    margin-top: 20px;
}

/* Responsive global */
@media (max-width: 600px) {
    .bodf-btn-cautare-globala,
    .bodf-btn-reset-global {
        width: 100%;
        text-align: center;
    }
    .bodf-cautare-globala-wrapper {
        padding: 20px 15px;
    }
}

/* Forțează stilul butonului de căutare globală */
.bodf-btn-cautare-globala {
    background-color: #f1b32d !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    min-height: 50px !important;
    transition: all 0.2s !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bodf-btn-cautare-globala:hover {
    background-color: #d99b1d !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ===== GRID PDF-URI ===== */
.bodf-pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.bodf-pdf-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    transition: all 0.2s;
    overflow: hidden;
}

.bodf-pdf-card:hover {
    border-color: #f1b32d;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.bodf-pdf-link {
    display: block;
    padding: 15px;
    text-decoration: none !important;
    color: inherit !important;
}

.bodf-pdf-icon {
    text-align: center;
    margin-bottom: 10px;
}

.bodf-pdf-info {
    text-align: center;
}

.bodf-pdf-titlu {
    font-size: 12px;
    font-weight: bold;
    color: #222;
    line-height: 1.3;
    margin-bottom: 5px;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.bodf-pdf-data {
    font-size: 11px;
    color: #888;
}

@media (max-width: 600px) {
    .bodf-pdf-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

/* Câmp număr */
.bodf-camp-numar {
    flex: 0 0 130px;
}

.bodf-input-numar {
    width: 100%;
    height: 100%;
    min-height: 46px;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
}

.bodf-input-numar:focus {
    border-color: #f1b32d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 179, 45, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .bodf-camp-numar {
        flex: 1 1 100%;
    }
}
