@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");
/* Adriatic ERP — login stranica */
body[data-path="login"] { background: #F2F5F4; min-height: 100vh; }
body[data-path="login"] .navbar,
body[data-path="login"] .web-footer,
body[data-path="login"] footer { display: none !important; }

body[data-path="login"] .page-content-wrapper,
body[data-path="login"] main,
body[data-path="login"] .page_content,
body[data-path="login"] .container { max-width: none !important; padding: 0 !important; margin: 0 !important; width: 100%; }

.ae-login-wrap { display: flex; min-height: 100vh; width: 100%; font-family: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif; }

.ae-brand {
    flex: 1 1 54%; background: #13213A; color: #F2F5F4;
    padding: 48px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
}
.ae-brand::before {
    content: ""; position: absolute; inset: auto -20% -45% auto; width: 80%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(12,108,116,.55) 0%, rgba(12,108,116,0) 65%);
}
.ae-brand::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: #0C6C74;
}
.ae-logo { display: inline-flex; align-items: baseline; font: 600 24px/1 "IBM Plex Sans", sans-serif; letter-spacing: -.02em; color: #F2F5F4; text-decoration: none; position: relative; z-index: 1; }
.ae-logo .kapa { color: #5BC4CB; font-weight: 700; transform: translateY(-.32em); margin-right: 1px; }
.ae-logo b { font-weight: 700; }
.ae-logo .l { font-weight: 400; color: rgba(242,245,244,.6); }
.ae-mid { position: relative; z-index: 1; max-width: 560px; }
.ae-mid h1 {
    font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif; font-weight: 800;
    font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 32px; color: #F2F5F4;
}
.ae-mid h1 em { font-style: normal; color: #5BC4CB; }
.ae-moduli { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ae-modul {
    background: rgba(242,245,244,.06); border: 1px solid rgba(242,245,244,.09); border-radius: 14px;
    padding: 18px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; color: rgba(242,245,244,.92); text-align: center;
}
.ae-modul svg { width: 28px; height: 28px; stroke: #5BC4CB; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ae-brand-foot { font-size: 13.5px; color: rgba(242,245,244,.55); position: relative; z-index: 1; }
.ae-brand-foot a { color: rgba(242,245,244,.85); text-decoration: none; }

.ae-form-side { flex: 1 1 48%; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #F2F5F4; }

body[data-path="login"] section.for-login,
body[data-path="login"] section.for-forgot,
body[data-path="login"] section.for-signup,
body[data-path="login"] section.for-login-with-email-link { width: 100%; max-width: 420px; }

body[data-path="login"] .page-card {
    background: #fff; border: 1px solid #D3DCDB; border-radius: 18px;
    box-shadow: 0 22px 40px -26px rgba(19,33,58,.35); padding: 40px 36px !important; max-width: 420px; margin: 0 auto;
}
body[data-path="login"] .page-card-head img.app-logo { display: none; }
body[data-path="login"] .page-card-head h4 { font-family: "Bricolage Grotesque", "Segoe UI", sans-serif !important; font-size: 32px !important; font-weight: 800 !important; color: #13213A !important; letter-spacing: -.02em; }
body[data-path="login"] .page-card-subtitle { color: #5A6779 !important; font-size: 14.5px; }
body[data-path="login"] label { color: #13213A !important; font-weight: 600; font-size: 13.5px; }
body[data-path="login"] .form-control {
    height: 44px !important; border-radius: 10px !important; border: 1px solid #D3DCDB !important; background: #fff !important; font-family: "IBM Plex Sans", sans-serif !important; font-size: 15px !important; padding: 0 14px !important;
}
body[data-path="login"] .form-control:focus { border-color: #0C6C74 !important; box-shadow: 0 0 0 3px rgba(12,108,116,.18) !important; background: #fff; }
body[data-path="login"] .email-field, body[data-path="login"] .password-field { width: 100%; }
body[data-path="login"] a[href="#forgot"] { color: #0C6C74 !important; font-weight: 500; }

body[data-path="login"] .es-button[data-variant="solid"],
body[data-path="login"] .btn-primary {
    background: #13213A !important; border-color: #13213A !important; color: #F2F5F4 !important;
    height: 48px !important; border-radius: 999px !important; font: 600 16px/1 "IBM Plex Sans", sans-serif !important;
}
body[data-path="login"] .es-button[data-variant="solid"]:hover,
body[data-path="login"] .btn-primary:hover { background: #0C6C74 !important; border-color: #0C6C74 !important; }

/* Prijava putem email linka — ne nudimo */
body[data-path="login"] .btn-login-with-email-link { display: none !important; }

.ae-help { text-align: center; margin-top: 18px; font-size: 13.5px; color: #5A6779; }
.ae-help a { color: #0C6C74; text-decoration: none; font-weight: 500; }

@media (max-width: 900px) {
    .ae-login-wrap { flex-direction: column; }
    .ae-brand { padding: 24px 22px 30px; flex: none; gap: 22px; }
    .ae-mid h1 { font-size: 28px; margin: 0; }
    .ae-moduli, .ae-brand-foot { display: none; }
    .ae-form-side { padding: 24px 16px 40px; align-items: flex-start; }
    body[data-path="login"] .page-card { padding: 28px 22px !important; }
}
