/* Telemetri modern interface */

:root {
    --bg: #eef2f7;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #1f2937;
    --muted: #64748b;
    --line: #d8e0ea;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #2563eb;
    --danger: #dc2626;
    --shadow: 0 18px 45px rgba(15, 23, 42, .11);
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a:link,
a:visited {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

p {
    margin: 0 0 12px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 12px;
    color: var(--text);
    font-weight: 650;
    font-variant: normal;
    text-transform: none;
    letter-spacing: 0;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
h4, h5, h6 { font-size: 15px; }

.page {
    width: min(100% - 32px, 1280px);
    min-height: calc(100vh - 74px);
    margin: 24px auto 0;
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.header {
    position: relative;
    min-height: 76px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 118, 110, .96), rgba(15, 23, 42, .94));
    pointer-events: none;
}

.title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 76px;
    width: auto;
    float: none;
    padding: 16px 28px;
    text-align: left;
}

.title::before {
    content: "MD";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin-right: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    font-weight: 750;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.header h1,
.header h1[style] {
    height: auto;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.loginDisplay {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 28px 16px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    text-align: right;
}

.main {
    min-height: 520px;
    margin: 0;
    padding: 22px;
    background: var(--surface-soft);
    overflow-x: auto;
}

.footer {
    width: min(100% - 32px, 1280px);
    margin: 12px auto 22px;
    padding: 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.footer a {
    color: var(--muted);
}

.clear {
    clear: both;
    width: auto;
    height: 0;
}

#contentwrapper,
#Div1 {
    margin: 0 0 18px;
    padding: 16px;
    background: var(--surface) !important;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

.main > table,
#contentwrapper > table,
#Div1 > table {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    border-radius: 8px;
}

table[id$="Menu1"],
table[id*="Menu"] {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 6px !important;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .96)),
        #0f172a !important;
    border: 1px solid rgba(148, 163, 184, .24) !important;
    border-radius: 8px;
    border-collapse: separate !important;
    border-spacing: 6px 0 !important;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
}

table[id$="Menu1"] td,
table[id*="Menu"] td {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

table[id$="Menu1"] a,
table[id*="Menu"] a {
    position: relative;
    display: block;
    min-height: 38px;
    padding: 10px 15px 10px 28px;
    border-radius: 7px;
    color: #dbeafe !important;
    font-weight: 750;
    line-height: 18px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

table[id$="Menu1"] a::before,
table[id*="Menu"] a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .12);
    transform: translateY(-50%);
}

table[id$="Menu1"] a:hover,
table[id*="Menu"] a:hover {
    background: rgba(255, 255, 255, .1) !important;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li a,
.menu ul li a:visited {
    display: block;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #e8eef6;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea,
input.textEntry,
input.passwordEntry {
    min-height: 34px;
    width: auto;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

input[type="submit"],
input[type="button"],
button,
.submitButton input {
    min-height: 34px;
    padding: 7px 15px;
    border: 0;
    border-radius: 6px;
    background: var(--brand);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 118, 110, .22);
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: var(--brand-dark);
}

fieldset {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

legend {
    padding: 0 6px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

fieldset p {
    margin: 0 0 10px;
}

fieldset.login label,
fieldset.register label,
fieldset.changePassword label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-weight: 600;
}

fieldset label.inline {
    display: inline;
}

div.accountInfo {
    width: min(100%, 520px);
}

.failureNotification,
.failureNotification *,
span[id*="Validator"],
span[id*="RequiredFieldValidator"] {
    color: var(--danger) !important;
    font-size: 13px;
    font-weight: 700;
}

.bold {
    font-weight: 700;
}

.submitButton {
    padding: 0;
    text-align: right;
}

.GridView,
table[id*="GridView"],
table[id*="grid"],
table[id*="Grid"] {
    width: 100%;
    margin: 14px 0;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

table[id*="GridView"] th,
table[id*="GridView"] td,
table[id*="Grid"] th,
table[id*="Grid"] td {
    padding: 9px 10px !important;
    border-color: #e2e8f0 !important;
    color: var(--text) !important;
}

table[id*="GridView"] th,
table[id*="Grid"] th,
table[id*="GridView"] tr:first-child td,
table[id*="Grid"] tr:first-child td {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

table[id*="GridView"] tr:nth-child(even) td,
table[id*="Grid"] tr:nth-child(even) td {
    background: #f8fafc !important;
}

table[id*="GridView"] tr:hover td,
table[id*="Grid"] tr:hover td {
    background: #ecfeff !important;
}

.sensor-dashboard {
    display: grid;
    gap: 16px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 118, 110, .24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 86% 22%, rgba(20, 184, 166, .24), transparent 28%),
        linear-gradient(135deg, #10233c 0%, #0f172a 58%, #123a3a 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.dashboard-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: #5eead4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-hero h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 26px;
}

.dashboard-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(226, 232, 240, .78);
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 9px 12px;
    border: 1px solid rgba(94, 234, 212, .32);
    border-radius: 8px;
    background: rgba(15, 23, 42, .42);
    color: #ccfbf1;
    font-size: 13px;
    font-weight: 750;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .16);
}

.dashboard-toolbar,
.grid-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.dashboard-toolbar table[id$="Menu1"] {
    margin: 0 !important;
}

.dashboard-toolbar {
    padding: 10px;
    background: linear-gradient(135deg, #08111f, #10233f);
    border-color: rgba(148, 163, 184, .2);
}

.tele-tabbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    min-height: 56px;
}

.tele-tab,
.tele-tab:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #e5f2ff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.tele-tab:hover {
    transform: translateY(-1px);
    background: rgba(14, 165, 233, .18);
    border-color: rgba(125, 211, 252, .55);
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(8, 47, 73, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.tele-tab.is-active {
    background: linear-gradient(135deg, #0284c7, #0f766e);
    border-color: rgba(186, 230, 253, .5);
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(14, 116, 144, .28);
}

.tele-tab-danger {
    margin-left: auto;
    background: rgba(239, 68, 68, .12);
    border-color: rgba(248, 113, 113, .25);
}

.tele-tab-danger:hover {
    background: rgba(239, 68, 68, .22);
    border-color: rgba(252, 165, 165, .55);
}

.tele-tab-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
}

#contentwrapper.detail-toolbar {
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, .98), rgba(8, 47, 73, .96) 52%, rgba(17, 94, 89, .94)),
        #0f172a !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.detail-tabbar .tele-tab,
.detail-tabbar .tele-tab:visited {
    border-color: rgba(191, 219, 254, .38);
    background: rgba(15, 23, 42, .54);
    color: #f8fafc !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .24);
}

.detail-tabbar .tele-tab:hover {
    background: rgba(14, 165, 233, .28);
    border-color: rgba(125, 211, 252, .82);
    color: #ffffff !important;
}

.tele-tab-disabled,
.tele-tab-disabled:visited,
.tele-tab-disabled:hover,
.tele-tab.aspNetDisabled,
.tele-tab.aspNetDisabled:hover {
    cursor: default;
    pointer-events: none;
    transform: none;
    background: rgba(15, 23, 42, .26) !important;
    border-color: rgba(148, 163, 184, .16) !important;
    color: #94a3b8 !important;
    text-shadow: none;
    box-shadow: none;
    opacity: .72;
}

.tele-tab-disabled .tele-tab-icon,
.tele-tab.aspNetDisabled .tele-tab-icon {
    background: rgba(148, 163, 184, .12);
    color: #cbd5e1;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.summary-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.summary-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.summary-card strong {
    color: var(--text);
    font-size: 21px;
}

.telemetry-table {
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sensor-table td:nth-child(4),
.sensor-table td:nth-child(5) {
    font-weight: 800;
    color: #0f766e !important;
}

.sensor-table input[type="button"] {
    min-height: 30px;
    padding: 6px 12px;
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

.sensor-table input[type="button"]:hover {
    background: #1d4ed8;
}

.liquid-dashboard {
    gap: 18px;
}

.liquid-hero {
    border-color: rgba(56, 189, 248, .28);
    background:
        linear-gradient(135deg, #082f49 0%, #0f172a 52%, #134e4a 100%);
}

.liquid-summary .summary-card strong {
    color: #075985;
}

.liquid-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 16px;
    align-items: start;
}

.liquid-grid-panel {
    min-width: 0;
    overflow-x: auto;
}

.liquid-table td:nth-child(4) {
    color: #0369a1 !important;
    font-weight: 900;
}

.liquid-table td:nth-child(5) {
    color: #475569 !important;
    font-weight: 800;
}

.liquid-table input[type="button"] {
    min-height: 30px;
    padding: 6px 12px;
    background: #0ea5e9;
    box-shadow: 0 6px 14px rgba(14, 165, 233, .18);
}

.liquid-table input[type="button"]:hover {
    background: #0284c7;
}

.liquid-table input[value="KAPAT"] {
    background: #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, .18);
}

.liquid-table input[value="AÇ"] {
    background: #16a34a;
    box-shadow: 0 6px 14px rgba(22, 163, 74, .18);
}

.liquid-alarm-panel {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.liquid-alarm-image {
    display: grid;
    place-items: center;
    min-height: 132px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .22);
}

.liquid-alarm-image img {
    max-width: 100%;
    max-height: 112px;
    object-fit: contain;
}

.liquid-alarm-panel span {
    color: #0369a1;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.liquid-alarm-panel strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.telemetry-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 52%, #1e293b 100%);
}

.telemetry-login-v2 {
    position: relative;
    overflow: hidden;
    background: #07111f url("../pictures/telemetry-login-bg.png") center/cover no-repeat;
}

.telemetry-login-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(20, 184, 166, .34), transparent 30%),
        linear-gradient(90deg, rgba(7, 17, 31, .88), rgba(7, 17, 31, .54) 48%, rgba(7, 17, 31, .9));
}

.login-stage {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 1120px);
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: center;
}

.login-copy {
    color: #ffffff;
    padding: 24px 0;
}

.login-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #5eead4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-copy h1 {
    max-width: 640px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.02;
}

.login-copy p {
    max-width: 540px;
    color: rgba(226, 232, 240, .86);
    font-size: 17px;
}

.login-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.login-metrics span {
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 8px;
    background: rgba(15, 23, 42, .52);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.login-metrics strong {
    color: rgba(226, 232, 240, .76);
    font-size: 12px;
    font-weight: 650;
}

.login-shell {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 420px);
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(2, 6, 23, .32);
}

.login-hero {
    padding: 48px;
    background: #0f172a;
    color: #ffffff;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.login-hero h1 {
    max-width: 390px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.18;
}

.login-hero p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.login-panel {
    padding: 46px 42px;
    background: #ffffff;
}

.login-card {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 70px rgba(2, 6, 23, .42);
    backdrop-filter: blur(18px);
}

.login-panel table {
    width: 100%;
}

.login-panel td {
    padding: 6px 0;
}

.login-panel input[type="text"],
.login-panel input[type="password"] {
    width: 100% !important;
    height: 40px;
}

.login-panel input[type="submit"] {
    width: 100px;
    margin-top: 8px;
}

.login-panel label,
.login-panel td {
    color: var(--text) !important;
    font-size: 14px;
}

.login-panel .login-title {
    margin-bottom: 20px;
}

.login-panel .login-title strong {
    display: block;
    color: var(--text);
    font-size: 20px;
    margin-bottom: 4px;
}

.login-panel .login-title span {
    color: var(--muted);
}

.sensor-detail {
    display: grid;
    gap: 16px;
}

.detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .88), rgba(15, 23, 42, .96) 52%, rgba(15, 118, 110, .9)),
        linear-gradient(90deg, #172554, #0f172a);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.detail-hero h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 28px;
}

.detail-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(226, 232, 240, .82);
}

.detail-toolbar,
.sensor-detail #contentwrapper.detail-toolbar {
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, .98), rgba(8, 47, 73, .96) 52%, rgba(17, 94, 89, .94)),
        #0f172a !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.sensor-detail .detail-tabbar {
    gap: 8px;
    min-height: 62px;
}

.sensor-detail .detail-tabbar .tele-tab,
.sensor-detail .detail-tabbar .tele-tab:visited {
    position: relative;
    min-height: 48px;
    padding: 12px 16px 12px 13px;
    border-color: rgba(191, 219, 254, .26);
    background: rgba(15, 23, 42, .34);
    color: #e0f2fe !important;
    font-size: 14px;
    letter-spacing: 0;
}

.sensor-detail .detail-tabbar .tele-tab::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
}

.sensor-detail .detail-tabbar .tele-tab-icon {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(14, 165, 233, .2);
    font-size: 15px;
}

.sensor-detail .detail-tabbar .tele-tab:hover {
    background: rgba(14, 165, 233, .24);
    border-color: rgba(125, 211, 252, .7);
}

.sensor-detail .detail-tabbar .tele-tab.is-active {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-color: rgba(224, 242, 254, .82);
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(14, 165, 233, .28);
}

.sensor-detail .detail-tabbar .tele-tab.is-active::after {
    background: #facc15;
}

.sensor-detail .detail-tabbar .tele-tab.is-active .tele-tab-icon {
    background: rgba(255, 255, 255, .2);
}

.sensor-detail .detail-tabbar .tele-tab-danger {
    background: rgba(127, 29, 29, .48);
    border-color: rgba(252, 165, 165, .34);
}

.detail-spacer {
    display: none;
}

.detail-workspace {
    width: 100%;
    min-height: 520px;
    padding: 0;
    box-sizing: border-box;
}

.sensor-detail table[id$="Menu1"] {
    margin: 0 !important;
    background:
        linear-gradient(135deg, rgba(8, 47, 73, .98), rgba(15, 23, 42, .98) 46%, rgba(20, 83, 45, .9)),
        #0f172a !important;
    border: 1px solid rgba(125, 211, 252, .18) !important;
    border-radius: 8px;
}

.sensor-detail table[id$="Menu1"] td {
    background: transparent !important;
    border: 0 !important;
}

.sensor-detail table[id$="Menu1"] a {
    padding: 11px 16px 11px 31px;
    color: #e0f2fe !important;
    font-size: 13px;
    font-weight: 800;
}

.sensor-detail table[id$="Menu1"] a:hover {
    background: rgba(14, 165, 233, .18) !important;
    color: #ffffff !important;
}

.detail-panel,
.sensor-detail > .detail-workspace > table,
.sensor-detail table.style1 {
    width: 100%;
}

.detail-panel,
.sensor-detail .detail-workspace > table,
.sensor-detail .detail-workspace > span + table {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.sensor-detail td[bgcolor="#3399FF"],
.sensor-detail td[bgcolor="#3399ff"] {
    padding: 14px 16px !important;
    border-radius: 8px 8px 0 0;
    background: #0f172a !important;
}

.sensor-detail td[bgcolor="#3399FF"] span,
.sensor-detail td[bgcolor="#3399ff"] span,
.sensor-detail span[style*="3399FF"] {
    background: transparent !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.panel-title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.panel-title span {
    background: transparent !important;
    color: var(--text) !important;
    font-size: 18px !important;
}

.live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.25fr);
    gap: 14px;
}

.live-card {
    position: relative;
    min-height: 108px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.live-card::after {
    content: "";
    position: absolute;
    top: -34px;
    right: -34px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .08);
}

.live-card span {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.live-card strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--text);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.live-card em {
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: rgba(100, 116, 139, .45);
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
}

.live-card-wide {
    grid-column: auto;
}

.live-today-chart-card {
    margin-top: 16px;
}

.metric-card strong {
    color: #0f766e;
    font-size: 34px;
}

.temp-card {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.temp-card strong {
    color: #ea580c;
}

.humidity-card {
    background: linear-gradient(135deg, #ecfeff, #ffffff);
}

.humidity-card strong {
    color: #0891b2;
}

.sensor-detail .detail-workspace table {
    border-color: var(--line) !important;
}

.sensor-detail .detail-workspace td {
    padding: 8px 10px;
    color: var(--text);
    font-family: inherit !important;
}

.sensor-detail .detail-workspace label,
.sensor-detail .detail-workspace span {
    font-family: inherit !important;
}

.sensor-detail .detail-workspace table table {
    margin: 0;
    border: 0 !important;
    box-shadow: none;
}

.sensor-detail .detail-workspace > div > table.style1,
.sensor-detail .detail-workspace > table.style1 {
    width: 100%;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    background: #ffffff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:first-child,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:first-child {
    display: none;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:nth-child(2) > td,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:nth-child(2) > td {
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--line);
    background: transparent !important;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:nth-child(2) span,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:nth-child(2) span {
    background: transparent !important;
    color: var(--text) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:nth-child(3) > td,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:nth-child(3) > td {
    padding: 16px 0 0 !important;
}

#list_ista > table,
#list_ista0 > table,
#list_ista1 > table,
#Div2 > table {
    width: 100%;
    background: transparent !important;
}

#list_ista > table > tbody > tr:nth-child(2),
#list_ista0 > table > tbody > tr:nth-child(2),
#list_ista1 > table > tbody > tr:nth-child(2) {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

#list_ista > table > tbody > tr:nth-child(2) > td,
#list_ista0 > table > tbody > tr:nth-child(2) > td,
#list_ista1 > table > tbody > tr:nth-child(2) > td {
    display: block;
    width: auto !important;
}

#list_ista > table > tbody > tr:nth-child(3) > td,
#list_ista0 > table > tbody > tr:nth-child(3) > td,
#list_ista1 > table > tbody > tr:nth-child(3) > td {
    padding-top: 16px !important;
}

#list_ista > table > tbody > tr:first-child td,
#list_ista0 > table > tbody > tr:first-child td,
#list_ista1 > table > tbody > tr:first-child td {
    padding-bottom: 8px !important;
}

#list_ista > table > tbody > tr:first-child span,
#list_ista0 > table > tbody > tr:first-child span,
#list_ista1 > table > tbody > tr:first-child span {
    display: block;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#list_ista input[type="text"] {
    margin-right: 8px;
}

#list_ista select {
    display: block;
    width: 100%;
    margin-top: 8px;
}

#list_ista {
    display: block;
    width: 100%;
}

#list_ista > table,
#list_ista > table > tbody {
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#list_ista > table {
    display: block;
}

#list_ista > table > tbody {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

#list_ista > table > tbody > tr:first-child {
    display: contents;
}

#list_ista > table > tbody > tr:first-child > td:first-child {
    display: none;
}

#list_ista > table > tbody > tr:first-child > td:last-child {
    display: block;
    grid-column: 1 / -1;
    width: 100% !important;
    padding: 0 0 2px !important;
}

#list_ista > table > tbody > tr:nth-child(2) {
    display: contents;
}

#list_ista > table > tbody > tr:nth-child(2) > td {
    display: block;
    width: auto !important;
}

#list_ista > table > tbody > tr:nth-child(2) > td:first-child,
#list_ista > table > tbody > tr:nth-child(3) > td {
    padding: 16px !important;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

#list_ista > table > tbody > tr:nth-child(2) > td:first-child {
    grid-column: 1;
    grid-row: 2;
}

#list_ista > table > tbody > tr:nth-child(2) > td:nth-child(2) {
    grid-column: 2;
    grid-row: 2 / span 2;
    min-width: 0;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
    overflow: hidden;
}

#list_ista > table > tbody > tr:nth-child(3) {
    display: contents;
}

#list_ista > table > tbody > tr:nth-child(3) > td {
    display: grid;
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box;
}

#list_ista > table > tbody > tr:nth-child(3) input[type="submit"] {
    width: 100%;
    min-height: 38px;
    white-space: nowrap;
}

#list_ista > table > tbody > tr:nth-child(4) {
    display: block;
    grid-column: 1 / -1;
    grid-row: 4;
}

#list_ista > table > tbody > tr:nth-child(4) > td {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    width: 100% !important;
    padding: 16px !important;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    box-sizing: border-box;
}

#list_ista > table > tbody > tr:nth-child(4) input[type="text"] {
    width: 100% !important;
    margin: 0;
}

#list_ista > table > tbody > tr:nth-child(4) input[type="submit"] {
    min-height: 38px;
    white-space: nowrap;
}

#list_ista table[id*="GridView"] {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

#list_ista table[id*="GridView"] th {
    background: #0f172a !important;
    color: #ffffff !important;
}

#list_ista table[id*="GridView"] td {
    background: #ffffff !important;
}

#list_ista table[id*="GridView"] tr:nth-child(even) td {
    background: #f8fafc !important;
}

#list_ista table[id*="GridView"] tr:hover td {
    background: #ecfeff !important;
}

#list_ista0 input[value="Önceki"],
#list_ista0 input[value="Sonraki"] {
    min-width: 110px;
}

#list_ista0 > table > tbody > tr:nth-child(2) > td:first-child {
    padding: 16px !important;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

#list_ista0 > table > tbody > tr:nth-child(2) > td:first-child::before {
    content: "Tarih seçimi";
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.chart-date-actions {
    margin-top: 12px;
}

.chart-date-actions input[type="submit"] {
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 12px 24px rgba(14, 165, 233, .22);
    font-size: 14px;
    letter-spacing: .08em;
}

.chart-date-actions input[type="submit"]:hover {
    background: linear-gradient(135deg, #0284c7, #0f766e);
}

.chart-command-panel {
    display: grid;
    gap: 6px;
    min-height: 104px;
    align-content: center;
    justify-items: start;
    padding: 14px;
    border: 1px solid rgba(14, 165, 233, .2);
    border-radius: 8px;
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.chart-command-panel span {
    color: #0891b2 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.chart-command-panel strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.chart-command-panel select {
    min-width: 128px;
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid rgba(8, 145, 178, .35);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.chart-command-panel input[type="submit"] {
    min-width: 112px;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 8px 18px rgba(14, 165, 233, .18);
    font-size: 13px;
    letter-spacing: .08em;
}

.graph-view-panel {
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    box-sizing: border-box;
}

.graph-panel-title {
    margin-bottom: 0;
}

.graph-status-text {
    display: block;
    min-height: 20px;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}

.graph-picker-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(260px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.graph-date-card {
    padding: 16px;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.graph-card-kicker {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.graph-pager-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.graph-pager-actions input[type="submit"] {
    min-width: 118px;
    background: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.graph-pager-actions-hidden {
    display: none;
}

#list_ista0 > table > tbody > tr:nth-child(3) > td {
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tele-franke-chart-card {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .10);
    padding: 18px;
    min-height: 420px;
    box-sizing: border-box;
}

.tele-franke-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tele-franke-chart-head span {
    display: block;
    color: #0ea5e9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

.tele-franke-chart-head h6 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.tele-franke-chart-head b {
    border-radius: 999px;
    padding: 7px 10px;
    color: #0369a1;
    background: rgba(14, 165, 233, .12);
    font-size: 12px;
}

.tele-chart-help {
    margin: -4px 0 12px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.export-file-name-input {
    min-height: 30px;
    padding: 4px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
}

.export-file-name-input::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.tele-franke-chart-wrap {
    width: 100%;
    min-width: 0;
    height: 314px;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 0;
    box-sizing: border-box;
}

.tele-franke-chart-wrap::-webkit-scrollbar {
    height: 9px;
}

.tele-franke-chart-wrap::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #e2e8f0;
}

.tele-franke-chart-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.tele-html-chart {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

.tele-line-chart {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 8px;
    position: relative;
}

.tele-chart-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fafc;
}

.tele-chart-toolbar span {
    margin-left: auto;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.tele-chart-btn {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(14, 165, 233, .22);
    border-radius: 7px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .06);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.tele-chart-btn:hover {
    border-color: rgba(14, 165, 233, .52);
    background: #ecfeff;
    color: #0369a1;
}

.tele-html-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
}

.tele-html-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tele-html-legend i {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    display: inline-block;
}

.temp-dot {
    background: linear-gradient(135deg, #fb923c, #ef4444);
}

.humidity-dot {
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.tele-html-plot {
    display: flex;
    align-items: end;
    gap: 10px;
    min-height: 270px;
    padding: 10px 8px 0;
    border-left: 1px solid rgba(15, 23, 42, .08);
    border-bottom: 1px solid rgba(15, 23, 42, .12);
    background-image: linear-gradient(to top, rgba(15, 23, 42, .07) 1px, transparent 1px);
    background-size: 100% 54px;
}

.tele-html-point {
    width: 44px;
    height: 258px;
    display: grid;
    grid-template-rows: 1fr 58px;
    justify-items: center;
    flex: 0 0 44px;
}

.tele-html-bars {
    width: 34px;
    height: 192px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
}

.tele-html-bar {
    width: 14px;
    min-height: 2px;
    border-radius: 8px 8px 2px 2px;
    box-shadow: 0 8px 14px rgba(15, 23, 42, .10);
}

.temp-bar {
    background: linear-gradient(180deg, #fb923c, #ef4444);
}

.humidity-bar {
    background: linear-gradient(180deg, #22d3ee, #2563eb);
}

.tele-html-point em {
    width: 76px;
    transform: rotate(-45deg);
    transform-origin: top center;
    color: #475569;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
}

.tele-chart-empty {
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(14, 165, 233, .28);
    border-radius: 8px;
    color: #64748b;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 800;
}

.tele-line-svg {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 220px;
    overflow: visible;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.tele-line-svg.is-panning {
    cursor: grabbing;
}

.sensor-detail,
.sensor-detail .detail-workspace,
.sensor-detail .detail-workspace > div,
.sensor-detail #list_ista0,
.sensor-detail .graph-view-panel,
.sensor-detail .tele-franke-chart-card,
.sensor-detail .tele-franke-chart-wrap,
.sensor-detail .tele-line-chart {
    max-width: none;
}

.sensor-detail #list_ista0,
.sensor-detail .graph-view-panel,
.sensor-detail .tele-franke-chart-card,
.sensor-detail .tele-franke-chart-wrap {
    justify-self: stretch;
}

.tele-line-grid {
    stroke: rgba(15, 23, 42, .08);
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

.tele-line-axis {
    stroke: rgba(15, 23, 42, .18);
    stroke-width: 1.2;
}

.tele-line-series {
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.temp-line {
    stroke: #f97316;
    filter: drop-shadow(0 5px 7px rgba(249, 115, 22, .18));
}

.humidity-line {
    stroke: #0891b2;
    filter: drop-shadow(0 5px 7px rgba(8, 145, 178, .18));
}

.tele-line-dot {
    stroke: #ffffff;
    stroke-width: 2;
    pointer-events: none;
}

.temp-dot-point {
    fill: #f97316;
}

.humidity-dot-point {
    fill: #0891b2;
}

.tele-line-hit {
    fill: transparent;
    stroke: transparent;
    cursor: crosshair;
}

.tele-chart-tooltip {
    position: fixed;
    z-index: 9999;
    min-width: 340px;
    max-width: min(520px, calc(100vw - 32px));
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: rgba(15, 23, 42, .94);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .24);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    pointer-events: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tele-line-label {
    fill: #475569;
    font-size: 10px;
    font-weight: 800;
    text-anchor: end;
    pointer-events: none;
}

.tele-line-y-label {
    fill: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-anchor: end;
    pointer-events: none;
}

.tele-line-y-label-right {
    text-anchor: start;
    fill: #0891b2;
}

.tele-legacy-chart {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed rgba(37, 99, 235, .28);
    border-radius: 8px;
    background: #f8fafc;
    overflow-x: auto;
}

.tele-legacy-chart img,
.tele-legacy-chart table {
    max-width: 100%;
}

#list_ista0 > table > tbody > tr:nth-child(4) > td {
    padding-top: 14px !important;
}

#list_ista0 > table > tbody > tr:nth-child(4) table {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    background: #f8fafc !important;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:not(:first-child) > td.style10,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:not(:first-child) > td.style10 {
    width: 260px !important;
    padding: 10px 16px 10px 0 !important;
    color: var(--muted) !important;
    font-weight: 750;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:not(:first-child) > td.style9,
.sensor-detail .detail-workspace > table.style1 > tbody > tr:not(:first-child) > td.style9 {
    padding: 10px 0 !important;
}

.sensor-detail .detail-workspace > div > table.style1 > tbody > tr:not(:first-child) > td.style9 input[type="text"],
.sensor-detail .detail-workspace > table.style1 > tbody > tr:not(:first-child) > td.style9 input[type="text"] {
    width: 280px !important;
}

.sensor-detail .detail-workspace input[type="text"],
.sensor-detail .detail-workspace select {
    min-width: 76px;
}

.sensor-detail .detail-workspace input[type="text"] {
    width: min(100%, 360px) !important;
}

.sensor-detail input[value*="Excel"] {
    background: #16a34a;
    box-shadow: 0 6px 14px rgba(22, 163, 74, .18);
}

.sensor-detail input[value*="Pdf"] {
    background: #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, .18);
}

.sensor-detail input[value="Önceki"],
.sensor-detail input[value="Sonraki"] {
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

.sensor-detail table[id*="Calendar"] {
    width: 230px !important;
    margin: 0 18px 12px 0;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.sensor-detail table[id*="Calendar"] td,
.sensor-detail table[id*="Calendar"] th {
    padding: 6px !important;
    border-color: #e2e8f0 !important;
    font-family: inherit !important;
}

.sensor-detail table[id*="Calendar"] tr:first-child td {
    background: #0f172a !important;
    color: #ffffff !important;
}

.sensor-detail img[src*="ChartImg"] {
    max-width: 100%;
    height: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

@media (max-width: 760px) {
    .page,
    .footer {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .main {
        padding: 14px;
    }

    .title {
        padding: 14px 16px;
    }

    .header h1,
    .header h1[style] {
        font-size: 18px;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-stage {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-copy h1 {
        font-size: 36px;
    }

    .login-hero,
    .login-panel {
        padding: 28px;
    }

    .dashboard-hero {
        display: block;
    }

    .dashboard-status {
        margin-top: 16px;
    }

    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .liquid-main-layout {
        grid-template-columns: 1fr;
    }

    .tele-tabbar {
        align-items: stretch;
    }

    .tele-tab {
        flex: 1 1 150px;
        justify-content: center;
    }

    .tele-tab-danger {
        margin-left: 0;
    }

    .detail-hero {
        display: block;
    }

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

    .live-card-wide {
        grid-column: auto;
    }

    .sensor-detail .tele-tab {
        flex-basis: 140px;
    }

    #list_ista > table > tbody,
    #list_ista > table > tbody > tr:nth-child(4) > td {
        grid-template-columns: 1fr;
    }

    #list_ista > table > tbody > tr:first-child > td:last-child,
    #list_ista > table > tbody > tr:nth-child(2) > td:first-child,
    #list_ista > table > tbody > tr:nth-child(2) > td:nth-child(2),
    #list_ista > table > tbody > tr:nth-child(3) > td,
    #list_ista > table > tbody > tr:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }
}
