/* raiz/static/css/contratos.css */
/* ==========================================================================
   CABECERA PANORÁMICA Y BÚSQUEDA CENTRALIZADA
   ========================================================================== */
.dashboard-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    width: 100%;
}

.page-title.nowrap {
    white-space: nowrap;
    margin: 0;
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

.search-form-container {
    width: 100%;
    display: flex;
}

.search-form {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: box-shadow 0.3s;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 255, 3, 0.4); 
}

.filter-select {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    min-width: 180px;
}

.btn-clear {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.btn-new-contract {
    background-color: var(--color-evolution);
    color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(218, 255, 3, 0.3);
}

.btn-new-contract:hover {
    background-color: #c4e600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 255, 3, 0.5);
}