/* --- OVERRIDE SEARCH FORM (TRUSERTHEME) --- */
/* Diseño del buscador: Input y Botón solapados */
#spc-search-form {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    align-items: stretch;
}

#spc-search-form .spc-form-group {
    width: 100%;
    max-width: 400px;
}

#spc-search-form input[type="text"] {
    border-radius: 50px 0 0 50px;
    border-right: none;
    padding-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

#spc-search-form .spc-submit-btn {
    border-radius: 50px; /* Hacemos que el botón sea una pastilla que tapa el corte */
    margin-left: -35px; /* Solapamiento sobre el input */
    z-index: 2;
    position: relative;
    box-shadow: -4px 0 10px rgba(0,0,0,0.3); /* Sombra para resaltar el solapamiento */
    background-color: var(--color-primary);
    color: var(--color-black);
}

#spc-search-form .spc-submit-btn:hover {
    background-color: var(--color-tertiary);
    color: var(--color-black);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    #spc-search-form {
        flex-direction: row;
        gap: 0;
    }
    #spc-search-form input[type="text"] {
        border-radius: 50px 0 0 50px;
        border-right: none;
    }
    #spc-search-form .spc-submit-btn {
        margin-left: -35px; /* Mantenemos el solapamiento premium */
        width: auto;
    }
}
