/* Auth pages (tenant login, etc.) cuando Vite no carga en subdominio tenant */
html,body{height:100%;overflow:hidden}
body{min-height:100vh;margin:0;font-family:system-ui,sans-serif;background:#0f172a}
.auth-shell{box-sizing:border-box;width:100%;height:100vh;height:100dvh;min-height:100svh;overflow-x:hidden;overflow-y:auto}
.flex{display:flex}.min-h-screen{min-height:100vh}.items-center{align-items:center}.justify-center{justify-content:center}
.bg-black{background:#000}.bg-white{background:#fff}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.px-4{padding-left:1rem;padding-right:1rem}
.w-full{width:100%}.max-w-md{max-width:28rem;margin:0 auto}
.rounded-xl{border-radius:1rem}.p-6{padding:1.5rem}.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.15)}
.mb-4{margin-bottom:1rem}.mt-4{margin-top:1rem}
.text-2xl{font-size:1.5rem;line-height:2rem}.font-semibold{font-weight:600}
.text-sm{font-size:.875rem}.text-gray-600{color:#4b5563}.text-gray-500{color:#6b7280}.text-red-600{color:#dc2626}
.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}
.space-y-4>*+*{margin-top:1rem}
.block{display:block}.font-medium{font-weight:500}
.ml-auto{margin-left:auto}
input[type=password],input.input{width:100%;padding:.5rem .75rem;font-size:.875rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;box-sizing:border-box}
input[type=checkbox].checkbox{width:1rem;height:1rem;margin:0}
.gap-2{gap:.5rem}

/* Toggle (stay signed in / recordarme) */
.auth-toggle-input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.auth-toggle-track{position:relative;display:inline-block;width:38px;height:20px;border-radius:999px;background:#e5e7eb;transition:background .15s ease;box-sizing:border-box}
.auth-toggle-thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s ease}
.auth-toggle-input:checked + .auth-toggle-track{background:#0f6cbd}
.auth-toggle-input:checked + .auth-toggle-track .auth-toggle-thumb{transform:translateX(18px)}
.auth-toggle-input:focus + .auth-toggle-track{outline:2px solid rgba(15,108,189,.42);outline-offset:2px}
.auth-toggle-label{display:inline-flex;align-items:center;margin-left:.25rem;line-height:1}

button.btn,button.btn-primary{display:block;width:100%;padding:.625rem 1rem;font-size:.875rem;font-weight:500;color:#fff;background:#0f6cbd;border:none;border-radius:.5rem;cursor:pointer}
button.btn-primary:hover{background:#115ea3}
.text-center{text-align:center}
a{color:#0f6cbd;text-decoration:none}a:hover{text-decoration:underline}

/* Extra clases usadas por auth/login.blade.php (fallback sin Vite) */
.h-screen{height:100svh}.h-full{height:100%}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}
.relative{position:relative}.absolute{position:absolute}.pointer-events-none{pointer-events:none}.opacity-20{opacity:.2}
.z-10{z-index:10}.shrink-0{flex-shrink:0}.space-y-6>*+*{margin-top:1.5rem}
.max-w-\[400px\]{max-width:400px}.min-w-\[320px\]{min-width:320px}

.bg-base-100{background:transparent}
.text-base-content{color:#111827}
.text-base-content\/80{color:rgba(17,24,39,.78)}

/* Card */
.login-card{
  border:1px solid rgba(0,0,0,.08);
  background: #ffffff;
}
.login-container{
  background: #ffffff;
}
.login-page{
  box-shadow:0 24px 60px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.2);
}

/* Labels */
.label-text{display:block;font-size:.8125rem;font-weight:600;color:#374151;margin-bottom:.375rem;letter-spacing:.01em;text-transform:uppercase}

/* Inputs */
.input{
  width:100%;padding:.625rem .875rem;font-size:.9375rem;
  border:1px solid #d1d5db;border-radius:.625rem;
  background:#fff;color:#111827;
  box-sizing:border-box;outline:none;transition:border-color .15s,box-shadow .15s;
}
.input::placeholder{color:#9ca3af}
.input:hover{border-color:rgba(15,108,189,.46)}
.input:focus{border-color:#0f6cbd;box-shadow:0 0 0 3px rgba(15,108,189,.16);background:#fff}
.login-page .input{color:#111827}
.login-page .input::placeholder{color:#9ca3af}

/* Button */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border-radius:.625rem;font-weight:600;border:1px solid transparent;cursor:pointer;user-select:none;transition:background .15s,box-shadow .15s}
.btn-block{width:100%}
.btn-lg{padding:.75rem 1rem;font-size:1rem}
.btn-primary{
  background:linear-gradient(135deg,#0f6cbd 0%,#115ea3 100%);
  color:#fff;
  box-shadow:0 4px 15px rgba(15,108,189,.28);
}
.btn-primary:hover{background:linear-gradient(135deg,#115ea3 0%,#0b4f8a 100%);box-shadow:0 6px 20px rgba(15,108,189,.34)}

/* Links */
.link{color:#0f6cbd;text-decoration:none;font-size:.875rem}
.link:hover{color:#115ea3;text-decoration:underline}
.login-link{color:#0f6cbd;text-decoration:none;font-weight:500}
.login-link:hover{color:#115ea3}
