/* Effort CRM application stylesheet. Served through Symfony AssetMapper. */
:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17201d;
    background: #f4f7f5;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #f4f7f5; }
body { min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, #36b894 0%, #207961 100%);
    box-shadow: 0 10px 28px rgba(22, 109, 87, .28);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr);
    background: #f6f8f7;
}
.auth-showcase {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px clamp(42px, 5vw, 82px);
    color: #f6fbf9;
    background: radial-gradient(circle at 82% 13%, rgba(69,205,166,.22), transparent 32%), radial-gradient(circle at 12% 84%, rgba(52,145,118,.18), transparent 36%), linear-gradient(155deg, #0c1e1a 0%, #102924 48%, #15372f 100%);
}
.auth-showcase::before, .auth-showcase::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(180,230,215,.1);
    border-radius: 999px;
    pointer-events: none;
}
.auth-showcase::before { width: 560px; height: 560px; top: -290px; right: -300px; }
.auth-showcase::after { width: 380px; height: 380px; right: -210px; bottom: -180px; }
.auth-brand, .sidebar-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}
.auth-brand__name, .sidebar-brand__name { display: block; font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.auth-brand__caption, .sidebar-brand__caption { display: block; margin-top: 2px; color: #9fb8b0; font-size: 12px; }
.auth-showcase__content { position: relative; z-index: 1; max-width: 560px; margin: auto 0; padding: 88px 0; }
.auth-eyebrow, .page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #7fe0c2;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.auth-eyebrow::before, .page-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.auth-showcase h1 { max-width: 520px; margin: 0; color: #fff; font-size: clamp(42px, 5vw, 66px); font-weight: 720; letter-spacing: -.052em; line-height: .98; }
.auth-showcase__lead { max-width: 520px; margin: 26px 0 0; color: #b9cbc5; font-size: 17px; line-height: 1.7; }
.auth-benefits { display: grid; gap: 13px; margin: 34px 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; align-items: center; gap: 12px; color: #d7e5e0; font-size: 14px; }
.auth-benefits__icon { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(126,224,194,.22); border-radius: 8px; color: #8ce5c9; background: rgba(66,169,138,.1); }
.auth-showcase__footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #829b93; font-size: 12px; }
.auth-showcase__footer-dot { width: 6px; height: 6px; border-radius: 999px; background: #48caa3; box-shadow: 0 0 0 4px rgba(72,202,163,.1); }
.auth-form-side { display: grid; min-height: 100vh; place-items: center; padding: 54px clamp(28px, 6vw, 96px); background: radial-gradient(circle at 100% 0%, rgba(40,131,106,.06), transparent 32%), #f7f9f8; }
.auth-form-wrap { width: min(100%, 430px); }
.auth-mobile-brand { display: none; margin-bottom: 42px; color: #14231e; }
.auth-mobile-brand .auth-brand__caption { color: #7c8984; }
.auth-panel__kicker { margin: 0 0 10px; color: #27765f; font-size: 13px; font-weight: 750; }
.auth-panel h2 { margin: 0; color: #14201c; font-size: 34px; font-weight: 740; letter-spacing: -.04em; line-height: 1.12; }
.auth-panel__subtitle { margin: 12px 0 0; color: #74807b; font-size: 14px; line-height: 1.6; }
.auth-alert { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 12px 14px; border: 1px solid #f0c7c7; border-radius: 11px; color: #8d3131; background: #fff6f6; font-size: 13px; line-height: 1.45; }
.auth-form { display: grid; gap: 19px; margin-top: 30px; }
.form-field { display: grid; gap: 8px; }
.form-field__label { color: #34433d; font-size: 13px; font-weight: 680; }
.input-wrap { position: relative; }
.input-wrap__icon { position: absolute; top: 50%; left: 14px; width: 18px; height: 18px; transform: translateY(-50%); color: #8a9792; pointer-events: none; }
.form-control { width: 100%; height: 48px; padding: 0 14px 0 43px; color: #17201d; background: #fff; border: 1px solid #d5ddd9; border-radius: 11px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.form-control::placeholder { color: #a4aea9; }
.form-control:hover { border-color: #bac8c1; }
.form-control:focus { border-color: #2d8d70; box-shadow: 0 0 0 4px rgba(45,141,112,.1); }
.button-primary { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #26866a 0%, #1d6e59 100%); box-shadow: 0 10px 22px rgba(29,110,89,.18); font-size: 14px; font-weight: 750; text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease; cursor: pointer; }
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(29,110,89,.25); filter: brightness(1.03); }
.button-primary svg { width: 17px; height: 17px; }
.auth-form__meta { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: #8b9691; font-size: 12px; line-height: 1.5; }
.auth-form__meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: #668078; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0,1fr); background: #f3f6f4; }
.app-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 26px 18px 20px; color: #dce9e4; background: #10221d; border-right: 1px solid #19332b; }
.sidebar-brand { padding: 0 8px 26px; color: #f4fbf8; }
.sidebar-nav { display: grid; gap: 5px; margin-top: 8px; }
.sidebar-nav__label { margin: 20px 10px 8px; color: #6f8d83; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nav-item { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 0 12px; border-radius: 9px; color: #9fb7af; font-size: 13px; font-weight: 620; text-decoration: none; }
.nav-item svg { width: 18px; height: 18px; flex: 0 0 auto; }
.nav-item--active { color: #f5fffb; background: rgba(70,178,144,.14); box-shadow: inset 0 0 0 1px rgba(92,199,166,.08); }
.nav-item--muted { color: #657f76; cursor: default; }
.nav-item__badge { margin-left: auto; padding: 3px 6px; border-radius: 999px; color: #6f8d83; background: rgba(255,255,255,.04); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 2px; color: #647f76; font-size: 11px; line-height: 1.5; }
.app-stage { min-width: 0; }
.topbar { position: sticky; z-index: 20; top: 0; display: flex; height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; background: rgba(255,255,255,.92); border-bottom: 1px solid #e1e7e3; backdrop-filter: blur(14px); }
.topbar__title { color: #24302c; font-size: 14px; font-weight: 700; }
.topbar-account { display: flex; align-items: center; gap: 12px; }
.topbar-account__avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #1f6955; background: #e5f3ed; font-size: 12px; font-weight: 800; }
.topbar-account__text { display: grid; gap: 2px; }
.topbar-account__email { color: #2c3733; font-size: 12px; font-weight: 650; }
.topbar-account__role { color: #8b9691; font-size: 10px; }
.logout-button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid #dce3df; border-radius: 9px; color: #63716b; background: #fff; cursor: pointer; }
.logout-button:hover { color: #9a3d3d; background: #fff8f8; border-color: #e9caca; }
.logout-button svg { width: 17px; height: 17px; }
.app-content { padding: 38px 34px 48px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.page-eyebrow { margin-bottom: 8px; color: #27765f; }
.page-heading h1 { margin: 0; color: #17201d; font-size: 32px; font-weight: 750; letter-spacing: -.04em; }
.page-heading p { margin: 9px 0 0; color: #7d8984; font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #cfe6dc; border-radius: 999px; color: #27765f; background: #edf8f3; font-size: 11px; font-weight: 700; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #35a880; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.module-card { min-height: 176px; padding: 22px; border: 1px solid #e0e7e3; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(28,48,39,.035); }
.module-card__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #26775f; background: #eaf5f0; }
.module-card__icon svg { width: 19px; height: 19px; }
.module-card h2 { margin: 18px 0 0; color: #27332e; font-size: 15px; font-weight: 720; }
.module-card p { margin: 7px 0 0; color: #8a9691; font-size: 12px; line-height: 1.55; }
.module-card__meta { display: inline-flex; margin-top: 16px; color: #6b7973; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width:1080px) {
    .auth-page { grid-template-columns: minmax(360px,.8fr) minmax(460px,1.2fr); }
    .auth-showcase { padding-inline: 42px; }
    .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:820px) {
    .auth-page { display: block; }
    .auth-showcase { display: none; }
    .auth-form-side { min-height: 100vh; padding: 42px 24px; }
    .auth-mobile-brand { display: flex; }
    .app-shell { grid-template-columns: 74px minmax(0,1fr); }
    .app-sidebar { align-items: center; padding-inline: 10px; }
    .sidebar-brand { padding-inline: 0; }
    .sidebar-brand__text, .sidebar-nav__label, .nav-item span, .nav-item__badge, .sidebar-footer { display: none; }
    .sidebar-nav { width: 100%; }
    .nav-item { justify-content: center; padding: 0; }
    .topbar, .app-content { padding-inline: 22px; }
}
@media (max-width:620px) {
    .auth-form-side { align-items: start; padding-top: 30px; }
    .auth-panel h2 { font-size: 29px; }
    .app-shell { display: block; }
    .app-sidebar { display: none; }
    .topbar { height: 62px; padding-inline: 16px; }
    .topbar-account__text { display: none; }
    .app-content { padding: 26px 16px 36px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .module-grid { grid-template-columns: 1fr; }
}
