/* public/css/dokter-front.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* Contenedor Principal Estilizado */
#dnr-wrap { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 
    max-width: 500px; 
    margin: 0 auto; 
    padding: 35px; 
    background: #F0F6FF; 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
}




/* Grid Moderno */
.dnr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dnr-full { grid-column: span 2; }

/* Etiquetas */
.dnr-label { 
    display: block; font-size: 12px; font-weight: 600; color: #1e293b; 
    margin-bottom: 6px; letter-spacing: -0.01em; 
}

/* Inputs Modernos */
.dnr-in, .dnr-sel { 
    width: 100%; height: 46px; border-radius: 10px; border: 1px solid #e2e8f0; 
    padding: 0 16px; background: #f8fafc; font-size: 14px; outline: none; 
    transition: all 0.2s ease; color: #334155; font-family: inherit;
    box-sizing: border-box;
}
.dnr-in:focus, .dnr-sel:focus { 
    border-color: #3b82f6; background: #fff; 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); 
}
.dnr-in::placeholder { color: #94a3b8; }

/* Botón Principal de Acción */
.dnr-btn { 
    width: 100%; padding: 16px; background: #2563EB; color: #fff; 
    border: none; border-radius: 12px; font-weight: 600; cursor: pointer; 
    margin-top: 25px; font-size: 15px; transition: 0.3s; 
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}
.dnr-btn:hover { background: #1d4ed8; transform: translateY(-2px); }
.dnr-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.dnr-btn-go { background: #2563EB; color: #fff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: bold; display: inline-block; margin-top: 10px; }

/* --- CUPÓN STYLING --- */
.dnr-coupon-box {
    display: flex; align-items: center; background: #ffffff;
    border: 1px solid #e2e8f0; border-radius: 50px; padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.dnr-coupon-box:focus-within { border-color: #2563EB; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15); transform: translateY(-1px); }
#reg-cupon {
    border: none !important; background: transparent !important; box-shadow: none !important;
    height: 44px; padding-left: 20px; font-weight: 700; color: #334155;
    letter-spacing: 2px; text-transform: uppercase; flex-grow: 1; font-size: 14px; border-radius: 0 !important;
}
#reg-cupon::placeholder { color: #94a3b8; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 13px; }
#btn-check-cupon {
    height: 40px; border-radius: 40px; background: #2660BF; color: #ffffff;
    font-size: 11px; font-weight: 700; border: none; padding: 0 24px;
    cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap; border-radius: 16px !important;
}
#btn-check-cupon:hover { background: #0f172a; transform: scale(1.02); }
.dnr-coupon-box.valid { border-color: #16a34a !important; background: #f0fdf4 !important; }
.dnr-coupon-box.invalid { border-color: #ef4444 !important; background: #fff; animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both; }
#coupon-msg { display: block; margin-top: 8px; margin-left: 15px; font-size: 12px; font-weight: 600; min-height: 18px; transition: color 0.3s; }
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Otros Elementos */
.dnr-req { color: #ef4444; }
.dnr-info-box { background: #fff7ed; border: 1px solid #ffedd5; color: #9a3412; padding: 15px; margin: 20px 0; font-size: 13px; border-radius: 8px; display: flex; gap: 12px; line-height: 1.5; }
.dnr-pass-wrap { position: relative; }
.dnr-eye { position: absolute; right: 14px; top: 14px; cursor: pointer; color: #94a3b8; font-size: 10px; font-weight: 700; z-index: 5; user-select: none; }
.dnr-strength-bar { height: 4px; background: #f1f5f9; width: 100%; margin-top: 8px; border-radius: 2px; overflow: hidden; }
.dnr-strength-fill { height: 100%; width: 0; transition: all 0.3s; }
.dnr-pass-hint { display:flex; gap:10px; font-size: 11px; color: #64748b; margin-top: 6px; }
.dnr-pass-hint span.ok { color: #16a34a; font-weight:bold; }
.dnr-pass-hint span.bad { color: #dc2626; }
.dnr-msg { display: none; padding: 10px; border-radius: 6px; margin-bottom: 15px; text-align: center; font-size: 13px; }
.dnr-msg.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.dnr-logged { text-align: center; background: #f8fafc; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; }

/* Loader Spinner */
.dnr-spinner { width:16px; height:16px; border:2px solid #ffffff; border-bottom-color:transparent; border-radius:50%; display:inline-block; animation: rotation 1s linear infinite; }
.dnr-loader { width: 16px; height: 16px; border: 2px solid #fff; border-bottom-color: transparent; border-radius: 50%; display: none; box-sizing: border-box; animation: rotation 1s linear infinite; margin-right: 10px; }
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }






