:root {
    --bg-main: #ffffff;
    --bg-sidebar: #1e2229;
    --bg-card: #ffffff;
    --text-main: #203153;
    --text-muted: #6c757d;
    --text-white: #ffffff;
    --color-primary: ##203153;
    --color-primary-light: rgba(37, 99, 235, 0.1);
    --color-success: linear-gradient(90deg, rgb(91 159 249) 0%, rgb(44 66 113) 100%);
    --color-success-light: rgba(22, 163, 74, 0.1);
    --color-warning: #ea580c;
    --color-warning-light: rgba(234, 88, 12, 0.1);
    --color-info: #0891b2;
    --color-info-light: rgba(8, 145, 178, 0.1);
    --color-danger: #dc2626;
    --border-color: #eaeef5;
    --radius-md: 8px;
    --radius-lg: 8px;
    --radius-sm : 8px;
    --transition-fast: 0.2s ease;
}

.faswide {
    font-family: "Font Awesome 6 Free";
    tab- -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    height: 16px;
    aspect-ratio: 1/1;
    text-align: center;
}

.fashead {
    font-family: "Font Awesome 6 Free";
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 20px;
    height: 36px;
    aspect-ratio: 1/1;
    text-align: center;
    color: #2c4271;
    border-radius: 6px;
    padding: 7px;
    border: 2px solid #eaeef5;
}

.fasb {
    font-family: "Font Awesome 6 Free";
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 20px;
    height: 23px;
    aspect-ratio: 1/1;
    text-align: center;
    color: #2c4271;
    border-radius: 6px;
}

.fasg {
    font-family: "Font Awesome 6 Free";
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 20px;
    height: 27px;
    aspect-ratio: 1/1;
    text-align: center;
    color: #2c4271;
    border-radius: 6px;
    opacity: 0.5;
    transition: 0.2s;
}

.fasg:hover {
    opacity: 1;
    transition: 0.2s;
}

.fasp {
    font-family: "Font Awesome 6 Free";
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 20px;
    height: 23px;
    aspect-ratio: 1/1;
    text-align: center;
    color: #2c4271;
    border-radius: 6px;
}

.submenu-icon {
    height: 16px;
    aspect-ratio: 1/1;
    text-align: center;
    margin: 4px 2px 0px 0px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: calc(100% - 0px);
    background-color: #ffffff;
    /* padding: 20px 15px; */
    z-index: 5;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #cbcccd;
}

.sidebar.collapsed {
    width: 0px;
    padding: 0;
    overflow: hidden;
}

.sidebar-brand-area {
    /* border-bottom: 1px solid #243965; */
    background: #142445;
    background-image: url(images/header/sbar_header.png);
    /* height: 140px; */
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    padding: 16px 0px;
}

.sbar_brand_top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

.sbar_brand_top img {
    width: 42px;
    height: 42px;
}

.sbar_brand_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 16px;
    border-top: 1px solid #eaeef5;
    height: 70px;
}

.sbar_brand_bottom i {
    font-size: 24px;
    color: #616161;
}

.sbar_brand_bottom img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: grey;
}

.brand-title-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.brand-link {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
}

.brand-icon {
    color: #2563eb;
    margin-right: 6px;
}

.brand-top-group {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.brand-subtext {
    font-size: 12px;
    color: #ffffff;
}

.sidebar-divider {
    border: 0;
    border-top: 1px solid #243965;
    margin: 12px 0;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0px;
    margin: 0;
    /* max-height: calc(100vh - 120px); */
    overflow-y: auto;
    height: calc(100% - 170px);
}

.menu-section-header {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #6c757d;
    padding: 12px 10px 6px 10px;
    letter-spacing: 0.5px;
}

.text-warning-important {
    color: #ea580c !important;
}

.menu-item {
    /* margin-bottom: 3px; */
    /* padding: 0px 12px; */
}

.menu-divider-li {
    list-style: none;
}

.menu-link {
    display: block;
    padding: 16px 14px;
    color: #616161;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    /* border-radius: 6px; */
    border-left: 4px solid #ffffff;
    transition: all 0.15s ease;
}

.menu-link span {
    vertical-align: middle;
}

.menu-icon-width {
    width: 22px;
    text-align: center;
    margin-right: 10px;
    font-size: 15px;
    vertical-align: middle;
}

.menu-link:hover {
    background-color: #ebeef4;
    color: #142548;
}

.menu-link.active {
    background-color: #eaeef5;
    color: #2c4271;
    font-weight: 800;
    border-left: 4px solid #2c4271;
}

.menu-link.active-system {
    background-color: #ea580c;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-menu-list::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu-list::-webkit-scrollbar-track {
    background: #1e2229;
}

.sidebar-menu-list::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 2px;
}

.menu-dropdown-item {
    list-style: none;
    /* margin-bottom: 5px; */
    /* padding: 0px 12px; */
}

.menu-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    color: #616161;
    font-size: 15px;
    font-weight: 600;
    /* border-radius: 6px; */
    cursor: pointer;
    transition: all 0.2s ease;
    border-top: 1px solid #eaeef5;
}

.menu-dropdown-header:hover {
    background-color: #ebeef4;
    color: #142548;
}

.arrow-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
    color: #6c757d;
}

.menu-dropdown-submenu {
    list-style: none;
    /* padding-left: 16px; */
    /* margin: 4px; */
    display: none;
}

.menu-dropdown-submenu li a {
    display: flex;
    align-items: center;
    padding: 12px 8px 12px 32px;
    gap: 5px;
    color: #616161;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    /* border-radius: 4px; */
    transition: all 0.15s ease;
    border-left: 4px solid #eaeef5;
}

.menu-dropdown-submenu li a:hover {
    color: #254791;
    background-color: rgb(216 221 229);
}

.menu-dropdown-submenu li a.active {
    background-color: #e3e7ef;
    color: #314886;
    font-weight: 800;
    border-left: 4px solid #2c4271;
    /* box-shadow: inset 0px 0px 6px #a2a6bb85; */
}

.menu-dropdown-submenu li a.active-system {
    background-color: #2c4271;
    color: #ffffff;
    font-weight: 600;
}

.menu-dropdown-item.open .menu-dropdown-submenu {
    display: block;
    background: #eaeef5;
    border-bottom: 1px solid #d3d7df;
}

.menu-dropdown-item.open .arrow-icon {
    transform: rotate(90deg);
    color: #2c4271;
}

.menu-dropdown-item.open .menu-dropdown-header {
    background-color: #eaeef5;
    color: #314886;
    font-weight: 600;
    border-top: 1px solid #eaeef5;
    /* border-left: 4px solid #2c4271; */
    /* padding: 16px 14px; */
}

.system-section .menu-dropdown-header:hover {
    background-color: rgba(234, 88, 12, 0.05);
}

.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    width: calc(100% - 280px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1), left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #eaeef5;
}

.pageheader {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px;
    gap: 21px;
    border-bottom: 2px solid #ebebeb;
    position: sticky;
    top: 0px;
    z-index: 3;
}

.top-header {
    position: sticky;
    top: 0;
    gap: 12px;
    background-color: #eaeef5;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 32px 0px 16px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0px 0px 15px #a2a6bb26; */
}

.sidebar.collapsed ~ .main-content {
    margin-left: 0;
    width: 100%;
}

.sidebar.collapsed ~ .main-content .top-header {
    left: 0;
}

.content-body {
    padding: 12px;
    flex: 1;
    overflow-y: auto;
}

.header-left {
    float: left;
}

.header-right {
    float: right;
    display: flex;
    gap: 24px;
}

.searchhox {
    padding: 4px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    /* background: #fff; */
    display: flex;
    align-items: center;
    margin: 16px;
    gap: 4px;
}

.searchhox i {
    font-size: 20px;
    color: #596a8b;
}

.searchhox input {
    background: none;
    padding: 8px;
    margin: 0px;
    width: -webkit-fill-available;
}

.searchhox input:focus {
    outline: none;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    max-height: 340px;
    overflow-y: auto;
    z-index: 1000;
    padding: 6px;
}

.search-results-dropdown.active {
    display: block;
}

.search-results-group-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    padding: 8px 10px 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    color: #1e293b;
    font-size: 13px;
}

.search-result-item i {
    width: 16px;
    text-align: center;
    color: #0284c7;
    font-size: 13px;
}

.search-result-item:hover, .search-result-item.is-active {
    background: #f1f5f9;
}

.search-result-empty {
    padding: 14px 10px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.toggle-sidebar-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    margin-right: 20px;
    vertical-align: middle;
}

.toggle-sidebar-btn:hover {
    color: var(--color-primary);
}

.project-selector {
    display: inline-block;
    vertical-align: middle;
}

.form-select-clean {
    border-left: 1px solid var(--border-color);
    background-color: transparent;
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
}

.header-action-item {
    display: flex;
    position: relative;
    vertical-align: middle;
    gap: 24px;
}

.action-link {
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 5px;
    width: 42px;
    height: 42px;
    background: #eaeef5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-link:hover {
    color: var(--color-primary);
}

.badge-dot {
    position: absolute;
    top: 25px;
    right: -10px;
    width: 25px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 4px;
    background-color: var(--color-danger);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.badge-number {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-primary);
    color: var(--text-white);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
}

.user-profile-summary {
    display: flex;
    vertical-align: middle;
}

.user-info {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
}

.user-role {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: max-content;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
}

.card-header {
    padding: 12px;
    border-bottom: 1px solid #eaeef5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.list-container {
    flex: 1;
    overflow-y: auto;
}

.container-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.no-records-box {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
}

.card-title {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #142445;
}

.card-link {
    color: #a3b0cb;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border-left: 2px solid #eaeef5;
    padding-left: 12px;
}

.card-link:hover {
    color: #2c4271;
}

.card-button {
    color: #808080;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: 2px solid #eaeef5;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 33px;
}

.card-button:hover {
    color: #142445;
}

.card-main-button {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: 2px solid #eaeef5;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 38px;
    background: #4e5c81;
}

.card-main-button:hover {
    color: #ffffff;
    background: #254791;
}

.card-select {
    color: #a3b0cb;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.progress-container {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
}

.progress-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--color-success);
    border-radius: 4px;
}

.card-footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

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

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.stat-gauge {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.stat-gauge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
    background: conic-gradient( var(--gauge-start) 0%, var(--gauge-end) calc(var(--percent) * 1%), transparent calc((var(--percent) * 1%) + 1deg) ), #f1f5f9;
    -webkit-mask-image: radial-gradient(closest-side, transparent 78%, black 80%);
    mask-image: radial-gradient(closest-side, transparent 78%, black 80%);
}

.gauge-blue {
    --gauge-start: #60a5fa;
    --gauge-end: #2563eb;
    color: #1e3a8a;
}

.gauge-orange {
    --gauge-start: #fb923c;
    --gauge-end: #ea580c;
    color: #7c2d12;
}

.gauge-purple {
    --gauge-start: #a78bfa;
    --gauge-end: #7c3aed;
    color: #4c1d95;
}

.gauge-gray {
    --gauge-start: #94a3b8;
    --gauge-end: #475569;
    color: #334155;
}

.facilities-flex-container {
    display: flex;
    width: 100%;
    margin-top: 10px;
    background: transparent;
    border: none;
}

.facility-flex-item {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.facility-flex-item:first-child {
    padding-left: 0;
}

.facility-flex-item:last-child {
    padding-right: 0;
    border-right: none;
}

.facility-head {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.temp-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-row {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.progress-container-small {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.last-check-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.last-check-time {
    font-weight: 600;
    font-size: 13px;
}

.status-indicator {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.status-indicator i {
    font-size: 8px;
}

.text-status-acik {
    color: var(--color-success);
}

.text-status-kapali {
    color: var(--text-muted);
}

.text-status-bakimda {
    color: var(--color-warning);
}

.list-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex!important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background: #f8fafc;
}

.status-bar {
    width: 4px;
    height: stretch;
    border-radius: 2px;
}

.bg-success {
    background: var(--color-success);
}

.date-box {
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 50px;
}

.date-day {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.date-month {
    font-size: 10px;
    text-transform: uppercase;
}

.list-content {
    flex: 1;
}

.list-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

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

.list-meta {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.border-left-danger {
    border-left: 3px solid var(--color-danger);
}

.border-left-warning {
    border-left: 3px solid var(--color-warning);
}

.border-left-success {
    border-left: 3px solid var(--color-success);
}

.compact-list-item {
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.col-day {
    min-width: 60px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.col-block {
    min-width: 50px;
    font-size: 13px;
    font-weight: 600;
}

.col-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-amount {
    min-width: 80px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-danger);
}

.compact-list-item:hover {
    background: #f8fafc;
}

.compact-list-item:last-child {
    border-bottom: none;
}

.date-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 45px;
}

.resident-info {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.debt-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-danger);
}

.table-card {
    background: var(--bg-card);
    border: 2px solid #e9e9e9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* box-shadow: 0px 0px 5px #a2a6bb00; */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.data-table td {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    r); */ font-size: 13px;
    color: var(--text-main);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: #f8fafc;
}

.t-col-date {
    width: 120px;
}

.t-col-code {
    width: 100px;
}

.t-col-price {
    text-align: right;
    font-weight: 700;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.table-search-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 250px;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-size: 12px;
}

.btn-icon {
    color: var(--color-primary);
}

.table-title-bar {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-record-card {
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 15px;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sub-name {
    font-weight: 700;
    color: var(--color-primary);
}

.sub-info {
    color: #6b7280;
}

.main-row {
    cursor: pointer;
    transition: background 0.2s;
}

.main-row:hover {
    background: #f9fafb;
}

.sub-row {
    background: #f8fafc;
}

.sub-row td {
    padding: 10px 20px !important;
    border-top: none !important;
}

.inner-list {
    display: flex;
    gap: 20px;
    padding: 5px;
    font-size: 12px;
    color: #4b5563;
}

.inner-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.filter-none {
    background: #f1f5f9 !important;
}

.data-table thead tr:first-child th {
    color: #333333;
    padding: 15px 20px;
}

.filter-row th {
    background: #ffffff !important;
    padding: 8px 8px !important;
}

.filter-row select, .filter-row input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: white;
}

.action-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-icons i {
    cursor: pointer;
    color: #4b5563;
}

.dashboard-grid-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    padding: 12px;
}

.dashboard-grid-equal {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 12px;
    padding: 12px;
}


.dashboard-grid-single {
    display: grid;
    gap: 20px;
    padding: 12px;
}

.card-stretch {
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-panel {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.filter-group select, .filter-group input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    font-size: 13px;
    min-width: 150px;
}

.tab-container {
    position: sticky;
    top: 78px;
    display: flex;
    background: #eaeef5;
    gap: 12px;
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 2;
    width: -webkit-fill-available;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    border: 2px solid #f3f3f3;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: left;
    font-family: 'Inter', sans-serif;
    height: max-content;
}

.tab-btn:hover {
    background-color: #d3e5f7;
}

.tab-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.tab-btn:hover .tab-icon-box {
    background-color: #eef2ff;
    color: #4f46e5;
}

.tab-text-wrapper {
    display: flex;
    flex-direction: column;
}

.tab-category {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0d4491;
    line-height: 1;
}

.tab-title {
    font-size: 10px;
    font-weight: 500;
    color: #475569;
    margin-top: 2px;
    line-height: 1.2;
}

.tab-btn.active {
    background-color: #2c4271;
    border-color: rgba(224, 231, 255, 0.5);
}

.tab-btn.active .tab-icon-box {
    background-color: #ffffff;
    color: #2c4271;
}

.tab-btn.active .tab-title {
    color: #ffffff;
    font-weight: 600;
}

.tab-btn.active .tab-category {
    color: #acc6ff;
}

.tab-header-inline {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    background-color: #f43f5e;
    border-radius: 9999px;
    line-height: 1;
    animation: bounce 1s infinite;
}

.badge-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    font-size: 9px;
    font-weight: 700;
    color: #e11d48;
    background-color: #fff1f2;
    border: 1px solid #efc5c8;
    border-radius: 9999px;
    line-height: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.energy-analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.energy-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.energy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.energy-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.energy-value {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.energy-trend {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.trend-up {
    background: #fee2e2;
    color: #dc2626;
}

.trend-down {
    background: #dcfce7;
    color: #16a34a;
}

.limit-bar-container {
    position: relative;
    background: #e5e7eb;
    height: 12px;
    border-radius: 6px;
}

.limit-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.bg-safe {
    background: #10b981;
}

.bg-warning {
    background: #f59e0b;
}

.bg-danger {
    background: #ef4444;
}

.limit-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.office-status {
    text-align: right;
}

.status-open {
    background: #dcfce7;
    color: #16a34a;
}

.status-closed {
    background: #fee2e2;
    color: #dc2626;
}

.internal-phone {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-top: 5px;
}

.card .office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 15px;
}

.office-card {
    background: var(--bg-card);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    cursor: pointer;
}

.office-card:hover {
    background: #f8fafc;
}

.office-info h4 {
    margin: 0;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
}

.office-info p {
    margin: 2px 0 0 0;
    font-size: 10px;
    color: #6b7280;
}

.badge-status {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-bottom: 4px;
}

.checklist-container {
    display: flex;
    flex-direction: column;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.task-item:hover {
    background: #f3f4f6;
}

.task-item:last-child {
    border-bottom: none;
}

.task-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.task-item.completed .task-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

.task-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.task-meta {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

.task-checkbox-hidden {
    display: none;
}

.icon-pending {
    border: 2px dashed #d1d5db;
    color: #9ca3af;
}

.icon-done {
    background: #2c4271;
    color: #ffffff;
}

.task-item.is-done .task-text {
    color: #9ca3af;
    text-decoration: line-through;
}

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

.cashflow-card {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.cashflow-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.cashflow-value {
    font-size: 18px;
    font-weight: 700;
}

.text-income {
    color: #16a34a;
}

.text-expense {
    color: #dc2626;
}

.text-balance {
    color: #2563eb;
}

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

.history-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: #f9fafb;
}

.history-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
}

.bg-income {
    background: #dcfce7;
    color: #16a34a;
}

.bg-expense {
    background: #fee2e2;
    color: #dc2626;
}

.history-info {
    flex: 1;
}

.history-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.history-meta {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 1px;
}

.history-amount {
    font-size: 13px;
    font-weight: 700;
}

.trend-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.trend-item {
    margin-bottom: 20px;
}

.trend-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
}

.trend-line-bg {
    background: #e5e7eb;
    height: 6px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.trend-line-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.trend-arrow {
    font-size: 10px;
    margin-left: 5px;
}

.text-up {
    color: #dc2626;
}

.text-down {
    color: #16a34a;
}

.compare-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.compare-card {
    background: #fff;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
}

.compare-title {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.compare-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.compare-indicator {
    font-size: 11px;
    font-weight: 600;
}

.ind-up {
    color: #16a34a;
}

.ind-down {
    color: #dc2626;
}

.quick-access-grid .single-info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    height: 75px;
    cursor: pointer;
}

.quick-access-grid .single-info-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quick-access-grid .info-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-access-grid .info-icon {
    color: #0284c7;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.quick-access-grid .info-title {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.quick-access-grid .info-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.quick-access-grid .info-tag {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.quick-access-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.quick-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.25s ease;
    height: 75px;
}

.quick-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quick-btn i {
    font-size: 20px;
    color: #2c4271;
}

.quick-btn span {
    font-size: 11px;
    font-weight: 600;
}

.side-panel-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 20%);
    backdrop-filter: blur(1px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-panel {
    position: fixed;
    top: 0;
    right: -524px;
    width: 500px;
    height: calc(100% - 0px);
    border-radius: 0px;
    background: #ffffff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* margin: 12px; */
}

.side-panel.active {
    right: 0;
}

@media (max-width: 480px) {
    .side-panel {
        width: 100%;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-footer {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.panel-tabs {
    display: flex;
    width: 100%;
    position: sticky;
    top: 0px;
}

.panel-container {
    height: 100%;
    overflow: hidden;
}

.form_area {
    height: calc(100% - 50px);
    overflow: auto;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.tab-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-bottom: 3px solid #efefef;
    background: white;
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    transition: 0.2s;
}

.tab-link.active {
    background: #e9eef9;
    border-color: #2563eb;
    color: #2563eb;
    font-weight: 600;
}

.tabquest {
    width: -webkit-fill-available;
    text-align: left;
    background: #f1f1f1;
    border-radius: 12px;
    margin-bottom: 12px;
}

.tabquest:hover {
    background: #e9eef9;
    border-color: #2563eb;
    color: #2563eb;
    font-weight: 600;
}

.panel-hero {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.panel-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-labels {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 10px;
}

.label-status, .label-priority {
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}

.popuploader {
    margin: 32px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab-content {
    height: calc(100% - 44px);
    overflow: hidden;
}

.content-block {
    padding: 16px 16px;
    border-top: 1px solid #e5e7eb;
}

.block-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.styled-table th {
    background: #f8fafc;
    padding: 10px;
    text-align: left;
    color: #64748b;
}

.styled-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.info-row:last-child {
    border-bottom: none;
}

.notes-calendar-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    font-family: inherit;
    width: 100%;
}

.nc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-size: 13px;
}

.nc-title {
    font-weight: 700;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nc-date-sub {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
}

.nc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
    cursor: pointer;
    font-weight: 600;
}

.nc-checkbox-label input {
    accent-color: #16a34a;
    width: 14px;
    height: 14px;
}

.nc-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    padding: 12px;
}

@media (max-width: 768px) {
    .nc-body {
        grid-template-columns: 1fr;
    }
}

.nc-left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.note-box {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    position: relative;
}

.note-date-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.note-content {
    margin-top: 4px;
}

.note-category {
    color: #b91c1c;
    font-weight: 700;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.note-text {
    font-size: 11px;
    color: #1e293b;
    line-height: 1.4;
    font-weight: 600;
}

.nc-add-btn {
    background-color: #2c4271;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.nc-add-btn:hover {
    background-color: #222f4b;
}

.mini-calendar {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.cal-title {
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-month {
    font-weight: 700;
    font-size: 12px;
    color: #334155;
}

.cal-nav-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
}

.cal-nav-btn:hover {
    color: #1e293b;
}

.cal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 12px;
}

.cal-table th {
    color: #64748b;
    font-weight: 600;
    padding: 6px 0;
}

.cal-table td {
    padding: 8px 0;
    color: #334155;
}

.cal-table td strong {
    background: #f1f5f9;
    padding: 4px 7px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.cal-table td.today-highlight {
    background: #f1f5f9;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    color: #15803d;
}

.plan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-bottom: 1px solid #eaeef5;
    cursor: pointer;
    transition: background 0.15s ease;
}

.plan-item:last-child {
    border-bottom: none;
}

.plan-item:hover {
    background-color: #f8fafc;
}

.plan-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-icon-box {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.plan-icon-box.finans {
    background: #e0f2fe;
    color: #0284c7;
}

.plan-icon-box.envanter {
    background: #fef3c7;
    color: #d97706;
}

.plan-icon-box.filo {
    background: #fee2e2;
    color: #dc2626;
}

.plan-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.plan-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-status-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.broadcast-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    /* border: 1px solid #e2e8f0; */
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
    margin-bottom: 24px;
}

.broadcast-banner:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.broadcast-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.broadcast-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.broadcast-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.broadcast-desc {
    font-size: 14px;
    color: #64748b;
    margin-top: 1px;
}

.list-badge {
    width: 18px;
    height: 18px;
    text-align: center;
    margin-right: 0px;
    font-size: 10px;
    vertical-align: middle;
    border: 1px solid #fee2e2;
    display: block;
    float: left;
    border-radius: 14px;
    color: #f43f5e;
    background: #fef2f2;
    font-style: normal;
    font-weight: 600;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(220, 38, 38, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.task-status-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    border: 2px solid transparent;
}

.task-status-icon.icon-pending {
    color: #868686;
    border-color: #b4b4b4;
    border-style: dashed;
}

.task-status-icon.icon-done {
    background: #2c4271;
    color: #ffffff;
    border-color: #ffffff;
}

.task-status-icon.icon-overdue {
    background: #ffffff;
    color: #ed0000;
    border-color: #ff0000;
}

.vertical-chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    padding: 0 10px;
    margin: 14px 0 6px 0;
    gap: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    position: relative;
}

.chart-bar-value {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}

.chart-bar-column {
    width: 100%;
    max-width: 36px;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.chart-bar-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 6px;
    text-align: center;
}

.chart-bar-group.active .chart-bar-value {
    color: #0f172a;
}

.chart-bar-group.active .chart-bar-label {
    color: #1e293b;
    font-weight: 700;
}

.system-readings-card .card-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 12px 16px;
}

.reading-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px 16px;
    width: -webkit-fill-available;
}

.reading-item.alert-box {
    background: #fef2f2;
    border-color: #fee2e2;
}

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

.reading-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.reading-item.alert-box .reading-title {
    color: #991b1b;
}

.reading-values {
    text-align: right;
}

.reading-amount {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.reading-item.alert-box .reading-amount {
    color: #991b1b;
}

.reading-trend {
    font-size: 10px;
    font-weight: 600;
}

.reading-trend.up-bad {
    color: #dc2626;
}

.reading-trend.down-good {
    color: #16a34a;
}

.reading-item.alert-box .vertical-chart-container {
    border-bottom-color: #fecaca;
}

.reading-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
    padding-top: 4px;
}

.reading-item.alert-box .reading-footer {
    color: #991b1b;
    font-weight: 600;
}

.badge-limit-exceeded {
    font-size: 9px;
    background: #fee2e2;
    color: #dc2626;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.form-container {
    padding: 4px 2px;
}

.form-intro-text {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 16px;
}

.form-main-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i {
    color: #0284c7;
    font-size: 12px;
}

.form-label-required {
    color: #dc2626;
}

.form-hint {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 2px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 70px;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.form-checkbox {
    width: 14px;
    height: 14px;
    accent-color: #0284c7;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 12px;
    color: #475569;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    position: absolute;
    bottom: 0px;
    background: #ffffff;
    width: -webkit-fill-available;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    border-radius: 0px 0px 12px 12px;
}

.btn-secondary-outline {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary-outline:hover {
    background: #f8fafc;
}

.btn-primary-dark {
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: #0f172a;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-primary-dark:hover {
    background: #1e293b;
}

.btn-primary-dark i {
    font-size: 10px;
}

#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.app-toast-success {
    border-left-color: #16a34a;
}

.app-toast-success i {
    color: #16a34a;
}

.app-toast-error {
    border-left-color: var(--color-danger);
}

.app-toast-error i {
    color: var(--color-danger);
}

.notification-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px;
}

.notif-history-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.notif-history-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.notif-item-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-type-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
}

.notif-content-area {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notif-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.notif-item-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.notif-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.notif-target-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.notif-status-sent {
    font-size: 10px;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.popcover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
}

.popinfo {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
    background-size: cover!important;
    background-position: center!important;
    background: #293551;
}

.pi_1 {
    color: #ffffffcc;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pi_2 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.popmarket {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pi_4 {
    color: #0b0b0b85;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pi_5 {
    color: #293551;
    font-size: 18px;
    font-weight: 600;
}

.pi_flex {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.simpleborder {
    width: -webkit-fill-available;
    height: 1px;
    background: #ffffff36;
    margin: 12px 0px;
}

.file-upload-box {
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-box:hover {
    border-color: #0284c7;
    background: #f0fdf4;
}

.file-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.file-pill-remove {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-pill-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.custom-task-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
}

.flexcheck {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flexcheck input {
    width: 24px;
    height: 24px;
}

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

.package-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.package-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.package-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.package-price {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0;
}

.package-price span {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.package-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    min-height: 32px;
}

.package-status {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.package-status.active {
    color: #16a34a;
    background: #dcfce7;
}

.package-status.passive {
    color: #6b7280;
    background: #f1f5f9;
}

.feature-category-heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 14px 0 6px 0;
    padding: 0 16px;
}

.note-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 10px;
}

.note-card.done {
    opacity: 0.55;
}

.note-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.note-card-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.note-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.note-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.perfgroup {
    border-top: 1px solid #eaeef5;
    padding: 12px 0px;
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.note-card-desc {
    /* margin-top: 8px; */
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    white-space: pre-line;
    display: flex;
    gap: 12px;
}

.detay-tab-bar {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 2px;
    flex-wrap: wrap;
    padding: 0px 16px;
    position: sticky;
    background: #ffffff;
    top: 88px;
}

.detay-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.detay-tab-link:hover {
    color: var(--color-primary);
}

.detay-tab-link.active {
    color: #314886;
    border-bottom-color: #314886;
    font-weight: 800;
}

.projectheader {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.projectlogo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #ffffff;
    background: #ffffff;
}

.virtualtable {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
}

.vtableflex {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 4px;
}

.info-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
}

.info-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 10px;
    min-width: 0;
}

.info-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.info-tile-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.info-tile-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #94a3b8;
}

.info-tile-value {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Form Etiketleri */
.form-label-custom {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label-custom i {
    color: #0284c7;
    font-size: 12px;
}

.form-label-custom .required {
    color: #dc2626;
}

.form-hint-text {
    font-size: 12px;
    color: #676767;
    margin-bottom: 2px;
}

.form-control-styled {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    height: 38px;
    box-sizing: border-box;
}

.form-control-styled:focus {
    border-color: #0284c7;
}

.form-control-styled[readonly] {
    background: #f8fafc;
    color: #64748b;
    cursor: default;
}

textarea.form-control-styled {
    height: auto;
    min-height: 90px;
    padding-top: 8px;
    resize: vertical;
}

.form-grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0px 16px 12px 16px;
}

/* Yan Yana Alanlar (Grid / Flex Row) */
.form-row-group {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

/* Proje Seçici (Site Yönetim paneli sidebar'ı — açılır proje listesi) */
.project-switcher {
    /* padding: 1px 0; */
    position: relative;
}

.project-switcher-toggle {
    background: #142445;
    background-image: url(images/header/sbar_header.png);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    background-size: cover;
}

.project-switcher-info {
    min-width: 0;
}

.project-switcher-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-switcher-location {
    color: #efefef;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-switcher-arrow {
    color: #142445;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform .15s;
    padding: 4px;
    background: #ffffff;
    border-radius: 12px;
}

.project-switcher-arrow.open {
    transform: rotate(180deg);
}

.project-switcher-list {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 40;
}

.project-switcher-list.open {
    display: block;
}

.project-switcher-item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.project-switcher-item:last-child {
    border-bottom: none;
}

.project-switcher-item.active {
    background: #f0fdf9;
}

.project-switcher-item-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
}

.project-switcher-item-location {
    color: #64748b;
    font-size: 11px;
}

.file-uploader-wrapper {
    padding: 12px 16px;
}

.form-col-flex {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0284c7;
    cursor: pointer;
}

.form-checkbox-wrapper label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.form-actions-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding: 8px;
}

.btn-cancel-custom {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-cancel-custom:hover {
    background: #ffffff;
    box-shadow: 0px 0px 10px #e2e2e2;
    transition: 0.2s;
}

.btn-submit-custom {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: #293551;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.btn-submit-custom:hover {
    background: #0f172a;
    box-shadow: 0px 0px 10px #e2e2e2;
    transition: 0.2s;
}

.btn-submit-reply {
    background: #ffffff;
    padding: 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #5c5f62;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 12px auto;
    font-weight: 600;
    font-size: 13px;
    /* flex-direction: column; */
    border: 1px solid #c8c8c8;
    transition: 0.2s;
    position: sticky;
    bottom: 12px;
}

.btn-submit-reply:hover {
    box-shadow: 0px 0px 10px #e2e2e2;
    transition: 0.2s;
}

/*Chat flow*/
.chat-flow-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px;
    position: sticky;
    bottom: 0px;
}

.chat-bubble-card {
    background: #f8fafc;
    border-bottom: 1px dashed #d9d9d9;
    /* border-radius: 12px; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* margin: 12px; */
}

.chat-bubble-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-bubble-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-bubble-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-bubble-author {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.chat-bubble-time {
    font-size: 13px;
    color: #64748b;
}

.chat-bubble-actions {
    display: flex;
    gap: 6px;
}

.chat-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    transition: color 0.2s ease;
}

.chat-action-btn.edit {
    color: #64748b;
}

.chat-action-btn.edit:hover {
    color: #0284c7;
}

.chat-action-btn.delete {
    color: #dc2626;
}

.chat-action-btn.delete:hover {
    color: #991b1b;
}

.chat-bubble-text {
    font-size: 13px;
    color: #334155;
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}


.chat-file-chip-wrapper {
    /* padding-top: 6px; */
    /* border-top: 1px dashed #e2e8f0; */
    display: flex;
    gap: 6px;
}

.chat-file-chip {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease;
}

.chat-file-chip:hover {
    background: #f1f5f9;
}


.chat-reply-form {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-reply-header {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-reply-header i {
    color: #0284c7;
}

.chat-reply-textarea {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.chat-reply-textarea:focus {
    border-color: #0284c7;
}

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

.chat-reply-attach {
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.chat-reply-attach:hover {
    color: #0284c7;
}

.chat-reply-submit {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.chat-reply-submit:hover {
    background: #1e293b;
}


.chat-bubble-text textarea.chat-reply-textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    border: 1px solid #0284c7;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    margin-top: 4px;
}


.edit-actions-wrapper {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    position: absolute;
    right: 20px;
    margin-top: -42px;
}

.btn-cancel-edit {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel-edit:hover {
    background: #f1f5f9;
}

.btn-save-edit {
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: #0f172a;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save-edit:hover {
    background: #1e293b;
}

.page-heading-area {
    max-width: 500px;
}

.flexiheader {
    display: flex;
    justify-content: space-between;
}

.page-title {
    font-size: 23px;
    font-weight: 700;
    color: #314886;
}

.page-subtitle {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
}

.supplier-container {
    display: flex;
    gap: 24px;
    width: -webkit-fill-available;
    /* height: calc(100% - 100px); */
    box-sizing: border-box;
    max-width: none;
}

.supplier-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: -webkit-fill-available;
}

.supplier-search-box {
    display: flex;
    gap: 10px;
}

.supplier-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.supplier-list {
    max-height: 550px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.supplier-card {
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.supplier-card:hover {
    border-color: #999;
}

.supplier-card-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 4px;
}

.supplier-card-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.supplier-card-info {
    font-size: 12px;
    color: #333;
}

.supplier-right {
    flex: 1;
    background: #eaeaea;
    border-radius: 8px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: -webkit-fill-available;
}

.supplier-map-placeholder {
    color: #666;
    font-size: 14px;
    text-align: center;
}

.universal-repeater-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0px 16px 16px 16px;
    /* margin-top: 12px; */
    /* background: #f1f1f1; */
    border-radius: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.repeater-rows-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dynamic-row-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* border: 1px solid #cbd5e1; */
    /* padding: 8px; */
    border-radius: 8px;
}

.dynamic-row-item input, .dynamic-row-item select {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
}

.rowput {
    flex: 1;
    padding: 0px 10px;
    font-size: 11px;
    /* border: 1px solid #cbd5e1; */
    border-radius: 6px;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.rowput input {
    width: 20px!important;
    height: 21px!important;
    flex: none!important;
}

.btn-remove-row {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-remove-row:hover {
    background: #fecaca;
}

.btn-add-repeater-row {
    background: #ffffff;
    color: #0f172a;
    border: 1px dashed #0284c7;
    padding: 8px;
    width: 100%;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-add-repeater-row:hover {
    background: #e0f2fe;
}

.repeater-header-row {
    display: flex;
    gap: 8px;
    padding: 0 4px;
    /* margin-bottom: 4px; */
}

.repeater-col-title {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px;
}

.col-type {
    flex: 1;
}

.col-count {
    flex: 1;
}

.col-area {
    flex: 1;
}

.col-action-space {
    width: 28px;
    flex-shrink: 0;
}

/* ============================================================
   manage.yonetimport.com — Giriş (giris.php) — 2'ye bölünmüş telefon/OTP giriş ekranı
   ============================================================ */
.auth-split {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6);
    color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    right: -80px;
    bottom: -100px;
}

.auth-left-brand { font-size: 22px; font-weight: 800; margin-bottom: 40px; }
.auth-left-brand span { opacity: .85; }
.auth-left-title { font-size: 30px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; max-width: 420px; }
.auth-left-sub { font-size: 14px; color: #dbeafe; margin-bottom: 32px; max-width: 400px; line-height: 1.6; }
.auth-feature { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; max-width: 400px; }

.auth-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.auth-feature-title { font-weight: 700; font-size: 14px; }
.auth-feature-sub { font-size: 12px; color: #dbeafe; margin-top: 2px; }
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #fff; }
.auth-right-inner { max-width: 380px; width: 100%; }
.auth-step { display: none; }
.auth-step.active { display: block; }
.auth-error { background:#fee2e2; color:#dc2626; border-radius:8px; padding:10px 14px; font-size:12px; margin-bottom:16px; display:none; }
.auth-hint { background:#eff6ff; color:#1d4ed8; border-radius:8px; padding:10px 14px; font-size:12px; margin-bottom:16px; }
.auth-back-link { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#64748b; text-decoration:none; margin-bottom:14px; }

@media (max-width: 860px) {
    .auth-left { display: none; }
}

/* ============================================================
   manage.yonetimport.com — Hesap (hesap.php) — hesap hub: siteler, hesap bilgisi, kampanya
   ============================================================ */
body.hesap-body { background: #f1f5f9; }

.hesap-topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hesap-topbar-brand { font-size: 18px; font-weight: 800; color: #1e293b; }
.hesap-topbar-brand span { color: #2563eb; }
.hesap-topbar-user { display:flex; align-items:center; gap:10px; font-size:13px; color:#475569; }
.hesap-logout { color:#64748b; text-decoration:none; font-size:12px; margin-left:14px; }
.hesap-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }

@media (max-width: 800px) {
    .hesap-wrap { grid-template-columns: 1fr; }
}

.hesap-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.hesap-project-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.hesap-project-row:hover { background: #f8fafc; }

.hesap-project-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hesap-project-name { font-weight: 700; font-size: 14px; color: #1e293b; }
.hesap-project-loc { font-size: 12px; color: #64748b; margin-top: 2px; }
.hesap-info-row { display:flex; justify-content:space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f8fafc; }
.hesap-info-label { color: #64748b; }
.hesap-info-value { color: #1e293b; font-weight: 600; }

.hesap-kampanya {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-top: 16px;
}

/* ============================================================
   manage.yonetimport.com — Yeni Site sihirbazı (modules/projectSet/yeniSite.php)
   panel-container/panel-tabs/tab-content/form_area/form-actions-footer'ın aynısı
   (bkz. admin.yonetimport.com/modules/projectSet/projectGet.php) — sabit üst adım
   şeridi + sabit alt ileri/geri butonları için. #yeniSiteForm'a height:100% şart,
   yoksa .tab-content'in yüzdesel yükseklik zinciri (bkz. base.css'teki .panel-container/
   .tab-content/.form_area kuralları) kırılır ve alt buton satırı içerikle birlikte kayar.
   ============================================================ */
#yeniSiteForm { height: 100%; }

.wizard-choice-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    margin-bottom: 12px;
}

.wizard-choice-card:hover { border-color: #2563eb; background: #f8fafc; }
.wizard-choice-card.selected { border-color: #2563eb; background: #eff6ff; }

.wizard-choice-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 17px;
}

.wizard-step-label { font-size: 11px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }

.wizard-package-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    margin: 24px 12px;
}

.wizard-package-card:hover { border-color: #2563eb; background: #f8fafc; }
.wizard-package-card.selected { border-color: #2563eb; background: #eff6ff; }

.wizard-package-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.wizard-package-name { font-weight: 700; font-size: 15px; color: #1e293b; margin-bottom: 6px; }
.wizard-package-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.wizard-package-price-old { font-size: 13px; color: #94a3b8; text-decoration: line-through; }
.wizard-package-price-trial { font-size: 13px; font-weight: 700; color: #16a34a; }
.wizard-package-price-after { font-size: 11px; color: #64748b; }
.wizard-package-desc { font-size: 12px; color: #64748b; margin-bottom: 6px; }

.wizard-info-card {display: flex;gap: 12px;border: 1px solid #e2e8f0;border-radius: 12px;padding: 14px;margin: 16px;}

.wizard-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 15px;
}

.wizard-info-title { font-weight: 700; font-size: 13px; color: #1e293b; margin-bottom: 3px; }
.wizard-info-desc { font-size: 12px; color: #64748b; margin-bottom: 8px; }

/* ============================================================
   Genel küçük popup (mini modal) — .side-panel'in aksine ekranın ortasında açılan,
   tek bir onay/bilgi metni için kullanılan hafif bileşen (ilk kullanım: KVKK onayı,
   manage.yonetimport.com/giris.php). Sayfaya özel değildir, her yerde yeniden kullanılabilir.
   ============================================================ */
.mini-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
}

.mini-modal-overlay.active { opacity: 1; visibility: visible; }

.mini-modal-box {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.mini-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.mini-modal-header h4 { margin: 0; font-size: 15px; font-weight: 700; color: #1e293b; }

.mini-modal-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.mini-modal-close:hover { color: #1e293b; }

.mini-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    font-size: 12px;
    color: #475569;
    line-height: 1.7;
}

.mini-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.kvkk-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #1e293b;
    transition: border-color .15s, background .15s;
}

.kvkk-trigger:hover { border-color: #2563eb; background: #f8fafc; }
.kvkk-trigger i:first-child { color: #2563eb; }
.kvkk-trigger i:last-child { margin-left: auto; color: #94a3b8; font-size: 11px; }
.kvkk-trigger.approved { border-color: #16a34a; background: #f0fdf4; color: #16a34a; }
.kvkk-trigger.approved i:first-child { color: #16a34a; }

/* ============================================================
   web.yonetimport.com — Açılış sayfası (index.php)
   ============================================================ */
body.landing-body {
    background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6);
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.landing { max-width: 640px; text-align: center; }
.landing-brand { font-size: 24px; font-weight: 800; margin-bottom: 30px; }
.landing-brand span { opacity: .85; }
.landing-title { font-size: 36px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.landing-sub { font-size: 15px; color: #dbeafe; line-height: 1.6; margin-bottom: 34px; }

.landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.landing-features { display: flex; gap: 24px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.landing-feature { max-width: 160px; font-size: 12px; color: #dbeafe; }
.landing-feature i { font-size: 22px; margin-bottom: 10px; display: block; }

/* ============================================================
   web.yonetimport.com — Sakin self-servis katılım (katil.php)
   ============================================================ */
body.web-body { background: #f1f5f9; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; font-family: 'Inter', sans-serif; }
.web-wrapper { max-width: 480px; width: 100%; }
.web-brand { text-align: center; margin-bottom: 24px; }
.web-brand-title { font-size: 22px; font-weight: 800; color: #1e293b; }
.web-brand-title span { color: #2563eb; }
.web-brand-sub { font-size: 13px; color: #64748b; margin-top: 4px; }
.web-step { display: none; }
.web-step.active { display: block; }
.web-error { background:#fee2e2; color:#dc2626; border-radius:8px; padding:10px 14px; font-size:12px; margin-bottom:16px; display:none; }
.web-back-link { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#64748b; text-decoration:none; margin-bottom:14px; }

.kvkk-box {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    font-size: 12px;
    color: #475569;
    line-height: 1.7;
    background: #f8fafc;
    margin-bottom: 16px;
}

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

.home-pick {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #1e293b;
}

.home-pick:hover { border-color: #2563eb; background: #eff6ff; }
.home-pick.selected { border-color: #2563eb; background: #2563eb; color: #fff; }
.dyn-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.dyn-row input { flex: 1; }
.dyn-remove { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 14px; padding: 6px; }
.radio-choice { display: flex; gap: 16px; margin-bottom: 18px; }
.radio-choice label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
