/**
* 2007-2026 PrestaShop
* (License block omitted for brevity - see original file)
*/

/* ============================================================
   VELOX BRIDGE – Receta médica + Médico (Checkout FO)
   ============================================================ */

.velox-prescription-section,
.velox-doctor-section {
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ============================================================
   Sección médico tratante – Muy llamativa para incentivar
   ============================================================ */
@keyframes velox-doctor-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(65, 105, 225, 0.25), 0 0 0 1px rgba(65, 105, 225, 0.2); }
    50%      { box-shadow: 0 6px 28px rgba(65, 105, 225, 0.4), 0 0 0 2px rgba(65, 105, 225, 0.35); }
}

@keyframes velox-doctor-border-pulse {
    0%, 100% { border-left-color: #4169E1; }
    50%      { border-left-color: #6b8cff; }
}

.velox-doctor-card {
    position: relative;
    border: 2px solid rgba(65, 105, 225, 0.5);
    border-left: 8px solid #4169E1;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.25), 0 0 0 1px rgba(65, 105, 225, 0.15);
    overflow: visible;
    background: #fff;
}

.velox-doctor-card-pulse {
    animation: velox-doctor-glow 2.5s ease-in-out infinite, velox-doctor-border-pulse 2.5s ease-in-out infinite;
}

.velox-doctor-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    z-index: 2;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #4169E1 0%, #2d4fbd 100%);
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(65, 105, 225, 0.5);
}

.velox-doctor-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px 18px;
    background: linear-gradient(135deg, #dce4ff 0%, #c5d4ff 50%, #b8caff 100%);
    border-bottom: 2px solid rgba(65, 105, 225, 0.3);
}

.velox-doctor-header-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #4169E1 0%, #2d4fbd 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(65, 105, 225, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.velox-doctor-header-icon .material-icons {
    font-size: 30px;
}

.velox-doctor-header-text {
    flex: 1;
    min-width: 0;
}

.velox-doctor-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2d6b;
    line-height: 1.3;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.velox-doctor-subtitle {
    font-size: 0.95rem;
    color: #2d4a8a;
    margin-top: 6px;
    line-height: 1.45;
    font-weight: 500;
}

.velox-doctor-body {
    padding: 20px;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.velox-doctor-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d4a8a;
}

.velox-doctor-cta .material-icons {
    font-size: 20px;
    color: #4169E1;
}

.velox-doctor-input {
    border-radius: 8px;
    border: 2px solid #a8bce8;
    font-size: 1rem;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.velox-doctor-input::placeholder {
    color: #7a8fc4;
}

.velox-doctor-input:focus {
    border-color: #4169E1;
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.25);
    outline: none;
}

.velox-drop-zone {
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}

.velox-drop-zone:hover,
.velox-drop-over {
    border-color: #4169E1;
    background: #eef2ff;
}

.velox-drop-zone p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.velox-prescription-products {
    padding-left: 20px;
}

.velox-prescription-products li {
    font-size: 14px;
    margin-bottom: 4px;
}

#veloxUploadStatus .alert {
    display: flex;
    align-items: center;
    gap: 8px;
}

#veloxUploadError {
    font-size: 14px;
}

#veloxUploadSpinner {
    font-size: 14px;
    color: #6c757d;
}

.velox-doctor-saved {
    color: #28a745;
    font-size: 12px;
    margin-top: 4px;
}

/* Contenedor principal con efecto de cupón */
.velox-gift-card {
    border: 2px dashed #2fb5d2 !important;
    background-color: #f8fdfd !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Icono con fondo circular degradado */
.velox-gift-icon-container {
    background: linear-gradient(135deg, #2fb5d2 0%, #2597b0 100%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.velox-gift-icon-container i {
    font-size: 18px;
}

.velox-gift-title {
    color: #2597b0;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

/* Separador sutil */
.velox-gift-separator {
    height: 1px;
    background: rgba(47, 181, 210, 0.2);
    width: 100%;
}

/* Estilo de los items */
.velox-gift-item {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.velox-gift-item:last-child {
    border-bottom: none;
}

.velox-qty-badge {
    background-color: #27ae60 !important;
    font-size: 11px;
    padding: 0.4em 0.8em;
}

.velox-gift-item .product-name {
    line-height: 1.2;
    max-width: 180px; /* Evita que pise el texto 'GRATIS' */
}
