
:root {
    --aecbt-navy: #244b73;
    --aecbt-navy-dark: #0d1c2d;
    --aecbt-red: #c91f27;
    --aecbt-green: #26965a;
    --aecbt-amber: #d49614;
    --aecbt-blue: #3279b8;
    --aecbt-bg: #f3f6fa;
    --aecbt-panel: #ffffff;
    --aecbt-border: #dfe6ed;
    --aecbt-text: #172538;
    --aecbt-muted: #667689;
}
body.aec-bt-app-page { margin: 0; overflow-x: hidden; }
.aecbt-login-shell {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(201,31,39,.20), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(49,111,168,.25), transparent 32%),
        linear-gradient(135deg,#07111d,#10253a 58%,#0a1725);
}
.aecbt-login-watermark {
    position: absolute;
    inset: 0 0 0 42%;
    background: url('../images/eagle-watermark.png') right center / min(720px,70vw) auto no-repeat;
    opacity: .12;
    filter: grayscale(1) brightness(2.1);
    transform: scale(1.12);
    pointer-events: none;
}
.aecbt-login-card {
    width: min(520px,100%);
    position: relative;
    z-index: 2;
    padding: 34px;
    border-radius: 26px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 35px 90px rgba(0,0,0,.34);
}
.aecbt-login-logo { display: block; width: 100%; max-height: 112px; object-fit: contain; object-position: left center; margin-bottom: 24px; }
.aecbt-login-heading span, .aecbt-kicker { font-size: 11px; font-weight: 850; color: var(--aecbt-red); text-transform: uppercase; letter-spacing: .13em; }
.aecbt-login-heading h1 { margin: 8px 0 10px; font-size: clamp(28px,5vw,39px); line-height: 1.08; color: var(--aecbt-navy-dark); }
.aecbt-login-heading p { margin: 0 0 26px; color: var(--aecbt-muted); line-height: 1.55; }
.aecbt-login-form { display: grid; gap: 10px; }
.aecbt-login-form label { font-size: 13px; font-weight: 750; color: #33455a; }
.aecbt-login-form input[type=text],
.aecbt-login-form input[type=password] {
    width: 100%; min-height: 50px; padding: 0 14px;
    border-radius: 12px; border: 1px solid #cfd8e2;
    background: #f8fafc; color: #142235; outline: none;
}
.aecbt-login-form input:focus { border-color: var(--aecbt-navy); box-shadow: 0 0 0 4px rgba(36,75,115,.12); }
.aecbt-login-form > button {
    min-height: 52px; border: 0; border-radius: 12px; margin-top: 8px;
    background: var(--aecbt-navy); color: #fff; font-size: 15px; font-weight: 850; cursor: pointer;
}
.aecbt-login-form > button:hover { background: var(--aecbt-red); }
.aecbt-password-wrap { position: relative; }
.aecbt-password-wrap input { padding-right: 78px !important; }
.aecbt-password-toggle {
    position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 10px;
    border: 0; background: transparent; color: var(--aecbt-navy); font-weight: 750; cursor: pointer;
}
.aecbt-login-link { text-align: center; margin-top: 8px; color: var(--aecbt-navy); font-size: 13px; font-weight: 700; }
.aecbt-checkbox { display: flex; gap: 8px; align-items: center; margin-top: 5px; }
.aecbt-notice { padding: 12px 14px; border-radius: 11px; margin-bottom: 16px; font-size: 13px; line-height: 1.4; }
.aecbt-notice-error { color: #8b1720; background: #fff0f1; border: 1px solid #f1c7ca; }
.aecbt-notice-success { color: #17643c; background: #edf9f2; border: 1px solid #c2e8d2; }

.aecbt-app { min-height: 100vh; background: var(--aecbt-bg); color: var(--aecbt-text); display: grid; grid-template-columns: 260px minmax(0,1fr); }
.aecbt-sidebar {
    position: sticky; top: 0; height: 100vh; padding: 20px 16px;
    background: var(--aecbt-navy-dark); color: #dce7f0; display: flex; flex-direction: column; z-index: 20;
}
.aecbt-sidebar-brand { display: block; background: #fff; border-radius: 14px; padding: 9px 10px; margin-bottom: 24px; }
.aecbt-sidebar-brand img { display: block; width: 100%; height: 70px; object-fit: contain; }
.aecbt-sidebar-nav { display: grid; gap: 4px; overflow-y: auto; }
.aecbt-sidebar-nav a {
    padding: 11px 13px; border-radius: 10px; color: #c7d4df; font-size: 14px; font-weight: 650;
}
.aecbt-sidebar-nav a:hover, .aecbt-sidebar-nav a.is-active { color: #fff; background: rgba(255,255,255,.10); }
.aecbt-logout { margin-top: auto; padding: 12px 13px; border-radius: 10px; color: #fff; background: rgba(201,31,39,.84); text-align: center; font-weight: 750; }
.aecbt-main { min-width: 0; }
.aecbt-topbar {
    min-height: 86px; padding: 14px clamp(18px,3vw,42px);
    background: #fff; border-bottom: 1px solid var(--aecbt-border);
    display: flex; align-items: center; gap: 18px; justify-content: space-between;
    position: sticky; top: 0; z-index: 15;
}
.aecbt-topbar h1 { margin: 3px 0 0; font-size: 25px; }
.aecbt-user-block { display: grid; text-align: right; }
.aecbt-user-block span { font-weight: 780; }
.aecbt-user-block small { color: var(--aecbt-muted); }
.aecbt-menu-toggle { display: none; border: 0; background: #edf2f7; border-radius: 10px; width: 42px; height: 42px; }
.aecbt-page-body { padding: 24px clamp(16px,3vw,42px) 48px; }
.aecbt-branch-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.aecbt-branch-tabs button {
    min-height: 38px; padding: 0 14px; border: 1px solid #d7e0e9; background: #fff;
    color: #43556a; border-radius: 10px; font-weight: 750; cursor: pointer;
}
.aecbt-branch-tabs button.is-active { color: #fff; background: var(--aecbt-navy); border-color: var(--aecbt-navy); }
.aecbt-summary-grid { display: grid; grid-template-columns: repeat(5,minmax(150px,1fr)); gap: 14px; }
.aecbt-summary-grid article {
    min-height: 132px; padding: 18px; border-radius: 17px; background: #fff; border: 1px solid var(--aecbt-border);
    box-shadow: 0 8px 28px rgba(22,42,64,.05); display: grid; align-content: space-between;
}
.aecbt-summary-grid article span { font-size: 13px; color: var(--aecbt-muted); font-weight: 750; }
.aecbt-summary-grid article strong { font-size: 37px; line-height: 1; color: var(--aecbt-navy); }
.aecbt-summary-grid article small { color: #8492a2; }
.aecbt-summary-grid .is-healthy strong { color: var(--aecbt-green); }
.aecbt-summary-grid .is-warning strong { color: var(--aecbt-amber); }
.aecbt-summary-grid .is-critical strong { color: var(--aecbt-red); }
.aecbt-summary-grid .is-offline strong { color: var(--aecbt-blue); }
.aecbt-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.aecbt-panel { background: #fff; border: 1px solid var(--aecbt-border); border-radius: 17px; padding: 18px; box-shadow: 0 8px 28px rgba(22,42,64,.04); }
.aecbt-panel header h2, .aecbt-panel-header h2 { margin: 0; font-size: 18px; }
.aecbt-panel canvas { width: 100% !important; max-height: 270px; margin-top: 12px; }
.aecbt-devices-panel { margin-top: 14px; padding: 0; overflow: hidden; }
.aecbt-panel-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border-bottom: 1px solid var(--aecbt-border); }
.aecbt-table-actions { display: flex; gap: 9px; }
.aecbt-table-actions input {
    min-width: min(360px,45vw); height: 42px; border: 1px solid #d4dde7; border-radius: 10px; padding: 0 12px;
}
.aecbt-table-actions button { height: 42px; border: 0; border-radius: 10px; padding: 0 15px; color: #fff; background: var(--aecbt-navy); font-weight: 750; cursor: pointer; }
.aecbt-table-wrap { overflow-x: auto; }
.aecbt-device-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.aecbt-device-table th, .aecbt-device-table td { padding: 13px 15px; border-bottom: 1px solid #edf1f5; text-align: left; font-size: 13px; }
.aecbt-device-table th { color: #607185; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: #f9fbfc; }
.aecbt-device-table tbody tr:hover { background: #f8fbfd; }
.aecbt-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 750; }
.aecbt-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #97a5b3; }
.aecbt-status-healthy::before { background: var(--aecbt-green); }
.aecbt-status-warning::before { background: var(--aecbt-amber); }
.aecbt-status-critical::before { background: var(--aecbt-red); }
.aecbt-loading-cell { text-align: center !important; padding: 35px !important; color: var(--aecbt-muted); }

@media (max-width: 1120px) {
    .aecbt-summary-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 820px) {
    .aecbt-app { grid-template-columns: 1fr; }
    .aecbt-sidebar { position: fixed; left: -280px; width: 260px; transition: left .2s ease; box-shadow: 18px 0 50px rgba(0,0,0,.24); }
    .aecbt-app.is-menu-open .aecbt-sidebar { left: 0; }
    .aecbt-menu-toggle { display: inline-grid; place-items: center; }
    .aecbt-topbar { justify-content: flex-start; }
    .aecbt-user-block { margin-left: auto; }
    .aecbt-summary-grid { grid-template-columns: repeat(2,1fr); }
    .aecbt-chart-grid { grid-template-columns: 1fr; }
    .aecbt-panel-header { align-items: stretch; flex-direction: column; }
    .aecbt-table-actions { flex-direction: column; }
    .aecbt-table-actions input { min-width: 0; width: 100%; }
}
@media (max-width: 520px) {
    .aecbt-login-shell { padding: 15px; }
    .aecbt-login-card { padding: 24px 19px; }
    .aecbt-summary-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .aecbt-summary-grid article { min-height: 118px; padding: 14px; }
    .aecbt-summary-grid article:first-child { grid-column: 1 / -1; }
    .aecbt-topbar { min-height: 74px; padding: 10px 14px; }
    .aecbt-topbar h1 { font-size: 20px; }
    .aecbt-user-block { display: none; }
}


/* Cihaz detay sayfası */
.aecbt-clickable-row { cursor: pointer; }
.aecbt-clickable-row:focus { outline: 3px solid rgba(36,75,115,.22); outline-offset: -3px; }
.aecbt-device-link { color: var(--aecbt-navy); text-decoration: none; }
.aecbt-device-link:hover { color: var(--aecbt-red); text-decoration: underline; }
.aecbt-back-link { display: inline-block; margin-bottom: 3px; color: var(--aecbt-navy); font-size: 12px; font-weight: 750; }
.aecbt-device-hero {
    display: grid; grid-template-columns: minmax(0,1.15fr) minmax(420px,.85fr);
    gap: 18px; padding: 24px; border: 1px solid var(--aecbt-border);
    border-radius: 19px; background: #fff; box-shadow: 0 8px 30px rgba(22,42,64,.05);
}
.aecbt-device-identity h2 { margin: 7px 0 7px; font-size: clamp(28px,4vw,45px); color: var(--aecbt-navy-dark); }
.aecbt-device-identity p { margin: 0; color: var(--aecbt-muted); font-size: 15px; }
.aecbt-device-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.aecbt-detail-badge {
    display: inline-flex; align-items: center; min-height: 31px; padding: 0 11px;
    border-radius: 999px; color: #fff; background: #67778a; font-size: 12px; font-weight: 800;
}
.aecbt-detail-badge.is-healthy, .aecbt-detail-badge.is-connection-active { background: var(--aecbt-green); }
.aecbt-detail-badge.is-warning, .aecbt-detail-badge.is-connection-delayed, .aecbt-detail-badge.is-connection-serious { background: var(--aecbt-amber); }
.aecbt-detail-badge.is-critical, .aecbt-detail-badge.is-connection-critical { background: var(--aecbt-red); }
.aecbt-detail-badge.is-connection-offline { background: var(--aecbt-blue); }
.aecbt-detail-badge.is-neutral { background: #657589; }
.aecbt-device-quick-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.aecbt-device-quick-facts article {
    min-width: 0; padding: 14px; border-radius: 13px; background: #f5f8fb; border: 1px solid #e5ebf1; display: grid; gap: 5px;
}
.aecbt-device-quick-facts span { color: var(--aecbt-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }
.aecbt-device-quick-facts strong { overflow-wrap: anywhere; font-size: 14px; }
.aecbt-quick-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.aecbt-quick-actions button {
    min-height: 41px; padding: 0 14px; border-radius: 10px; border: 1px solid #d3dde6;
    background: #fff; color: #33475c; font-weight: 750; cursor: pointer;
}
.aecbt-quick-actions button:hover { color: #fff; border-color: var(--aecbt-navy); background: var(--aecbt-navy); }
.aecbt-detail-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 14px; }
.aecbt-detail-tabs {
    padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--aecbt-border);
    display: grid; gap: 3px; align-content: start; height: max-content; position: sticky; top: 104px;
}
.aecbt-detail-tabs button {
    width: 100%; min-height: 41px; padding: 8px 11px; border: 0; border-radius: 9px;
    text-align: left; background: transparent; color: #526477; font-weight: 700; cursor: pointer;
}
.aecbt-detail-tabs button:hover, .aecbt-detail-tabs button.is-active { color: #fff; background: var(--aecbt-navy); }
.aecbt-detail-panels { min-width: 0; }
.aecbt-detail-panel {
    display: none; min-height: 420px; padding: 22px; border: 1px solid var(--aecbt-border);
    border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(22,42,64,.04);
}
.aecbt-detail-panel.is-active { display: block; }
.aecbt-detail-panel h3 { margin: 0 0 18px; font-size: 20px; }
.aecbt-detail-panel h4 { margin: 24px 0 10px; font-size: 15px; }
.aecbt-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.aecbt-detail-field {
    min-width: 0; padding: 14px; border: 1px solid #e3e9ef; border-radius: 12px; background: #f8fafc; display: grid; gap: 6px;
}
.aecbt-detail-field span { color: var(--aecbt-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .055em; font-weight: 750; }
.aecbt-detail-field strong { overflow-wrap: anywhere; font-size: 14px; }
.aecbt-detail-field.is-critical { border-color: #f0c4c7; background: #fff5f5; }
.aecbt-detail-field.is-warning { border-color: #ead9a9; background: #fffaf0; }
.aecbt-detail-field.is-healthy { border-color: #cce7d7; background: #f3fbf6; }
.aecbt-subsection { margin-top: 18px; }
.aecbt-card-list, .aecbt-data-list { display: grid; gap: 9px; }
.aecbt-disk-card {
    padding: 15px; border: 1px solid #e1e8ee; border-radius: 13px; background: #fafcfd;
}
.aecbt-disk-card header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.aecbt-disk-card p { margin: 10px 0 0; color: var(--aecbt-muted); font-size: 13px; }
.aecbt-progress { height: 9px; overflow: hidden; margin-top: 12px; border-radius: 999px; background: #e7edf2; }
.aecbt-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--aecbt-green),var(--aecbt-amber),var(--aecbt-red)); }
.aecbt-list-item {
    min-width: 0; padding: 13px 14px; border: 1px solid #e1e8ee; border-radius: 12px;
    background: #fafcfd; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.aecbt-list-item > div:first-child { display: grid; gap: 5px; min-width: 0; }
.aecbt-list-item strong { overflow-wrap: anywhere; }
.aecbt-list-item span { color: var(--aecbt-muted); font-size: 12px; overflow-wrap: anywhere; }
.aecbt-list-item.is-critical { border-left: 4px solid var(--aecbt-red); }
.aecbt-list-item.is-warning { border-left: 4px solid var(--aecbt-amber); }
.aecbt-list-meta { display: grid; gap: 5px; text-align: right; flex-shrink: 0; }
.aecbt-list-toolbar { margin-bottom: 12px; }
.aecbt-list-toolbar input { width: min(420px,100%); min-height: 42px; padding: 0 12px; border: 1px solid #d3dde6; border-radius: 10px; }
.aecbt-json-view {
    max-height: 620px; overflow: auto; margin: 0; padding: 17px; border-radius: 12px;
    background: #0e1925; color: #cfe3f2; font: 12px/1.6 Consolas,Monaco,monospace; white-space: pre-wrap; overflow-wrap: anywhere;
}
.aecbt-empty-list { padding: 28px; border: 1px dashed #ced8e2; border-radius: 12px; text-align: center; color: var(--aecbt-muted); background: #fafcfd; }
.aecbt-detail-loading { min-height: 430px; display: grid; place-content: center; justify-items: center; gap: 13px; color: var(--aecbt-muted); }
.aecbt-spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #dce5ed; border-top-color: var(--aecbt-navy); animation: aecbt-spin .8s linear infinite; }
@keyframes aecbt-spin { to { transform: rotate(360deg); } }
.aecbt-device-error { padding: 40px; border: 1px solid #f0c7ca; border-radius: 16px; background: #fff4f5; color: #7d1b22; }
.aecbt-device-error a { display: inline-flex; margin-top: 10px; color: var(--aecbt-navy); font-weight: 800; }
.aecbt-toast {
    position: fixed; right: 24px; bottom: 24px; z-index: 100;
    max-width: min(380px,calc(100vw - 32px)); padding: 13px 16px; border-radius: 11px;
    color: #fff; background: var(--aecbt-green); box-shadow: 0 18px 45px rgba(0,0,0,.24); font-weight: 750;
}
.aecbt-toast.is-error { background: var(--aecbt-red); }

@media (max-width: 1000px) {
    .aecbt-device-hero { grid-template-columns: 1fr; }
    .aecbt-detail-layout { grid-template-columns: 1fr; }
    .aecbt-detail-tabs {
        position: static; display: flex; overflow-x: auto; padding: 8px; white-space: nowrap;
    }
    .aecbt-detail-tabs button { width: auto; flex: 0 0 auto; text-align: center; }
}
@media (max-width: 620px) {
    .aecbt-device-hero { padding: 18px; }
    .aecbt-device-quick-facts, .aecbt-detail-grid { grid-template-columns: 1fr; }
    .aecbt-detail-panel { padding: 16px; }
    .aecbt-list-item { flex-direction: column; }
    .aecbt-list-meta { text-align: left; }
}


/* v0.3.1 yükleme güvenliği */
[hidden] { display: none !important; }
.aecbt-quick-actions button:disabled {
    cursor: wait;
    opacity: .65;
    background: #d9e1e8;
    border-color: #d9e1e8;
    color: #536477;
}


/* v0.4 Bakım ve Arıza Modülü */
body.aecbt-modal-open { overflow: hidden; }
.aecbt-quick-actions button.is-primary,
.aecbt-section-heading > button,
.aecbt-modal-footer button.is-primary {
    color: #fff;
    border-color: var(--aecbt-navy);
    background: var(--aecbt-navy);
}
.aecbt-quick-actions button.is-primary:hover,
.aecbt-section-heading > button:hover,
.aecbt-modal-footer button.is-primary:hover { background: var(--aecbt-red); border-color: var(--aecbt-red); }
.aecbt-section-heading {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px;
}
.aecbt-section-heading h3 { margin: 4px 0 0; }
.aecbt-section-heading > button {
    min-height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 750; cursor: pointer;
}
.aecbt-maintenance-card {
    padding: 16px; border: 1px solid #dfe6ed; border-left: 5px solid #8392a2;
    border-radius: 13px; background: #fafcfd;
}
.aecbt-maintenance-card.is-priority-low { border-left-color: #7a9ac1; }
.aecbt-maintenance-card.is-priority-normal { border-left-color: var(--aecbt-green); }
.aecbt-maintenance-card.is-priority-high { border-left-color: var(--aecbt-amber); }
.aecbt-maintenance-card.is-priority-critical { border-left-color: var(--aecbt-red); }
.aecbt-maintenance-card header {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.aecbt-maintenance-card header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aecbt-maintenance-card h4 { margin: 13px 0 7px; font-size: 17px; }
.aecbt-maintenance-card p { margin: 0; color: #526477; line-height: 1.55; white-space: pre-wrap; }
.aecbt-maintenance-status, .aecbt-maintenance-priority {
    display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px;
    border-radius: 999px; font-size: 11px; font-weight: 800;
}
.aecbt-maintenance-status { color: #fff; background: #6b7b8d; }
.aecbt-maintenance-status.is-open { background: var(--aecbt-red); }
.aecbt-maintenance-status.is-in_progress { background: var(--aecbt-blue); }
.aecbt-maintenance-status.is-waiting { background: var(--aecbt-amber); }
.aecbt-maintenance-status.is-resolved { background: var(--aecbt-green); }
.aecbt-maintenance-priority { color: #46596d; background: #e8eef3; }
.aecbt-maintenance-actions {
    margin-top: 12px; padding: 11px 12px; border-radius: 9px; background: #eef4f8; color: #44576a; font-size: 13px; white-space: pre-wrap;
}
.aecbt-maintenance-details {
    display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 13px; color: var(--aecbt-muted); font-size: 12px;
}
.aecbt-inline-button {
    min-height: 32px; padding: 0 10px; border: 1px solid #cdd8e2; border-radius: 8px;
    background: #fff; color: var(--aecbt-navy); font-weight: 750; cursor: pointer;
}
.aecbt-inline-button:hover { color: #fff; background: var(--aecbt-navy); border-color: var(--aecbt-navy); }
.aecbt-modal-backdrop {
    position: fixed; inset: 0; z-index: 1000; padding: 22px;
    display: grid; place-items: center; background: rgba(4,12,21,.72); backdrop-filter: blur(5px);
}
.aecbt-modal {
    width: min(880px,100%); max-height: calc(100vh - 44px); overflow: auto;
    border-radius: 20px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.36);
}
.aecbt-modal-header {
    position: sticky; top: 0; z-index: 2; padding: 20px 22px; border-bottom: 1px solid #e2e8ee;
    background: rgba(255,255,255,.98); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.aecbt-modal-header h2 { margin: 5px 0 0; font-size: 23px; }
.aecbt-modal-close {
    flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: #edf2f6; color: #34485d; font-size: 27px; line-height: 1; cursor: pointer;
}
.aecbt-maintenance-form { padding: 22px; }
.aecbt-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.aecbt-form-field { min-width: 0; display: grid; gap: 7px; color: #34485d; font-size: 12px; font-weight: 750; }
.aecbt-form-field.is-wide { grid-column: 1 / -1; }
.aecbt-form-field input:not([type=checkbox]),
.aecbt-form-field textarea,
.aecbt-form-field select {
    width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid #ccd7e1;
    border-radius: 9px; background: #f9fbfc; color: #172538; font: inherit; font-weight: 500;
}
.aecbt-form-field textarea { resize: vertical; line-height: 1.5; }
.aecbt-form-field input:focus,
.aecbt-form-field textarea:focus,
.aecbt-form-field select:focus {
    outline: none; border-color: var(--aecbt-navy); box-shadow: 0 0 0 3px rgba(36,75,115,.12);
}
.aecbt-form-field.is-checkbox {
    display: flex; flex-direction: row; align-items: center; gap: 9px; padding-top: 22px;
}
.aecbt-form-field.is-checkbox input { width: 18px; height: 18px; }
.aecbt-form-error {
    margin-top: 16px; padding: 12px 14px; border: 1px solid #f0c2c5; border-radius: 10px;
    color: #861b23; background: #fff2f3; font-size: 13px;
}
.aecbt-modal-footer {
    display: flex; justify-content: flex-end; gap: 10px; padding-top: 20px;
}
.aecbt-modal-footer button {
    min-height: 43px; padding: 0 18px; border-radius: 10px; font-weight: 800; cursor: pointer;
}
.aecbt-modal-footer button.is-secondary { border: 1px solid #ccd7e1; background: #fff; color: #44576a; }
.aecbt-modal-footer button:disabled { cursor: wait; opacity: .6; }

@media (max-width: 650px) {
    .aecbt-modal-backdrop { padding: 0; place-items: stretch; }
    .aecbt-modal { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
    .aecbt-form-grid { grid-template-columns: 1fr; }
    .aecbt-form-field.is-wide { grid-column: auto; }
    .aecbt-section-heading { align-items: flex-start; flex-direction: column; }
}


/* v0.5 Bakım belgeleri ve fotoğrafları */
.aecbt-file-field small {
    color: var(--aecbt-muted);
    font-size: 11px;
    font-weight: 500;
}
.aecbt-file-field input[type=file] {
    padding: 9px;
    background: #f7fafc;
}
.aecbt-maintenance-attachments {
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #e1e8ee;
}
.aecbt-maintenance-attachments h5 {
    margin: 0 0 9px;
    color: #34485d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.aecbt-modal-attachments {
    display: grid;
    gap: 8px;
}
.aecbt-attachment-item {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border: 1px solid #dfe6ed;
    border-radius: 10px;
    background: #f8fafc;
}
.aecbt-attachment-item a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #263a4f;
    text-decoration: none;
}
.aecbt-attachment-item a:hover strong {
    color: var(--aecbt-red);
    text-decoration: underline;
}
.aecbt-attachment-item a > span:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.aecbt-attachment-item strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}
.aecbt-attachment-item small {
    color: var(--aecbt-muted);
    font-size: 10px;
}
.aecbt-attachment-icon {
    flex: 0 0 auto;
    font-size: 21px;
}
.aecbt-attachment-item button {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 0 9px;
    border: 1px solid #edc4c7;
    border-radius: 8px;
    color: #8c2028;
    background: #fff4f5;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.aecbt-attachment-item button:hover {
    color: #fff;
    background: var(--aecbt-red);
    border-color: var(--aecbt-red);
}
.aecbt-empty-attachments {
    padding: 11px;
    border: 1px dashed #ccd7e1;
    border-radius: 9px;
    color: var(--aecbt-muted);
    background: #fafcfd;
    font-size: 12px;
}
