   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f5f5;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            padding: 30px;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        h1 {
            color: #333;
            font-size: 24px;
        }
        
        .referencia {
            color: #666;
            font-size: 14px;
        }
        
        .telefono {
            color: #00a8e1;
            font-size: 20px;
            font-weight: 600;
        }
        
        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .seccion {
            background: #fafafa;
            padding: 25px;
            border-radius: 8px;
        }
        
        .seccion h2 {
            font-size: 18px;
            color: #333;
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-size: 14px;
            font-weight: 500;
        }
        
        input[type="text"],
        input[type="date"],
        select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        input[type="text"]:focus,
        input[type="date"]:focus,
        select:focus {
            outline: none;
            border-color: #00a8e1;
            box-shadow: 0 0 0 3px rgba(0,168,225,0.1);
        }
        
        input.valid {
            border-color: #4caf50;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 40px;
        }
        
        select.valid {
            border-color: #4caf50;
        }
        
        .fecha-mapa-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

.fecha-section {
    background: #fff9e6;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fecha-section h2 {
    color: #333;
    margin-bottom: 15px;
}

.mapa-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#map {
    height: 100%;
    min-height: 400px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    flex-grow: 1;
}

/* Responsive para tablets y móviles */
@media (max-width: 968px) {
    .fecha-mapa-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .btn-siguiente {
        width: 100%;
        justify-content: center;
    }
    
    #map {
        min-height: 300px;
    }
}
        
        .alerta {
            color: #d32f2f;
            font-size: 13px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .radio-option {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }
        
        input[type="radio"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        .btn-siguiente {
            background: linear-gradient(135deg, #e92828 0%, #b61818ff 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 30px auto 0;
        }
        
        .btn-siguiente:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
        }
        
        .btn-siguiente:active {
            transform: translateY(0);
        }
        
        .info-distancia {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin-top: 10px;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            border: 1px solid #e0e0e0;
        }
        
        input[type="date"] {
            position: relative;
            background: white;
            cursor: pointer;
        }

        input[type="date"]::-webkit-calendar-picker-indicator {
            cursor: pointer;
            border-radius: 4px;
            margin-left: 5px;
            opacity: 0.6;
            filter: invert(0.4);
        }

        input[type="date"]::-webkit-calendar-picker-indicator:hover {
            opacity: 1;
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }
        
        .notificacion {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            z-index: 10000;
            color: white;
            font-weight: 500;
            animation: slideIn 0.3s ease;
        }
        
        .notificacion.success {
            background: #4caf50;
        }
        
        .notificacion.info {
            background: #00a8e1;
        }
        
        .notificacion.warning {
            background: #ff9800;
        }
        
        .notificacion.error {
            background: #e92828;
        }
        
        .calculando-ruta {
            display: none;
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        .calculando-ruta.active {
            display: block;
        }
        
        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #e92828;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 10px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .pac-container {
            z-index: 10000;
            border-radius: 8px;
            border: 1px solid #ddd;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            margin-top: 5px;
        }
        
        .pac-item {
            padding: 10px 15px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .pac-item:hover {
            background: #f5f5f5;
        }
        
        .pac-icon {
            margin-right: 10px;
        }
        
        @media (max-width: 768px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            
            .btn-siguiente {
                width: 100%;
                justify-content: center;
            }
        }