:root {
    --navy:#061d2d;
    --navy-2:#09283d;
    --blue:#008fc5;
    --cyan:#00a7d8;
    --orange:#f58220;
    --yellow:#ffd21f;
    --pink:#d51b73;
    --green:#16a085;
    --red:#e34d59;
    --bg:#eef5f8;
    --white:#ffffff;
    --text:#13263d;
    --muted:#71849c;
    --border:#d9e6ed;
    --shadow:0 12px 35px rgba(10,44,65,.08);
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

button,
input,
select,
textarea {
    font:inherit;
}

button,
a {
    -webkit-tap-highlight-color:transparent;
}

a {
    color:inherit;
    text-decoration:none;
}

.app-shell {
    min-height:100vh;
    display:flex;
}

.sidebar {
    width:265px;
    flex:0 0 265px;
    min-height:100vh;
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    z-index:50;
    background:
        radial-gradient(circle at 90% 5%,rgba(0,167,216,.18),transparent 28%),
        linear-gradient(180deg,#061b2b 0%,#072b42 100%);
    color:#d9e9f2;
    padding:28px 18px 20px;
    display:flex;
    flex-direction:column;
}

.brand {
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 12px 25px;
}

.brand-logo {
    width:72px;
    height:72px;
    background:white;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.16);
}

.brand-logo img {
    width:86%;
    height:86%;
    object-fit:contain;
}

.brand-fallback {
    font-size:36px;
    font-weight:900;
    color:var(--blue);
}

.brand-copy {
    display:flex;
    flex-direction:column;
}

.brand-copy strong {
    color:#fff;
    font-size:21px;
}

.brand-copy span {
    color:#91b0c2;
    font-size:14px;
    margin-top:3px;
}

.user-card {
    border:1px solid rgba(73,168,211,.25);
    background:rgba(255,255,255,.04);
    border-radius:18px;
    padding:14px;
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:18px;
}

.avatar {
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--cyan);
    color:white;
    font-weight:900;
}

.user-card strong {
    display:block;
    color:#fff;
}

.user-card small {
    display:block;
    color:#8ea9ba;
    margin-top:3px;
}

.nav {
    display:flex;
    flex-direction:column;
    gap:4px;
    overflow-y:auto;
}

.nav a {
    display:flex;
    align-items:center;
    gap:13px;
    min-height:48px;
    padding:0 14px;
    border-radius:14px;
    color:#a9c0ce;
    font-weight:700;
    position:relative;
    transition:.2s;
}

.nav a:hover {
    background:rgba(0,167,216,.12);
    color:white;
}

.nav a.active {
    background:linear-gradient(90deg,rgba(0,143,197,.35),rgba(0,167,216,.10));
    color:#fff;
    box-shadow:inset 4px 0 var(--cyan);
}

.nav a span {
    width:20px;
    text-align:center;
    color:#86abc0;
}

.nav a.active span {
    color:var(--yellow);
}

.nav-badge {
    margin-left:auto;
    min-width:21px;
    height:21px;
    border-radius:99px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--pink);
    color:#fff;
    font-size:11px;
}

.sidebar-footer {
    margin-top:auto;
    padding-top:18px;
}

.brand-slogan {
    color:#6e9ab0;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    margin:0 12px 12px;
}

.logout-btn {
    width:100%;
    border:0;
    background:rgba(255,255,255,.05);
    color:#9db6c4;
    padding:12px;
    border-radius:12px;
    cursor:pointer;
}

.main {
    margin-left:265px;
    width:calc(100% - 265px);
    min-width:0;
    padding:0 54px 70px;
}

.topbar {
    min-height:110px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.eyebrow {
    color:#0074a4;
    font-weight:900;
    font-size:12px;
    letter-spacing:.22em;
}

.topbar h1 {
    margin:6px 0 0;
    font-size:38px;
    line-height:1;
    letter-spacing:-.04em;
}

.topbar-actions {
    display:flex;
    align-items:center;
    gap:18px;
}

.notification-button {
    width:45px;
    height:45px;
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.notification-button span {
    position:absolute;
    top:-5px;
    right:-5px;
    width:20px;
    height:20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--pink);
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.date-box {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}

.date-box strong {
    font-size:14px;
}

.date-box small {
    color:var(--muted);
    margin-top:3px;
}

.mobile-menu {
    display:none;
}

.hero {
    background:
        radial-gradient(circle at 75% -50%,rgba(255,210,31,.22),transparent 25%),
        linear-gradient(120deg,#06243a,#007ca8);
    color:#fff;
    min-height:170px;
    border-radius:27px;
    padding:34px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    box-shadow:0 18px 40px rgba(0,91,128,.18);
    position:relative;
    overflow:hidden;
}

.hero:after {
    content:"";
    position:absolute;
    width:160px;
    height:300px;
    right:30%;
    top:-70px;
    transform:rotate(24deg);
    background:rgba(255,210,31,.09);
    border-radius:50%;
}

.hero h2 {
    font-size:36px;
    margin:8px 0;
    letter-spacing:-.04em;
}

.hero p {
    margin:0;
    color:#d2eaf4;
    font-size:16px;
}

.hero-label {
    font-size:11px;
    letter-spacing:.2em;
    color:#8fd9ee;
    font-weight:900;
}

.workday-pill {
    position:relative;
    z-index:2;
    min-width:200px;
    padding:17px 20px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.08);
    border-radius:18px;
    display:flex;
    flex-direction:column;
}

.workday-pill strong {
    font-size:22px;
}

.workday-pill span {
    color:#d3e9f2;
    font-size:12px;
    margin-top:4px;
}

.quick-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0;
}

.quick {
    padding:11px 16px;
    border-radius:12px;
    color:white;
    font-weight:800;
    font-size:13px;
    border:0;
    cursor:pointer;
}

.quick.blue { background:var(--blue); }
.quick.green { background:var(--green); }
.quick.orange { background:var(--orange); }
.quick.pink { background:var(--pink); }
.quick.purple { background:#7057c9; }
.quick.navy { background:var(--navy); }

.metrics {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin:18px 0;
}

.metric {
    background:white;
    border-radius:20px;
    padding:22px 24px;
    box-shadow:var(--shadow);
    border-left:4px solid var(--blue);
}

.metric.orange { border-color:var(--orange); }
.metric.pink { border-color:var(--pink); }
.metric.cyan { border-color:var(--cyan); }

.metric small,
.metric span {
    display:block;
    color:var(--muted);
}

.metric small {
    font-size:13px;
}

.metric strong {
    display:block;
    font-size:32px;
    margin:8px 0 2px;
}

.metric span {
    font-size:12px;
}

.grid-2 {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:22px;
    margin-top:22px;
}

.panel {
    background:white;
    border:1px solid rgba(209,225,233,.8);
    border-radius:22px;
    padding:26px;
    box-shadow:var(--shadow);
    margin-top:22px;
}

.panel.large {
    min-height:500px;
}

.panel-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.panel-head h3 {
    margin:5px 0 0;
    font-size:22px;
}

.panel-head a {
    color:#0077a6;
    font-weight:900;
    font-size:13px;
}

.panel-count {
    color:var(--muted);
    font-size:13px;
}

.active-task {
    border:1px solid #d7e9f1;
    background:#f7fbfd;
    border-radius:17px;
    padding:17px;
    display:flex;
    align-items:center;
    gap:14px;
}

.task-play {
    width:48px;
    height:48px;
    background:#d8f1fa;
    color:#007ba9;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.task-main {
    flex:1;
}

.task-main strong {
    display:block;
}

.task-main span {
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}

.status-pill {
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    border-radius:99px;
    background:#edf3f6;
    color:#5d7182;
    font-size:11px;
    font-weight:900;
    text-transform:capitalize;
}

.status-pill.in_progress {
    background:#dff5fd;
    color:#0078a6;
}

.status-pill.testing {
    background:#eee8ff;
    color:#7057c9;
}

.status-pill.completed {
    background:#dff6ed;
    color:#148561;
}

.status-pill.todo {
    background:#fff3d8;
    color:#a46d00;
}

.status-pill.backlog {
    background:#eef1f4;
}

.status-pill.open {
    background:#ffe4ea;
    color:#c22a58;
}

.status-pill.successful {
    background:#dff6ed;
    color:#148561;
}

.status-pill.failed {
    background:#ffe4e7;
    color:#c42d42;
}

.timer-control {
    margin-top:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:15px;
    border-radius:16px;
    background:#06243a;
    color:#fff;
}

.timer-control small {
    display:block;
    color:#8db6c9;
}

.timer-control strong {
    font-size:25px;
}

.timer-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.btn {
    border:0;
    border-radius:11px;
    padding:11px 15px;
    font-weight:800;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.btn.primary {
    background:var(--blue);
    color:white;
}

.btn.secondary {
    background:#eaf1f5;
    color:#29485d;
}

.btn.danger {
    background:#e74d5c;
    color:white;
}

.schedule {
    display:flex;
    flex-direction:column;
}

.schedule-row {
    display:grid;
    grid-template-columns:55px 18px 1fr;
    gap:10px;
    padding:9px 10px;
    border-radius:12px;
    align-items:start;
}

.schedule-row.current {
    background:#e6f6fb;
    box-shadow:inset 3px 0 var(--cyan);
}

.schedule-time {
    font-size:12px;
    font-weight:900;
    color:#63778a;
}

.schedule-dot {
    width:10px;
    height:10px;
    border-radius:50%;
    background:#9db3c0;
    margin-top:4px;
}

.current .schedule-dot {
    background:var(--cyan);
    box-shadow:0 0 0 5px rgba(0,167,216,.12);
}

.schedule-content strong {
    display:block;
    font-size:13px;
}

.schedule-content span {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:2px;
}

.project-list {
    display:flex;
    flex-direction:column;
    gap:18px;
}

.project-row {
    display:grid;
    grid-template-columns:1fr 180px;
    gap:20px;
    align-items:center;
}

.project-title strong,
.project-title span {
    display:block;
}

.project-title span {
    color:var(--muted);
    font-size:12px;
    margin-top:3px;
}

.progress-wrap {
    display:flex;
    align-items:center;
    gap:10px;
}

.progress-bar {
    height:8px;
    border-radius:99px;
    background:#e7eef2;
    overflow:hidden;
    flex:1;
}

.progress-bar div {
    height:100%;
    background:linear-gradient(90deg,var(--blue),var(--cyan));
    border-radius:99px;
}

.progress-bar.large {
    height:11px;
}

.progress-wrap strong {
    font-size:12px;
}

.priority-list {
    display:flex;
    flex-direction:column;
}

.priority-row {
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #edf1f3;
}

.priority-row:last-child {
    border-bottom:0;
}

.priority-row > div {
    flex:1;
}

.priority-row strong,
.priority-row small {
    display:block;
}

.priority-row small {
    color:var(--muted);
    margin-top:3px;
    font-size:11px;
}

.priority-dot {
    width:9px;
    height:9px;
    border-radius:50%;
    display:block;
    flex:0 0 9px;
}

.priority-dot.urgent,
.priority-dot.critical { background:var(--red); }
.priority-dot.high { background:var(--orange); }
.priority-dot.medium { background:var(--blue); }
.priority-dot.low { background:#8aa0ad; }

.page {
    max-width:1500px;
}

.page-intro {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:15px 0 20px;
}

.page-intro h2 {
    margin:7px 0;
    font-size:30px;
    letter-spacing:-.04em;
}

.page-intro p {
    margin:0;
    color:var(--muted);
}

.kanban {
    display:grid;
    grid-template-columns:repeat(5,minmax(220px,1fr));
    gap:14px;
    overflow-x:auto;
    padding-bottom:8px;
}

.kanban-column {
    background:#e4edf2;
    border-radius:18px;
    padding:12px;
    min-height:450px;
}

.kanban-head {
    display:flex;
    justify-content:space-between;
    padding:8px 7px 12px;
}

.kanban-head span {
    background:white;
    border-radius:99px;
    min-width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:900;
}

.kanban-dropzone {
    min-height:390px;
    border-radius:13px;
    padding:2px;
    transition:.2s;
}

.kanban-dropzone.drag-over {
    background:rgba(0,143,197,.12);
    outline:2px dashed var(--blue);
}

.task-card {
    background:white;
    border:1px solid #d9e6ed;
    border-radius:15px;
    padding:14px;
    margin-bottom:10px;
    cursor:grab;
    box-shadow:0 4px 12px rgba(20,60,80,.05);
}

.task-card.dragging {
    opacity:.5;
}

.task-card-top {
    display:flex;
    align-items:center;
    gap:7px;
}

.task-card-top small {
    color:var(--muted);
    flex:1;
}

.drag-handle {
    color:#9aabb6;
}

.task-card h4 {
    margin:10px 0 5px;
    font-size:14px;
}

.task-card p {
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
}

.task-meta {
    display:flex;
    justify-content:space-between;
    color:#718492;
    font-size:10px;
    margin:12px 0;
}

.task-card-actions {
    display:flex;
    gap:7px;
    align-items:center;
}

.mini-btn {
    border:1px solid #d7e3e9;
    background:#f6fafb;
    border-radius:8px;
    padding:6px 8px;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}

.mini-btn.danger-mini {
    color:#c22d42;
}

.status-select {
    flex:1;
    border:1px solid #d7e3e9;
    border-radius:8px;
    padding:6px;
    font-size:10px;
}

.form-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.field {
    display:flex;
    flex-direction:column;
    gap:7px;
}

.field.wide {
    grid-column:1/-1;
}

.field label {
    font-size:12px;
    font-weight:900;
    color:#51697b;
}

.field input,
.field select,
.field textarea,
.page-intro input {
    border:1px solid #d5e3e9;
    background:#fbfdfe;
    border-radius:11px;
    padding:11px 12px;
    outline:none;
    color:var(--text);
}

.field textarea {
    resize:vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color:var(--cyan);
    box-shadow:0 0 0 3px rgba(0,167,216,.09);
}

.project-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.project-card {
    background:#fff;
    border-radius:20px;
    padding:23px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.project-card-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.project-code {
    font-size:10px;
    color:#007ba7;
    font-weight:900;
    letter-spacing:.12em;
}

.project-card h3 {
    margin:5px 0 20px;
}

.project-percent {
    color:#007ca9;
    font-size:25px;
}

.project-stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-top:18px;
    gap:10px;
}

.project-stats div {
    background:#f3f8fa;
    padding:12px;
    border-radius:12px;
}

.project-stats strong,
.project-stats span {
    display:block;
}

.project-stats span {
    color:var(--muted);
    font-size:10px;
    margin-top:3px;
}

.project-stats .danger-stat strong {
    color:var(--pink);
}

.project-breakdown {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:15px;
}

.project-breakdown span {
    background:#edf3f6;
    border-radius:99px;
    padding:6px 8px;
    font-size:9px;
    color:#607483;
}

.table-wrap {
    overflow-x:auto;
}

table {
    width:100%;
    border-collapse:collapse;
}

th,
td {
    padding:13px 10px;
    text-align:left;
    border-bottom:1px solid #edf1f3;
    font-size:12px;
    vertical-align:middle;
}

th {
    color:#718493;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

td small {
    display:block;
    color:var(--muted);
    margin-top:3px;
}

.severity {
    border-radius:99px;
    padding:6px 9px;
    font-size:10px;
    font-weight:900;
}

.severity.critical {
    background:#ffe0e5;
    color:#bd203b;
}

.severity.high {
    background:#ffead5;
    color:#bd6700;
}

.severity.medium {
    background:#e1f2f9;
    color:#08789f;
}

.severity.low {
    background:#edf1f3;
    color:#607481;
}

.timer-hero {
    background:linear-gradient(120deg,#06243a,#007ca8);
    color:white;
    padding:30px;
    border-radius:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.timer-hero h2 {
    font-size:50px;
    margin:8px 0;
    letter-spacing:.03em;
}

.timer-hero p {
    color:#c7e3ee;
}

.report-metrics {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.report-stat {
    background:white;
    border-radius:18px;
    padding:22px;
    box-shadow:var(--shadow);
}

.report-stat strong {
    display:block;
    font-size:30px;
}

.report-stat span {
    color:var(--muted);
    font-size:12px;
}

.report-section {
    margin-bottom:20px;
}

.report-section label {
    display:block;
    font-weight:900;
    font-size:13px;
    margin-bottom:8px;
}

.report-section textarea {
    width:100%;
    border:1px solid var(--border);
    border-radius:13px;
    padding:13px;
    resize:vertical;
}

.weekly-project,
.unfinished-row,
.reminder-row,
.setting-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid #edf1f3;
}

.weekly-project:last-child,
.unfinished-row:last-child,
.reminder-row:last-child,
.setting-row:last-child {
    border-bottom:0;
}

.weekly-project strong,
.weekly-project span,
.unfinished-row strong,
.unfinished-row span {
    display:block;
}

.weekly-project span,
.unfinished-row span {
    color:var(--muted);
    font-size:11px;
    margin-top:4px;
}

.reminder-row {
    justify-content:flex-start;
}

.reminder-icon {
    width:40px;
    height:40px;
    border-radius:12px;
    background:#e7f6fb;
    display:flex;
    align-items:center;
    justify-content:center;
}

.reminder-main {
    flex:1;
}

.reminder-main strong,
.reminder-main span {
    display:block;
}

.reminder-main span {
    color:var(--muted);
    font-size:11px;
    margin-top:3px;
}

.reminder-time {
    color:#4c6879;
    font-weight:800;
    font-size:12px;
}

.reminder-time small {
    display:block;
    color:var(--muted);
    margin-top:3px;
    text-align:right;
}

.tool-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.tool-card {
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    padding:20px;
    display:flex;
    gap:15px;
    align-items:center;
    box-shadow:var(--shadow);
    transition:.2s;
}

.tool-card:hover {
    transform:translateY(-2px);
    border-color:#9bd9ea;
}

.tool-icon {
    width:48px;
    height:48px;
    border-radius:14px;
    background:#e8f7fb;
    color:#007da9;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
}

.tool-card div {
    min-width:0;
}

.tool-card small,
.tool-card strong,
.tool-card span {
    display:block;
}

.tool-card small {
    color:#007ca7;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

.tool-card strong {
    margin:3px 0;
}

.tool-card span {
    color:var(--muted);
    font-size:10px;
}

.settings-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.muted {
    color:var(--muted);
    font-size:12px;
}

.doc-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.doc-card {
    background:white;
    border-radius:20px;
    padding:28px;
    box-shadow:var(--shadow);
}

.doc-card span {
    color:var(--cyan);
    font-weight:900;
    font-size:12px;
}

.doc-card h3 {
    margin:10px 0;
}

.doc-card p {
    color:var(--muted);
    line-height:1.6;
    font-size:13px;
}

.timeline-large {
    max-width:850px;
    margin:auto;
}

.timeline-item {
    display:grid;
    grid-template-columns:145px 25px 1fr;
    gap:15px;
    padding:18px;
    border-radius:15px;
    margin-bottom:6px;
}

.timeline-item.current {
    background:#e5f7fc;
    box-shadow:inset 4px 0 var(--cyan);
}

.timeline-time {
    font-weight:900;
    color:#647b8b;
    font-size:13px;
}

.timeline-marker {
    width:13px;
    height:13px;
    border-radius:50%;
    background:#9eb3bf;
    margin-top:3px;
}

.timeline-item.current .timeline-marker {
    background:var(--cyan);
    box-shadow:0 0 0 6px rgba(0,167,216,.12);
}

.timeline-body strong,
.timeline-body span {
    display:block;
}

.timeline-body span {
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}

.empty-state {
    text-align:center;
    padding:30px 15px;
    color:var(--muted);
}

.empty-state strong {
    display:block;
    color:var(--text);
    margin-bottom:5px;
}

.flash {
    padding:12px 16px;
    border-radius:12px;
    margin-bottom:15px;
    font-size:13px;
    font-weight:800;
}

.flash.success {
    background:#ddf6eb;
    color:#157d5d;
}

.flash.error {
    background:#ffe5e8;
    color:#bd2940;
}

#toast-container {
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.toast {
    width:min(380px,calc(100vw - 30px));
    background:#06243a;
    color:white;
    border-radius:15px;
    padding:15px 17px;
    box-shadow:0 20px 50px rgba(0,0,0,.2);
    animation:toastIn .25s ease;
}

.toast strong,
.toast span {
    display:block;
}

.toast span {
    color:#c8e0ea;
    font-size:12px;
    margin-top:4px;
}

.toast.success {
    border-left:4px solid:#16a085;
}

.toast.error {
    border-left:4px solid:#e34d59;
}

.toast.reminder {
    border-left:4px solid:#ffd21f;
}

.toast.hide {
    opacity:0;
    transform:translateY(10px);
    transition:.3s;
}

@keyframes toastIn {
    from {
        opacity:0;
        transform:translateY(15px);
    }

    to {
        opacity:1;
        transform:none;
    }
}

@media(max-width:1200px) {

    .main {
        padding-left:30px;
        padding-right:30px;
    }

    .metrics {
        grid-template-columns:repeat(2,1fr);
    }

    .kanban {
        grid-template-columns:repeat(5,230px);
    }

    .tool-grid {
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px) {

    .sidebar {
        transform:translateX(-100%);
        transition:.25s;
    }

    .sidebar.mobile-open {
        transform:none;
    }

    .main {
        margin-left:0;
        width:100%;
        padding:0 18px 50px;
    }

    .mobile-menu {
        display:block;
        border:0;
        background:white;
        border-radius:10px;
        width:42px;
        height:42px;
        cursor:pointer;
        box-shadow:var(--shadow);
    }

    .topbar {
        min-height:85px;
    }

    .topbar h1 {
        font-size:27px;
    }

    .date-box {
        display:none;
    }

    .hero {
        flex-direction:column;
        align-items:flex-start;
        padding:25px;
    }

    .hero h2 {
        font-size:28px;
    }

    .grid-2 {
        grid-template-columns:1fr;
    }

    .project-grid,
    .settings-grid,
    .doc-grid {
        grid-template-columns:1fr;
    }

    .form-grid {
        grid-template-columns:1fr 1fr;
    }

    .tool-grid {
        grid-template-columns:1fr;
    }

    .report-metrics {
        grid-template-columns:repeat(2,1fr);
    }

    .timer-hero {
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:600px) {

    .main {
        padding-left:12px;
        padding-right:12px;
    }

    .topbar h1 {
        font-size:23px;
    }

    .eyebrow {
        font-size:9px;
    }

    .metrics {
        grid-template-columns:1fr;
    }

    .form-grid {
        grid-template-columns:1fr;
    }

    .field.wide {
        grid-column:auto;
    }

    .project-row {
        grid-template-columns:1fr;
        gap:8px;
    }

    .project-stats {
        grid-template-columns:1fr 1fr 1fr;
    }

    .timer-hero h2 {
        font-size:37px;
    }

    .timer-buttons {
        width:100%;
    }

    .timer-buttons .btn {
        flex:1;
    }

    .timeline-item {
        grid-template-columns:85px 18px 1fr;
        gap:8px;
        padding:14px 8px;
    }

    .page-intro {
        align-items:flex-start;
        flex-direction:column;
    }

    .panel {
        padding:18px;
        border-radius:17px;
    }

    .topbar-actions {
        margin-left:auto;
    }

    .notification-button {
        width:40px;
        height:40px;
    }

    .report-metrics {
        grid-template-columns:1fr;
    }

    .reminder-row {
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .reminder-time {
        width:100%;
        margin-left:55px;
    }

    .reminder-time small {
        text-align:left;
    }
}

/* ======================================================
   TURBONET DEVELOPER WORK MANAGER
   Premium Typography Upgrade
   ====================================================== */

:root {
    --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;

    --font-code: "IBM Plex Mono", "SFMono-Regular",
                 Consolas, "Liberation Mono", monospace;
}

html,
body,
button,
input,
textarea,
select {
    font-family: var(--font-ui);
}

body {
    letter-spacing: -0.01em;
}

/* Main headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-ui);
    letter-spacing: -0.035em;
    font-weight: 800;
}

/* Dashboard numbers */

.metric-value,
.stat-value,
.big-number {
    font-weight: 800;
    letter-spacing: -0.045em;
}

/* Navigation */

.sidebar a,
.nav-link,
.menu-item {
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* Buttons */

button,
.btn,
a.btn {
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Technical information */

code,
pre,
.terminal,
.git-command,
.server-command,
.ip-address,
.commit-hash {
    font-family: var(--font-code);
}

/* Better form controls */

input,
textarea,
select {
    font-weight: 500;
}

/* Better cards */

.card,
.panel,
.metric-card {
    letter-spacing: -0.01em;
}

/* Mobile typography */

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    body {
        font-size: 14px;
    }
}


/* Turbonet Developer Manager Typography */

:root {
    --font-ui:
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-code:
        "IBM Plex Mono",
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
}

html,
body,
button,
input,
textarea,
select {
    font-family: var(--font-ui);
}

body {
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-ui);
    font-weight: 800;
    letter-spacing: -0.035em;
}

button,
.btn,
a.btn {
    font-family: var(--font-ui);
    font-weight: 700;
}

code,
pre,
.terminal,
.git-command,
.server-command,
.ip-address,
.commit-hash {
    font-family: var(--font-code);
}


/* =====================================================
   APIWAP WHATSAPP SETTINGS
   ===================================================== */

.apiwap-settings-card {
    margin: 0 0 28px 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(14, 70, 105, 0.10);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(14, 70, 105, 0.08);
}

.apiwap-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.apiwap-eyebrow {
    color: #087bb5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 7px;
}

.apiwap-header h2 {
    margin: 0;
    color: #0d2942;
    font-size: 22px;
    font-weight: 800;
}

.apiwap-header p {
    margin: 7px 0 0;
    color: #7890a5;
    font-size: 14px;
}

.apiwap-status {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.apiwap-status-on {
    background: #e7f8f0;
    color: #079669;
}

.apiwap-status-off {
    background: #fff0f0;
    color: #d34848;
}

.apiwap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.apiwap-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apiwap-full {
    grid-column: 1 / -1;
}

.apiwap-field label {
    color: #19344d;
    font-size: 13px;
    font-weight: 800;
}

.apiwap-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #dbe7ef;
    border-radius: 12px;
    background: #f9fcfe;
    color: #16324a;
    outline: none;
    font-size: 14px;
}

.apiwap-field input:focus {
    border-color: #0aa6d9;
    box-shadow: 0 0 0 3px rgba(10,166,217,.10);
    background: #fff;
}

.apiwap-field small {
    color: #8aa0b2;
    font-size: 11px;
}

.apiwap-reminders {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #edf2f6;
}

.apiwap-reminders-title {
    margin-bottom: 14px;
}

.apiwap-reminders-title strong {
    display: block;
    color: #18334b;
    font-size: 15px;
}

.apiwap-reminders-title small {
    display: block;
    margin-top: 4px;
    color: #8ca0b0;
    font-size: 11px;
}

.apiwap-reminder-list {
    border: 1px solid #e8eff4;
    border-radius: 15px;
    overflow: hidden;
}

.apiwap-reminder-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    background: #fff;
    border-bottom: 1px solid #edf2f5;
}

.apiwap-reminder-row:last-child {
    border-bottom: 0;
}

.apiwap-reminder-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apiwap-reminder-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef8fc;
    font-size: 16px;
}

.apiwap-reminder-info strong {
    display: inline-block;
    width: 55px;
    color: #16334c;
    font-size: 13px;
    font-family: "IBM Plex Mono", monospace;
}

.apiwap-reminder-info span {
    color: #5d7387;
    font-size: 13px;
}

.apiwap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.apiwap-btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.apiwap-btn:disabled {
    opacity: .55;
    cursor: wait;
}

.apiwap-btn-primary {
    background: #087fb7;
    color: white;
}

.apiwap-btn-primary:hover {
    background: #066b9a;
}

.apiwap-btn-secondary {
    background: #eaf7fb;
    color: #0874a5;
}

.apiwap-btn-secondary:hover {
    background: #d9f0f7;
}

.apiwap-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.apiwap-success {
    background: #e9f8f0;
    color: #087d59;
}

.apiwap-error {
    background: #fff0f0;
    color: #c53d3d;
}

.apiwap-last-test {
    margin-top: 13px;
    color: #8b9cab;
    font-size: 11px;
}

/* Toggle */

.apiwap-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
}

.apiwap-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.apiwap-switch span {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 30px;
    background: #cbd7df;
    transition: .2s;
}

.apiwap-switch span:before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.20);
    transition: .2s;
}

.apiwap-switch input:checked + span {
    background: #08a77c;
}

.apiwap-switch input:checked + span:before {
    transform: translateX(21px);
}

.apiwap-switch-small {
    width: 40px;
    height: 22px;
}

.apiwap-switch-small span:before {
    width: 16px;
    height: 16px;
}

.apiwap-switch-small input:checked + span:before {
    transform: translateX(18px);
}

@media (max-width: 768px) {

    .apiwap-settings-card {
        padding: 20px;
        border-radius: 18px;
    }

    .apiwap-header {
        flex-direction: column;
    }

    .apiwap-grid {
        grid-template-columns: 1fr;
    }

    .apiwap-full {
        grid-column: auto;
    }

    .apiwap-actions {
        flex-direction: column;
    }

    .apiwap-btn {
        width: 100%;
    }
}

