/* DAYA Fleet UI — sign-in, forgot and reset password pages */
:root {
    --dy-brand: #0e9fc4; --dy-brand-600: #0b86a6; --dy-brand-700: #086b85; --dy-brand-50: #e7f6fa;
    --dy-navy: #0b1d2e; --dy-navy-2: #10273c; --dy-navy-3: #183650;
    --dy-ink: #0f1c2b; --dy-ink-2: #3b4a5c; --dy-muted: #6b7a8c; --dy-faint: #97a4b3;
    --dy-line: #e3e8ef; --dy-bg: #f3f5f8;
    --dy-danger: #d0342c; --dy-success: #12915b;
    --dy-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.dy-auth { font-family: var(--dy-font); color: var(--dy-ink); background: #fff; -webkit-font-smoothing: antialiased; }
.dy-auth-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* Visual side */
.dy-auth-visual {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 600px at 20% 0%, #15456a 0%, transparent 60%), linear-gradient(160deg, #0d2740 0%, var(--dy-navy) 70%);
    display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px;
}
.dy-auth-visual svg.dy-auth-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.dy-auth-brand { position: relative; display: flex; align-items: center; gap: 12px; }
.dy-auth-brand img { width: 42px; height: 42px; border-radius: 11px; background: #fff; padding: 4px; object-fit: contain; }
.dy-auth-brand b { font-size: 16px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; display: block; }
.dy-auth-brand small { font-size: 11.5px; color: #9fb4c8; letter-spacing: .06em; text-transform: uppercase; }
.dy-auth-pitch { position: relative; max-width: 460px; }
.dy-auth-pitch h2 { font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.dy-auth-pitch h2 span { color: #5fd3ef; }
.dy-auth-pitch p { color: #b6c6d6; font-size: 15px; line-height: 1.6; margin: 0 0 26px; }
.dy-auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dy-auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #dce6ef; }
.dy-auth-points i { width: 30px; height: 30px; border-radius: 9px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: rgba(95, 211, 239, .14); color: #5fd3ef; font-size: 13px; }
.dy-auth-points b { display: block; color: #fff; font-weight: 600; }
.dy-auth-points small { color: #9fb4c8; font-size: 13px; }
.dy-auth-foot { position: relative; font-size: 12px; color: #7f95aa; }

/* Form side */
.dy-auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.dy-auth-card { width: 100%; max-width: 380px; }
.dy-auth-logo { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--dy-line); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 6px 18px -8px rgba(15, 28, 43, .2); overflow: hidden; background: #fff; }
.dy-auth-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.dy-auth-logo i { color: var(--dy-brand); font-size: 26px; }
.dy-auth-card h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.dy-auth-card .dy-auth-sub { color: var(--dy-muted); font-size: 14.5px; margin: 0 0 28px; line-height: 1.5; }
.dy-field { margin-bottom: 16px; }
.dy-field label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--dy-ink-2); margin-bottom: 6px; }
.dy-field label a { font-weight: 600; color: var(--dy-brand-600); text-decoration: none; }
.dy-field label a:hover { color: var(--dy-brand-700); }
.dy-input { position: relative; }
.dy-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dy-faint); font-size: 14px; pointer-events: none; }
.dy-input input {
    width: 100%; height: 46px; padding: 0 44px 0 40px;
    font: 15px var(--dy-font); color: var(--dy-ink);
    border: 1px solid #d6dde6; border-radius: 10px; background: #fff;
    box-shadow: 0 1px 2px rgba(15, 28, 43, .05);
    transition: border-color .15s, box-shadow .15s;
}
.dy-input input:focus { outline: none; border-color: var(--dy-brand); box-shadow: 0 0 0 3px rgba(14, 159, 196, .2); }
.dy-input input::placeholder { color: var(--dy-faint); }
.dy-input .dy-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--dy-faint); border-radius: 8px; cursor: pointer; }
.dy-input .dy-eye:hover { background: var(--dy-bg); color: var(--dy-ink-2); }
.dy-btn {
    width: 100%; height: 46px; border: 0; border-radius: 10px; margin-top: 8px;
    background: var(--dy-brand); color: #fff; font: 600 15px var(--dy-font); cursor: pointer;
    box-shadow: 0 1px 2px rgba(8, 107, 133, .3), inset 0 1px 0 rgba(255, 255, 255, .15);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s;
}
.dy-btn:hover { background: var(--dy-brand-600); }
.dy-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(14, 159, 196, .3); }
.dy-auth-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--dy-muted); }
.dy-auth-alt a { color: var(--dy-brand-600); font-weight: 600; text-decoration: none; }
.dy-auth-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 20px; border: 1px solid; }
.dy-auth-alert.is-error { background: #fdecea; border-color: #f5c6c3; color: #8c1f19; }
.dy-auth-alert.is-success { background: #e5f6ee; border-color: #bfe6d2; color: #0b5e3b; }
.dy-auth-alert button { margin-left: auto; border: 0; background: transparent; color: inherit; opacity: .6; cursor: pointer; font-size: 16px; line-height: 1; }
.dy-auth-powered { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--dy-line); font-size: 12px; color: var(--dy-faint); text-align: center; }
.dy-auth-powered b { color: var(--dy-ink-2); }

/* Legacy AdminLTE markup on the password pages */
body.dy-auth .login-box, body.dy-auth .register-box { width: 100%; max-width: 380px; }
body.dy-auth .card { border: 0; box-shadow: none; }
body.dy-auth .form-control { height: 46px; border-radius: 10px; border: 1px solid #d6dde6; font-family: var(--dy-font); }
body.dy-auth .btn-primary { background: var(--dy-brand); border-color: var(--dy-brand); border-radius: 10px; font-weight: 600; height: 46px; }

@media (max-width: 900px) {
    .dy-auth-split { grid-template-columns: 1fr; }
    .dy-auth-visual { padding: 24px; min-height: 0; }
    .dy-auth-pitch, .dy-auth-foot { display: none; }
    .dy-auth-panel { padding: 32px 20px 40px; align-items: flex-start; }
}
@media (min-width: 901px) {
    .dy-auth-visual { justify-content: flex-start; }
    .dy-auth-visual svg.dy-auth-map { top: -40px; height: 62%; bottom: auto; }
    .dy-auth-pitch { margin-top: auto; }
    .dy-auth-foot { margin-top: 32px; }
}
.dy-auth-powered a { color: inherit; text-decoration: none; }
.dy-auth-powered a:hover b { color: var(--dy-brand-600); }
