.modern-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--primary-light);
    background-color: #fff;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    outline: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

    .modern-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    }

/* Estilo minimalista con colores planos y bordes rectos - ICONOS A LA IZQUIERDA */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-modal {
    background: white;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    overflow: hidden;
}

.custom-modal-header {
    padding: 1.5rem;
    background: #3498db;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.close-btn {
    background: #2980b9;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
}

    .close-btn:hover {
        background: #1a6a9c;
    }

.custom-modal-body {
    padding: 1.5rem;
}

.custom-modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #ecf0f1;
}

/* Floating labels flat - ICONOS A LA IZQUIERDA */
.form-group.floating {
    position: relative;
    margin-bottom: 1.5rem;
}

    .form-group.floating label {
        position: absolute;
        top: -10px;
        left: 40px; /* Ajustado para dejar espacio al ícono */
        background: white;
        padding: 0 5px;
        color: #7f8c8d;
        font-size: 0.9rem;
        z-index: 2;
    }

    .form-group.floating .form-control {
        border: 2px solid #bdc3c7;
        padding: 13px 10px 10px 40px; /* Más padding a la izquierda */
        transition: all 0.3s;
        width: 100%;
        box-sizing: border-box;
    }

        .form-group.floating .form-control:focus {
            border-color: #3498db;
            outline: none;
        }

    /* Íconos posicionados a la izquierda */
    .form-group.floating .icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #7f8c8d;
        z-index: 2;
    }

    /* Estilo especial para el ícono de precio (Q) */
    .form-group.floating .icon-price {
        left: 12px;
        font-weight: bold;
    }

.btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

    .btn-secondary:hover {
        background: #7f8c8d;
    }

.gradient-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}


/* Ajuste para el select */
.form-group.floating select.form-select {
    padding-left: 40px;
    border: 2px solid #bdc3c7;
    appearance: none;
    padding: 13px 10px 10px 40px; /* Más padding a la izquierda */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237f8c8d'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
