/* Etatron-inspired industrial theme */

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* Base */
* { box-sizing: border-box; }

body {
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #6a6a6a;
    background: #f0f0f0;
    min-height: 100vh;
}

/* Dashboard legacy classes styled with Etatron theme */
.header {
    background: linear-gradient(135deg, #0a3d6e 0%, #004d8a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(10,61,110,0.15);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00a0e3, #0a3d6e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.header .brand-text h1 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.header .brand-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.device-selector label {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin-right: 6px;
}

.device-selector select,
.device-name {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.status-pill.online {
    background: rgba(16,185,129,0.15);
    color: #10b981;
    border-color: rgba(16,185,129,0.3);
}

.status-pill.offline {
    background: #dc2626;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.status-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-accent {
    background: rgba(0,160,227,0.2);
    color: #7dd3fc;
    border-color: rgba(0,160,227,0.3);
}

.btn-accent:hover {
    background: rgba(0,160,227,0.3);
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 40px;
}

.alert-critical {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.alert-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.alert-critical h3 {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.alert-critical p {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.alert-minutes {
    margin-left: auto;
    text-align: center;
    flex-shrink: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.alert-minutes .num {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.alert-minutes .label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.alarm-banner {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 28px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0099e5;
}

.section-head h2 {
    font-size: 18px;
    font-weight: bold;
    color: #0a3d6e;
}

.update-time {
    font-size: 12px;
    color: #888;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 28px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, #0099e5);
}

.info-card.offline {
    opacity: 0.55;
}

.info-card .icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.measure-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}
.measure-icon-img.temp-icon {
    width: 50px;
    height: 50px;
}
.measure-icon-img.cl-icon {
    width: 50px;
    height: 50px;
}

.info-card h3 {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-card .value {
    font-size: 32px;
    font-weight: bold;
    color: #0a3d6e;
    line-height: 1;
    margin-bottom: 6px;
}

.info-card .value.dash {
    color: #94a3b8;
    font-weight: 300;
    font-size: 22px;
}

.info-card.offline .value {
    color: #999;
}

.info-card .unit {
    font-size: 12px;
    color: #999;
}

.relay-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #0a3d6e;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.relay-box {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.relay-box.on {
    border-left: 4px solid #10b981;
}

.relay-box.off {
    border-left: 4px solid #dc2626;
}

.relay-box .relay-label {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.relay-box .relay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
}

.relay-box .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
}

.relay-box.on .indicator {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.relay-box.off .indicator {
    background: #dc2626;
}

.relay-box.off .r-text {
    color: #dc2626;
}

.relay-box.on .r-text {
    color: #10b981;
}

.status-grid.relay-offline .relay-box {
    opacity: 0.55;
}

.period-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0099e5;
}

.period-section .title {
    font-size: 18px;
    font-weight: bold;
    color: #0a3d6e;
}

.period-buttons {
    display: flex;
    gap: 4px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 8px;
}

.period-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #555;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.period-btn:hover {
    background: #e0e0e0;
}

.period-btn.active {
    background: #216295;
    color: #fff;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.chart-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 14px;
    font-weight: bold;
    color: #0a3d6e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.chart-stats {
    font-size: 12px;
    color: #666;
}

.chart-wrap {
    position: relative;
    height: 260px;
}

/* Login page legacy */
.login-wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0c3569;
    padding: 24px;
}

.login-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.login-card .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.login-card .brand-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0a3d6e, #00a0e3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.login-card .brand-text h1 {
    font-size: 22px;
    font-weight: bold;
    color: #0a3d6e;
}

.login-card .brand-text p {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.login-card .err {
    color: #b91c1c;
    background: #fef2f2;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid #fecaca;
}

.login-card .input-group {
    margin-bottom: 16px;
}

.login-card .input-group label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin-bottom: 6px;
}

.login-card .input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}

.login-card .input-group input:focus {
    border-color: #0099e5;
    outline: none;
}

.login-card button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #216295;
    background: linear-gradient(to bottom, #216295 0%, #174c82 100%);
    border: 1px outset #103459;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.login-card button[type="submit"]:hover {
    opacity: 0.9;
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

a { color: #0099e5; text-decoration: underline; }
a:hover { text-decoration: none; }

/* Layout */
.et-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.et-width {
    max-width: 1100px;
    min-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header top bar */
.et-header-top {
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-shadow: 0 -1px 0 #123a62;
    background: #1f5e92;
    background: linear-gradient(to bottom, #1f5e92 0%, #123a62 100%);
}

.et-header-top a { color: #fff; text-decoration: none; }
.et-header-top a:hover { text-decoration: underline; }

.et-header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.et-top-left { display: flex; align-items: center; gap: 12px; }
.et-top-right { display: flex; align-items: center; gap: 16px; }

.et-cart { display: flex; align-items: center; gap: 8px; }

/* Header main */
.et-header-main {
    height: 158px;
    background: #0c3569 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="158" viewBox="0 0 1200 158"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%230b4a8a;stop-opacity:1" /><stop offset="100%" style="stop-color:%230c3569;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="158" fill="url(%23g)"/></svg>') 50% 0 no-repeat;
    position: relative;
}

.et-header-main.index {
    height: 210px;
}

.et-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 18px;
    position: relative;
}

.et-logo {
    width: 337px;
    height: 62px;
    display: flex;
    align-items: center;
}

.et-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.et-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00a0e3, #0a3d6e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.et-logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.et-logo-text span {
    display: block;
    font-size: 11px;
    font-weight: normal;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* Navigation */
.et-nav {
    width: 100%;
    height: 59px;
    position: absolute;
    left: 0;
    top: 99px;
    padding: 0 58px;
    margin-left: -58px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="59"><rect width="10" height="59" fill="%231f5e92"/></svg>') repeat-x;
    background: linear-gradient(to bottom, #1f5e92 0%, #123a62 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.et-nav ul {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 3px;
    margin: 0;
    list-style: none;
}

.et-nav li { display: inline; }

.et-nav a {
    display: block;
    padding: 0 21px;
    margin: 0 7px;
    line-height: 34px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 -1px 0 #217ea3;
    text-decoration: none;
    position: relative;
    border-radius: 4px 4px 0 0;
}

.et-nav a:hover,
.et-nav a.active {
    background: #0a4a7a;
    text-shadow: 0 -1px 0 #0e3952;
}

/* Contacts / city */
.et-contacts {
    position: absolute;
    right: 24px;
    top: 26px;
    padding: 9px 24px;
    color: #fff;
    background: rgba(0,70,120,0.6);
    border-radius: 8px;
    text-align: right;
}

.et-contacts .tel { font-size: 18px; font-weight: bold; }
.et-contacts .tel a { color: #fff; text-decoration: none; }
.et-contacts .city { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Main content area */
.et-main {
    flex: 1;
    background: #f0f0f0;
    padding: 24px 0 40px;
}

.et-main.index {
    background: transparent;
    margin-top: -104px;
    position: relative;
    z-index: 1;
}

/* Hero banner */
.et-hero {
    background: linear-gradient(135deg, #0b4a8a 0%, #0c3569 100%);
    border-radius: 8px;
    padding: 40px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.et-hero-left { max-width: 55%; }
.et-hero h2 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 16px;
    margin-bottom: 20px;
    text-shadow: 0 -1px 0 #0a2c58;
}

.et-hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}

.et-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.et-btn {
    display: inline-block;
    line-height: 37px;
    border: 1px outset #103459;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
    padding: 0 22px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}

.et-btn:hover { opacity: 0.9; }

.et-btn-blue {
    background: #216295;
    background: linear-gradient(to bottom, #216295 0%, #174c82 100%);
}

.et-btn-green {
    background: #4a9b2e;
    background: linear-gradient(to bottom, #5ab33a 0%, #3d8a25 100%);
    border-color: #2e6b1c;
}

.et-btn-red {
    background: #c0392b;
    background: linear-gradient(to bottom, #e74c3c 0%, #a93226 100%);
    border-color: #8b241b;
}

.et-btn-gray {
    background: #eaeaea;
    background: linear-gradient(to bottom, #eaeaea 0%, #d4d5d5 100%);
    color: #333;
    border-color: #bbb;
    text-shadow: none;
}

.et-btn-small { line-height: 28px; padding: 0 14px; font-size: 12px; }

/* Content box */
.et-box {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.et-box-title {
    font-size: 18px;
    font-weight: bold;
    color: #0a3d6e;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0099e5;
}

/* Cards grid */
.et-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.et-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.et-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, #0099e5);
}

.et-card h4 {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.et-card .value {
    font-size: 32px;
    font-weight: bold;
    color: #0a3d6e;
    line-height: 1;
    margin-bottom: 6px;
}

.et-card .unit {
    font-size: 12px;
    color: #999;
}

.et-card.offline { opacity: 0.55; }
.et-card.offline .value { color: #999; }

/* Tables */
.et-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.et-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ddd;
    background: #f8f8f8;
}

.et-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.et-table tr:hover td { background: #f8f8f8; }

/* Forms */
.et-form-group {
    margin-bottom: 16px;
}

.et-form-group label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #555;
    margin-bottom: 6px;
}

.et-form-group input,
.et-form-group select,
.et-form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    background: #fff;
}

.et-form-group input:focus,
.et-form-group select:focus {
    border-color: #0099e5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,153,229,0.15);
}

.et-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
}

/* Login page */
.et-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c3569 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230c3569"/><circle cx="80" cy="20" r="40" fill="%230b4a8a" opacity="0.5"/><circle cx="20" cy="80" r="30" fill="%230a3d6e" opacity="0.4"/></svg>');
    padding: 24px;
}

.et-login-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.et-login-card .et-logo {
    width: auto;
    height: auto;
    margin-bottom: 24px;
    justify-content: center;
}

.et-login-card .et-logo a { justify-content: center; }

.et-login-card .et-logo-text { color: #0a3d6e; }
.et-login-card .et-logo-text span { color: #666; }

.et-login-card h2 {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
}

.et-error {
    color: #b91c1c;
    background: #fef2f2;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid #fecaca;
}

.et-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

/* Footer */
.et-footer {
    background: #0c3569;
    color: rgba(255,255,255,0.7);
    padding: 24px 0;
    font-size: 12px;
}

.et-footer a { color: #fff; }

.et-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Utility */
.et-right { text-align: right; }
.et-center { text-align: center; }
.et-mb { margin-bottom: 16px; }
.et-mt { margin-top: 16px; }
.et-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.et-badge-green { background: #f0fdf4; color: #16a34a; }
.et-badge-red { background: #fef2f2; color: #b91c1c; }
.et-badge-orange { background: #fff7ed; color: #ea580c; }
.et-badge-blue { background: #eff6ff; color: #2563eb; }

/* Status indicators */
.et-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
}

.et-status.online { background: #f0fdf4; color: #16a34a; }
.et-status.offline { background: #fef2f2; color: #b91c1c; }
.et-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Alert banner */
.et-alert {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.et-alert-icon { font-size: 24px; }
.et-alert h4 { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
.et-alert p { font-size: 12px; opacity: 0.9; }

/* Tabs */
.et-tabs {
    display: flex;
    gap: 4px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: fit-content;
}

.et-tab {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #555;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.et-tab:hover { background: #e0e0e0; }
.et-tab.active { background: #216295; color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
    .et-width { min-width: auto; padding: 0 16px; }
    .et-nav { padding: 0 16px; margin-left: -16px; }
    .et-contacts { position: static; margin-top: 12px; }
    .et-header-inner { flex-direction: column; align-items: flex-start; }
    .et-hero { flex-direction: column; gap: 24px; }
    .et-hero-left { max-width: 100%; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    .et-header-main { height: auto; padding-bottom: 20px; }
    .et-nav { position: static; margin-top: 12px; height: auto; }
    .et-nav ul { flex-wrap: wrap; height: auto; }
    .et-cards { grid-template-columns: 1fr; }
    .et-form-row { grid-template-columns: 1fr; }
    .et-footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
