/* ESTILOS PRINCIPALES DEL FORMULARIO */
.fvehiculos-form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.fvehiculos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.fvehiculos-form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #333;
}
.fvehiculos-form input[type="text"],
.fvehiculos-form textarea,
.fvehiculos-form select {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
    margin-top: 5px;
}
.fvehiculos-submit {
    background: #2271b1;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}
.fvehiculos-submit:hover {
    background: #1a5d8e;
}
.fvehiculos-success {
    background: #e0ffe0;
    padding: 10px;
    border-left: 5px solid #4caf50;
    margin-bottom: 20px;
}
.fvehiculos-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}
.fvehiculos-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}
.fvehiculos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.fvehiculos-table th {
    background: #2271b1;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}
.fvehiculos-table td {
    border: 1px solid #e1e1e1;
    padding: 12px;
    vertical-align: middle;
}
.fvehiculos-table tr:nth-child(even) {
    background: #f9f9f9;
}
.fvehiculos-table tr:hover {
    background: #f5f5f5;
}
.fvehiculos-table img {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.fvehiculos-table a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}
.fvehiculos-table a:hover {
    text-decoration: underline;
}
.fvehiculos-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}
.fvehiculos-delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}
.fvehiculos-delete-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* BOTÓN WHATSAPP - ESTILOS PARA LA DESCRIPCIÓN CORTA */
.whatsapp-contact-btn {
    background-color: #25D366 !important;
    color: white !important;
    padding: 8px 12px !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    text-align: center !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    margin-left: 10px !important;
    margin-top: 5px !important;
}

.whatsapp-contact-btn i {
    font-size: 14px !important;
    margin-right: 6px !important;
    color: white !important;
}

.whatsapp-contact-btn:hover {
    background-color: #128C7E !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25) !important;
}

.whatsapp-contact-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

/* Para asegurar que el botón se vea como botón en todos los navegadores */
.whatsapp-contact-btn:focus {
    outline: 2px solid #25D366 !important;
    outline-offset: 2px !important;
}

/* Estilos para la información del vehículo */
.vehiculo-info {
    font-family: Arial, sans-serif !important;
}

.vehiculo-info ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vehiculo-info li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.vehiculo-info li strong {
    min-width: 120px !important;
    color: #333 !important;
}