@media screen and (min-width: 1921px) and (min-height: 1081px) and (max-width: 2561px) and (max-height: 1441px) {
  body {
    margin: 0;
    line-height: normal;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: var(--color-gray-100);
  }

  :root {
    /* Color */
    --color-royalblue: #4681ff;
    --color-silver: #c7c7c7;
    --color-gray-100: #2b2b2b;
    --color-lightskyblue: #93c8ff;
    --color-mediumslateblue: #265bff;
    --color-gray-400: rgba(255, 255, 255, 0);
    --color-gray-300: #0d0d0d;
    --color-gray-200: #061135;
    --color-white: #fff;
    --color-darkslateblue: #1d3c92;
    --color-cornflowerblue: #69a5ff;
    --color-darkslategray: #353535;

    /* Gap - scaled for 1440p */
    --gap-24: 20px;
    --gap-cards: 33px;
    /* Padding */
    --padding-32: 16px;

    /* BorderRadius */
    --br-32: 16px;
    --br-16: 8px;

    /* Font */
    --font-avenir-next-arabic: Avenir Next Arabic;
    --font-martel-sans: Martel Sans;
    --font-decotype-naskh: DecoType Naskh;
    --font-inter: Inter;

    /* FontSize - scaled for 1440p */
    --font-size-32: 16px;
    --font-size-40: 20px;
    --font-size-12: 5px;
    --font-size-19: 9px;
    --font-size-24: 12px;
    --font-size-20: 9px;
  }

  .dashboard {
    width: 100vw;
    min-width: 2560px; /* Scaled from 1920px */
    min-height: 100vh;
    height: auto;
    position: relative;
    border-radius: var(--br-32);
    background-color: var(--color-gray-100);
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding-32) 32px; /* Increased padding */
    box-sizing: border-box;
    text-align: left;
    font-size: 56px; /* Scaled from 42px */
    color: var(--color-white);
    font-family: var(--font-avenir-next-arabic);
  }

  .dashboard-child {
    margin: 0 !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--padding-32);
    gap: 17px; /* Scaled from 13px */
    z-index: 0;
    min-width: 2387px; /* Scaled from 1790px */
    width: 2387px;
    flex-shrink: 0;
  }

  .top-side {
    width: 2387px; /* Scaled from 1790px */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 333px; /* Scaled from 250px */
  }

  .mapwithcharts {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 5px 0px; /* Scaled from 4px */
    gap: var(--gap-24);
    font-size: 12px; /* Scaled from 9px */
  }

  .mapwithleftandbottomcharts {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-24);
  }

  .left-charts {
    border-radius: var(--br-16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap-cards);
  }

  .left-chart-1,
  .left-chart-2,
  .left-chart-3 {
    position: absolute;
    height: 82.17%;
    width: 92.14%;
    top: 8.99%;
    right: 4.58%;
    bottom: 8.84%;
    left: 3.28%;
  }

  .left-chart1-text {
    position: absolute;
    top: 11px; /* Scaled from 8px */
    left: 117px; /* Scaled from 88px */
    width: 236px; /* Scaled from 177px */
    height: 32px; /* Scaled from 24px */
    font-size: 17px; /* Scaled from 13px */
    color: var(--color-silver);
    font-family: var(--font-avenir-next-arabic);
  }

  .b {
    position: absolute;
    top: 0px;
    left: 0px;
  }

  .left-chart1-container,
  .left-chart2-container,
  .left-chart3-container {
    width: 368px; /* Scaled from 276px */
    position: relative;
    box-shadow: 0px 11px 21px rgba(0, 0, 0, 0.1); /* Scaled shadow */
    height: 361px; /* Scaled from 271px */
    text-align: center;
  }

  .left-chart3-container {
    text-align: right;
    font-size: 17px; /* Scaled from 13px */
  }

  .bg {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 19px; /* Scaled from 14px */
    background: linear-gradient(126.02deg, #222, #444 49.62%, #6d6d6d);
    width: 100%;
    height: 100%;
  }

  .left-chart2-text {
    position: absolute;
    top: 12px; /* Scaled from 9px */
    left: 61px; /* Scaled from 46px */
    font-size: 17px; /* Scaled from 13px */
    opacity: 0.7;
  }

  .left-chart3-text {
    width: 303px; /* Scaled from 227px */
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.7;
  }

  .left-chart3-text-container {
    position: absolute;
    top: 19px; /* Scaled from 14px */
    left: calc(50% - 132px); /* Scaled from 99px */
    width: 303px; /* Scaled from 227px */
    height: 29px; /* Scaled from 22px */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  /* Map section */
  .mapandbottomcharts-parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-24);
    text-align: right;
    font-size: var(--font-size-40);
    color: var(--color-gray-100);
  }

  .map {
    width: 1316px; /* Scaled from 987px */
    height: 907px; /* Scaled from 680px */
  }

  .map-icon {
    border-radius: 29px; /* Scaled from 22px */
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bottom-charts {
    border-radius: var(--br-16);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--gap-24);
    text-align: left;
    font-size: 8px; /* Scaled from 6px */
    color: var(--color-white);
    font-family: var(--font-martel-sans);
  }

  .bottom-chart1,
  .bottom-chart2,
  .bottom-chart3,
  .bottom-chart4,
  .bottom-chart5 {
    width: 249px; /* Scaled from 187px */
    position: relative;
    height: 229px; /* Scaled from 172px */
  }

  .bg2,
  .bg3,
  .bg4 {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }

  .bg3 {
    height: 100%;
  }

  .bg4 {
    height: 100%;
  }

  .bg-child,
  .bg-item {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 11px; /* Scaled from 8px */
    background: linear-gradient(126.02deg, #222, #444 49.62%, #6d6d6d);
    width: 100%;
    height: 100%;
  }

  .bg-item {
    width: 100%;
    height: 100%;
  }

  .bottom-chart-parent,
  .bottom-chart2-parent,
  .bottom-chart3-parent {
    position: absolute;
    top: 9px; /* Scaled from 7px */
    left: 75px; /* Scaled from 56px */
    width: 152px; /* Scaled from 114px */
    height: 71px; /* Scaled from 53px */
    text-align: right;
    font-size: 15px; /* Scaled from 11px */
    font-family: var(--font-avenir-next-arabic);
  }

  .bottom-chart-text-container {
    top: 8px; /* Scaled from 6px */
    left: 11px; /* Scaled from 8px */
    width: 216px; /* Scaled from 162px */
    height: 43px; /* Scaled from 32px */
  }

  .bottom-chart3-parent {
    top: 8px; /* Scaled from 6px */
    left: 76px; /* Scaled from 57px */
  }

  .bottom-chart-text-container {
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    width: 152px; /* Scaled from 114px */
    opacity: 0.7;
  }

  .number {
    position: absolute;
    top: 52px; /* Scaled from 39px */
    left: 113px; /* Scaled from 85px */
    font-size: var(--font-size-24);
    opacity: 0.7;
  }

  .p {
    margin: 0;
  }

  .p1 {
    margin: 0;
    font-size: var(--font-size-19);
  }

  .txt {
    width: 100%;
  }

  .span1 {
    font-size: 8px; /* Scaled from 6px */
  }

  .right-charts {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-cards);
    font-size: var(--font-size-24);
    font-family: var(--font-martel-sans);
  }

  .right-chart1,
  .right-chart2,
  .right-chart3 {
    width: 401px; /* Scaled from 301px */
    position: relative;
    height: 385px; /* Scaled from 289px */
  }

  .bg7 {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: var(--br-32);
    background: linear-gradient(158.47deg, var(--color-gray-100), #424141);
    border: 1px solid var(--color-white);
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  .bg-right-chart3 {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 21px; /* Scaled from 16px */
    background: linear-gradient(126.02deg, #222, #444 49.62%, #6d6d6d);
    width: 400px; /* Scaled from 300px */
    height: 320px; /* Scaled from 240px */
  }

  .right-chart3-text-container {
    position: absolute;
    top: 12px; /* Scaled from 9px */
    left: 36px; /* Scaled from 27px */
    width: 351px; /* Scaled from 263px */
    height: 27px; /* Scaled from 20px */
    text-align: right;
    font-size: 19px; /* Scaled from 14px */
  }

  .right-chart3-text {
    position: absolute;
    top: 0px;
    left: 0px;
    line-height: 140%;
    display: inline-block;
    width: 351px; /* Scaled from 263px */
  }

  .right-cameras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--gap-cards);
    text-align: right;
    font-size: 19px; /* Scaled from 14px */
    font-family: var(--font-inter);
  }

  .right-camera1,
  .right-camera2,
  .right-camera3 {
    width: 401px; /* Scaled from 272px */
    position: relative;
    border-radius: 12px; /* Scaled from 9px */
    background-color: var(--color-gray-300);
    height: 385px; /* Scaled from 256px */
    overflow: hidden;
    flex-shrink: 0;
  }
  .right-camera-3 {
    height: 320px;
  }

  .camera-name-text {
    position: absolute;
    top: calc(50% - 15px); /* Scaled from 11px */
    left: calc(50% - 33px); /* Scaled from 25px */
    line-height: 29px; /* Scaled from 22px */
  }

  .camera-name {
    position: absolute;
    top: 29px; /* Scaled from 22px */
    left: 225px; /* Scaled from 169px */
    border-radius: 8px; /* Scaled from 6px */
    background-color: var(--color-darkslategray);
    width: 132px; /* Scaled from 99px */
    height: 23px; /* Scaled from 17px */
    overflow: hidden;
    opacity: 0.8;
  }

  /* Bottom section */
  .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-32);
  }

  .footer-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .frame {
    width: 483px; /* Scaled from 362px */
    position: relative;
    height: 25px; /* Scaled from 19px */
  }
  .right-chart3-button {
    background-color: white;
    color: #6b7280;
    font-weight: 500;
    padding: 8px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: "AvenirNextArabic", sans-serif;
    transition: all 0.2s ease;
    min-width: 200px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .right-chart3-button:hover {
    background-color: #d1d5db;
    color: #374151;
  }

  /* Routes Filter Button */
  .routes-filter-button {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .routes-filter-button:hover {
    background: white;
  }

  .filter-icon {
    height: 12px;
    width: 12px;
  }

  .dropdown-icon {
    height: 8px;
    width: 8px;
    margin-left: 4px;
  }

  /* Routes Filter Menu */
  .routes-filter-menu {
    position: absolute;
    display: none;
    top: 40px;
    right: 8px;
    margin-top: 4px;
    width: 128px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 20;
  }

  .filter-menu-content {
    padding: 4px 0;
  }

  .filter-menu-item {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .filter-menu-item:hover {
    background-color: #d1d5db;
  }

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

  .ground-floor {
    background-color: #1e40af;
  }
  .first-floor {
    background-color: #3b82f6;
  }
  .second-floor {
    background-color: #1e3a8a;
  }
  .third-floor {
    background-color: #60a5fa;
  }
  .fourth-floor {
    background-color: #2563eb;
  }

  /* Warning Notification */
  .warning-notification {
    position: absolute;
    bottom: 120px;
    left: 40px;
    z-index: 20;
    max-width: 300px;
  }

  .warning-content {
    background: rgba(51, 51, 51, 0.9);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .warning-icon {
    margin-bottom: 12px;
    color: #dc2626;
  }

  .warning-icon svg {
    width: 48px;
    height: 48px;
  }

  .warning-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    margin: 0 0 20px 0;
  }

  .warning-button {
    background: white;
    color: #4b5563;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
  }

  .warning-button:hover {
    background-color: #d1d5db;
  }

  /* Camera Legend */
  .camera-legend {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: #1e2241;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .camera-legend-text {
    color: white;
    font-size: 14px;
  }

  .camera-legend-dot {
    width: 12px;
    height: 12px;
    background-color: #3064c5;
    border-radius: 50%;
  }

  /* Add these new styles to the end of the 1440p.css file, before the closing bracket */

  /* Modal Styles */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
  }

  .modal-overlay.show {
    display: flex;
  }

  .modal-content {
    background: var(--color-gray-300);
    border-radius: 16px; /* Scaled from 12px */
    padding: 21px; /* Scaled from 16px */
    width: 90%;
    max-width: 683px; /* Scaled from 512px */
    box-shadow: 0 33px 67px -16px rgba(0, 0, 0, 0.25); /* Scaled shadow */
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px; /* Scaled from 12px */
  }

  .modal-title {
    font-size: 24px; /* Scaled from 18px */
    font-weight: bold;
    color: white;
    margin: 0;
  }

  .modal-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px; /* Scaled from 4px */
    border-radius: 5px; /* Scaled from 4px */
    transition: color 0.2s;
  }

  .modal-close-btn:hover {
    color: #9ca3af;
  }

  .close-icon {
    height: 32px; /* Scaled from 24px */
    width: 32px; /* Scaled from 24px */
  }

  .modal-body {
    margin-bottom: 21px; /* Scaled from 16px */
  }

  .capacity-container {
    background: var(--color-gray-200);
    border-radius: 11px; /* Scaled from 8px */
    padding: 16px; /* Scaled from 12px */
    margin-bottom: 16px; /* Scaled from 12px */
  }

  .capacity-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px; /* Scaled from 4px */
  }

  .capacity-label {
    color: #9ca3af;
    font-size: 19px; /* Scaled from 14px */
  }

  .capacity-percentage {
    color: white;
    font-size: 19px; /* Scaled from 14px */
    font-weight: bold;
  }

  .capacity-bar-container {
    height: 11px; /* Scaled from 8px */
    background: #374151;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 5px; /* Scaled from 4px */
  }

  .capacity-bar {
    height: 100%;
    background: #10b981;
    transition: all 0.5s;
    width: 0%;
  }

  .capacity-details {
    display: flex;
    justify-content: space-between;
    margin-top: 5px; /* Scaled from 4px */
    font-size: 16px; /* Scaled from 12px */
    color: #9ca3af;
  }

  .cameras-title {
    color: white;
    font-weight: 600;
    margin-bottom: 11px; /* Scaled from 8px */
    font-size: 19px; /* Scaled from 14px */
  }

  .cameras-table-container {
    max-height: 40vh;
    overflow-y: auto;
    margin-bottom: 21px; /* Scaled from 16px */
  }

  .cameras-table {
    width: 100%;
    font-size: 19px; /* Scaled from 14px */
    border-collapse: collapse;
  }

  .cameras-table thead th {
    color: #9ca3af;
    border-bottom: 1px solid #374151;
    padding: 11px; /* Scaled from 8px */
    text-align: center;
  }

  .cameras-table thead th:first-child {
    text-align: right;
  }

  .cameras-table tbody td {
    color: white;
    padding: 11px; /* Scaled from 8px */
    text-align: center;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  }

  .cameras-table tbody td:first-child {
    text-align: right;
  }

  .no-cameras {
    color: #6b7280 !important;
    text-align: center !important;
    padding: 16px !important; /* Scaled from 12px */
  }

  .notification-detail-container {
    background: var(--color-gray-200);
    border-radius: 11px; /* Scaled from 8px */
    padding: 21px; /* Scaled from 16px */
  }

  .notification-detail-title {
    color: white;
    font-size: 21px; /* Scaled from 16px */
    font-weight: bold;
    margin: 0 0 11px 0; /* Scaled from 8px */
  }

  .notification-detail-time {
    color: #9ca3af;
    font-size: 16px; /* Scaled from 12px */
    margin: 0 0 16px 0; /* Scaled from 12px */
  }

  .notification-detail-content {
    color: white;
    font-size: 19px; /* Scaled from 14px */
    margin: 0;
    line-height: 1.5;
  }

  .modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px; /* Scaled from 24px */
  }

  .modal-btn {
    background: #3b82f6;
    color: white;
    padding: 11px 21px; /* Scaled from 8px 16px */
    border-radius: 8px; /* Scaled from 6px */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 19px; /* Scaled from 14px */
  }

  .modal-btn:hover {
    background: #2563eb;
  }

  /* Camera container styles */
  .camera-video-container {
    width: 100%;
    height: 100%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 11px; /* Scaled from 8px */
    overflow: hidden;
  }

  .camera-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-align: center;
    height: 100%;
    width: 100%;
  }

  .placeholder-icon {
    width: 64px; /* Scaled from 48px */
    height: 64px; /* Scaled from 48px */
    margin-bottom: 16px; /* Scaled from 12px */
    stroke: currentColor;
  }

  .placeholder-text {
    font-size: 19px; /* Scaled from 14px */
    font-weight: 500;
  }

  .camera-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    text-align: center;
    height: 100%;
    width: 100%;
  }

  .error-icon {
    width: 64px; /* Scaled from 48px */
    height: 64px; /* Scaled from 48px */
    margin-bottom: 16px; /* Scaled from 12px */
    stroke: currentColor;
  }

  .error-text {
    font-size: 19px; /* Scaled from 14px */
    font-weight: 500;
  }

  .right-camera1 .bg-gray-700,
  .right-camera2 .bg-gray-700,
  .right-camera3 .bg-gray-700 {
    width: 100%;
    height: calc(100%); /* Leave space for camera name */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 11px 11px 0 0; /* Scaled from 8px */
  }

  /* Header Styles */
  .main-header {
    background: var(--color-gray-100);
    padding: 16px; /* Scaled from 12px */
    margin-bottom: 21px; /* Scaled from 16px */
    border-radius: 11px; /* Scaled from 8px */
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1); /* Scaled shadow */
  }

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

  .header-logo {
    height: 43px; /* Scaled from 32px */
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 11px; /* Scaled from 8px */
  }

  .notification-container {
    position: relative;
  }

  .notification-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Scaled from 6px */
    background: white;
    padding: 8px 11px; /* Scaled from 6px 8px */
    color: #374151;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
    position: relative;
  }

  .notification-button:hover {
    background: #d1d5db;
  }

  .notification-icon {
    height: 27px; /* Scaled from 20px */
    width: 27px; /* Scaled from 20px */
  }

  .notification-badge {
    position: absolute;
    top: -5px; /* Scaled from -4px */
    right: -5px; /* Scaled from -4px */
    background: #ef4444;
    color: white;
    font-size: 16px; /* Scaled from 12px */
    width: 21px; /* Scaled from 16px */
    height: 21px; /* Scaled from 16px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .notifications-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 11px); /* Scaled from 8px */
    width: 384px; /* Scaled from 288px */
    border-radius: 8px; /* Scaled from 6px */
    background: var(--color-gray-100);
    box-shadow: 0 13px 20px rgba(0, 0, 0, 0.1); /* Scaled shadow */
    border: 1px solid rgba(59, 130, 246, 0.3);
    z-index: 50;
  }

  .notifications-dropdown.show {
    display: block;
  }

  .dropdown-header {
    padding: 16px; /* Scaled from 12px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  }

  .dropdown-title {
    font-size: 19px; /* Scaled from 14px */
    color: white;
    font-weight: bold;
  }

  .mark-read-btn {
    font-size: 16px; /* Scaled from 12px */
    color: #60a5fa;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mark-read-btn:hover {
    color: #93c5fd;
  }

  .notifications-list {
    max-height: 384px; /* Scaled from 288px */
    overflow-y: auto;
  }

  .notification-item {
    padding: 16px; /* Scaled from 12px */
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    cursor: pointer;
  }

  .notification-item:hover {
    background: rgba(43, 43, 43, 0.1);
  }

  .notification-content {
    display: flex;
    align-items: flex-start;
    gap: 11px; /* Scaled from 8px */
  }

  .notification-dot {
    height: 11px; /* Scaled from 8px */
    width: 11px; /* Scaled from 8px */
    margin-top: 8px; /* Scaled from 6px */
    border-radius: 50%;
    flex-shrink: 0;
    background: #ef4444;
  }

  .notification-dot.blue {
    background: #3b82f6;
  }

  .notification-dot.red {
    background: #ef4444;
  }

  .notification-text {
    flex-grow: 1;
  }

  .notification-message {
    color: white;
    font-size: 19px; /* Scaled from 14px */
    margin: 0 0 5px 0; /* Scaled from 4px */
  }

  .notification-time {
    color: #9ca3af;
    font-size: 16px; /* Scaled from 12px */
    margin: 0;
  }

  .dropdown-footer {
    padding: 11px; /* Scaled from 8px */
    text-align: center;
    border-top: 1px solid rgba(55, 65, 81, 0.5);
  }

  .view-all-link {
    color: #60a5fa;
    font-size: 16px; /* Scaled from 12px */
    text-decoration: none;
  }

  .view-all-link:hover {
    color: #93c5fd;
  }

  .action-buttons {
    display: flex;
    align-items: center;
    gap: 11px; /* Scaled from 8px */
  }

  .action-btn {
    background: white;
    color: #374151;
    font-size: 16px; /* Scaled from 12px */
    padding: 8px 21px; /* Scaled from 6px 16px */
    border-radius: 8px; /* Scaled from 6px */
    transition: background-color 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
  }

  .action-btn:hover {
    background: #d1d5db;
  }

  /* Project Banner Styles */
  .project-banner {
    margin-bottom: 21px; /* Scaled from 16px */
    padding: 16px; /* Scaled from 12px */
    border-radius: 16px; /* Scaled from 12px */
    background: var(--color-gray-100);
  }

  .banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px; /* Scaled from 24px */
  }

  .date-selector-container {
    width: auto;
  }

  .date-selector-wrapper {
    position: relative;
    max-width: 307px; /* Scaled from 230px */
  }

  .date-selector {
    width: 100%;
    background: var(--color-gray-100);
    color: white;
    font-size: 21px; /* Scaled from 16px */
    padding: 11px 21px 11px 53px; /* Scaled from 8px 16px 8px 40px */
    border-radius: 8px; /* Scaled from 6px */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1); /* Scaled shadow */
  }

  .date-selector:hover {
    border-color: white;
  }

  .date-selector:focus {
    outline: none;
    ring: 2px;
    ring-offset: 2px;
    ring-color: #60a5fa;
  }

  .dropdown-arrow {
    pointer-events: none;
    position: absolute;
    top: 57%;
    left: 16px; /* Scaled from 12px */
    transform: translateY(-50%);
    color: white;
  }

  .dropdown-arrow svg {
    height: 27px; /* Scaled from 20px */
    width: 27px; /* Scaled from 20px */
  }

  .banner-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px; /* Scaled from 24px */
    flex: 1;
  }

  .project-title {
    text-align: center;
    font-size: 43px; /* Scaled from 32px */
    font-weight: bold;
    color: white;
    margin: 0;
  }

  .right-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px; /* Scaled from 16px */
  }

  .right-logo {
    height: 107px; /* Scaled from 80px */
  }

  /* Loading styles */
  .camera-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 19px; /* Scaled from 14px */
    z-index: 10;
  }

  .loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .loading-spinner {
    width: 43px; /* Scaled from 32px */
    height: 43px; /* Scaled from 32px */
    border: 3px solid #ffffff; /* Scaled from 2px */
    border-top: 3px solid transparent; /* Scaled from 2px */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 11px; /* Scaled from 8px */
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  /* LOS Modal Styles */
  .los-legend-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 27px; /* Scaled from 20px */
    padding: 16px; /* Scaled from 12px */
    background: var(--color-gray-200);
    border-radius: 11px; /* Scaled from 8px */
  }

  .los-legend-item {
    display: flex;
    align-items: center;
    gap: 11px; /* Scaled from 8px */
  }

  .los-badge {
    padding: 5px 11px; /* Scaled from 4px 8px */
    border-radius: 5px; /* Scaled from 4px */
    font-size: 16px; /* Scaled from 12px */
    font-weight: bold;
    min-width: 40px; /* Scaled from 30px */
    text-align: center;
  }

  .los-a-d {
    background: #10b981;
    color: white;
  }

  .los-e {
    background: #f59e0b;
    color: white;
  }

  .los-f {
    background: #ef4444;
    color: white;
  }

  .los-label {
    color: white;
    font-size: 19px; /* Scaled from 14px */
  }

  .los-table-container {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 21px; /* Scaled from 16px */
    border: 1px solid rgba(55, 65, 81, 0.3);
    border-radius: 11px; /* Scaled from 8px */
  }

  .los-table {
    width: 100%;
    font-size: 19px; /* Scaled from 14px */
    border-collapse: collapse;
  }

  .los-table thead th {
    background: var(--color-gray-200);
    color: #9ca3af;
    border-bottom: 1px solid #374151;
    padding: 16px 11px; /* Scaled from 12px 8px */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .los-table thead th:first-child {
    text-align: right;
  }

  .los-table tbody td {
    color: white;
    padding: 16px 11px; /* Scaled from 12px 8px */
    text-align: center;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  }

  .los-table tbody td:first-child {
    text-align: right;
    font-weight: 500;
  }

  .los-table tbody tr:hover {
    background: rgba(55, 65, 81, 0.2);
  }

  .floor-badge {
    padding: 3px 11px; /* Scaled from 2px 8px */
    border-radius: 5px; /* Scaled from 4px */
    font-size: 16px; /* Scaled from 12px */
    font-weight: 500;
  }

  .floor-ground {
    background: #6366f1;
    color: white;
  }

  .floor-1st {
    background: #8b5cf6;
    color: white;
  }

  .floor-2nd {
    background: #06b6d4;
    color: white;
  }

  .floor-3rd {
    background: #10b981;
    color: white;
  }

  .floor-4th {
    background: #f59e0b;
    color: white;
  }

  .loading-cell {
    text-align: center !important;
    padding: 27px !important; /* Scaled from 20px */
  }

  .los-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 21px; /* Scaled from 16px */
    margin-top: 21px; /* Scaled from 16px */
  }

  .pagination-btn {
    background: #3b82f6;
    color: white;
    padding: 8px 16px; /* Scaled from 6px 12px */
    border-radius: 5px; /* Scaled from 4px */
    border: none;
    cursor: pointer;
    font-size: 19px; /* Scaled from 14px */
    transition: background-color 0.2s;
  }

  .pagination-btn:hover:not(:disabled) {
    background: #2563eb;
  }

  .pagination-btn:disabled {
    background: #6b7280;
    cursor: not-allowed;
  }

  .page-info {
    color: white;
    font-size: 19px; /* Scaled from 14px */
  }

  /* LOS Modal Filters */
  .los-filters-container {
    display: flex;
    gap: 27px; /* Scaled from 20px */
    margin-bottom: 27px; /* Scaled from 20px */
    padding: 21px; /* Scaled from 16px */
    background: var(--color-gray-200);
    border-radius: 11px; /* Scaled from 8px */
    align-items: end;
  }

  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Scaled from 6px */
  }

  .filter-label {
    color: white;
    font-size: 19px; /* Scaled from 14px */
    font-weight: 500;
  }

  .filter-select {
    background: var(--color-gray-100);
    color: white;
    font-size: 19px; /* Scaled from 14px */
    padding: 11px 16px; /* Scaled from 8px 12px */
    border-radius: 8px; /* Scaled from 6px */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s;
    cursor: pointer;
    min-width: 200px; /* Scaled from 150px */
  }

  .filter-select:hover {
    border-color: white;
  }

  .filter-select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2); /* Scaled from 2px */
  }

  .chart-dropdown {
    display: none;
    position: absolute;
    top: 60px; /* Scaled from 45px */
    right: 11px; /* Scaled from 8px */
    width: 240px; /* Scaled from 180px */
    border-radius: 8px; /* Scaled from 6px */
    background: var(--color-gray-100);
    box-shadow: 0 13px 20px rgba(0, 0, 0, 0.1); /* Scaled shadow */
    border: 1px solid rgba(59, 130, 246, 0.3);
    z-index: 20;
    overflow: hidden;
  }

  .chart-dropdown.show {
    display: block;
  }

  .chart-dropdown-content {
    padding: 5px; /* Scaled from 4px */
  }

  .chart-dropdown-item {
    display: block;
    width: 100%;
    padding: 11px 16px; /* Scaled from 8px 12px */
    color: white;
    text-decoration: none;
    font-size: 19px; /* Scaled from 14px */
    border-radius: 5px; /* Scaled from 4px */
    transition: background-color 0.2s;
    margin: 0;
    box-sizing: border-box;
  }

  .chart-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
  }

  .chart-dropdown-item:active {
    background: rgba(59, 130, 246, 0.3);
  }

  /* Ensure dropdown appears above other elements */
  .right-chart1,
  .right-chart2 {
    z-index: 1;
  }

  .view-camera-btn {
    background: #3b82f6;
    color: white;
    padding: 5px 16px; /* Scaled from 4px 12px */
    border-radius: 5px; /* Scaled from 4px */
    border: none;
    cursor: pointer;
    font-size: 16px; /* Scaled from 12px */
    transition: background-color 0.2s;
    font-family: "AvenirNextArabic", sans-serif;
  }

  .view-camera-btn:hover {
    background: #2563eb;
  }

  .view-camera-btn:active {
    background: #1d4ed8;
  }

  /* Ensure the action column has appropriate width */
  .cameras-table thead th:last-child,
  .cameras-table tbody td:last-child {
    width: 107px; /* Scaled from 80px */
    min-width: 107px; /* Scaled from 80px */
  }

  .all-notifications-list {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 27px; /* Scaled from 20px */
  }

  .all-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 16px; /* Scaled from 12px */
    padding: 21px; /* Scaled from 16px */
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .all-notification-item:hover {
    background: rgba(43, 43, 43, 0.1);
  }

  .all-notification-item.unread {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6; /* Scaled from 3px */
  }

  .all-notification-icon {
    flex-shrink: 0;
    width: 53px; /* Scaled from 40px */
    height: 53px; /* Scaled from 40px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px; /* Scaled from 4px */
  }

  .all-notification-icon.capacity-warning {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
  }

  .all-notification-icon.los-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
  }

  .all-notification-icon svg {
    width: 27px; /* Scaled from 20px */
    height: 27px; /* Scaled from 20px */
  }

  .all-notification-content {
    flex: 1;
    min-width: 0;
  }

  .all-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 11px; /* Scaled from 8px */
  }

  .all-notification-title {
    color: white;
    font-size: 21px; /* Scaled from 16px */
    font-weight: 600;
    margin: 0;
  }

  .all-notification-time {
    color: #9ca3af;
    font-size: 16px; /* Scaled from 12px */
    white-space: nowrap;
  }

  .all-notification-message {
    color: #d1d5db;
    font-size: 19px; /* Scaled from 14px */
    line-height: 1.5;
    margin: 0;
  }

  .all-notification-floor {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 3px 11px; /* Scaled from 2px 8px */
    border-radius: 16px; /* Scaled from 12px */
    font-size: 16px; /* Scaled from 12px */
    font-weight: 500;
    margin-top: 11px; /* Scaled from 8px */
  }

  .notifications-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 21px; /* Scaled from 16px */
    padding: 21px 0; /* Scaled from 16px */
    border-top: 1px solid rgba(55, 65, 81, 0.3);
  }

  .all-notifications-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 53px; /* Scaled from 40px */
    color: #9ca3af;
  }

  .all-notifications-loading .loading-spinner {
    width: 43px; /* Scaled from 32px */
    height: 43px; /* Scaled from 32px */
    border: 3px solid #374151; /* Scaled from 2px */
    border-top: 3px solid #60a5fa; /* Scaled from 2px */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px; /* Scaled from 12px */
  }

  .all-notifications-empty {
    text-align: center;
    padding: 53px; /* Scaled from 40px */
    color: #9ca3af;
  }

  .all-notifications-error {
    text-align: center;
    padding: 53px; /* Scaled from 40px */
    color: #ef4444;
  }

  .camera-video-container {
    width: 100%;
    height: 100%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 11px; /* Scaled from 8px */
    overflow: hidden;
  }

  .camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .camera-name {
    position: absolute;
    bottom: 8px; /* Scaled from 6px */
    right: 8px; /* Scaled from 6px */
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 11px; /* Scaled from 4px 8px */
    border-radius: 5px; /* Scaled from 4px */
    font-size: 16px; /* Scaled from 12px */
    z-index: 10;
    font-weight: 500;
  }

  .camera-name-text {
    color: white;
    font-weight: 500;
  }

  .camera-marker-label {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    font-family: "Avenir Next Arabic", Arial, sans-serif !important;
    letter-spacing: 0.3px !important;
    /* Position the label above the marker with enhanced spacing */
    transform: translateY(-20px) !important;
    /* Add background with border for better visibility */
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8),
      rgba(30, 30, 30, 0.9)
    ) !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px) !important;
    /* Add subtle animation */
    transition: all 0.3s ease !important;
    /* Ensure proper z-index */
    z-index: 1000 !important;
    /* Add slight glow effect */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  /* Hover effect for camera marker labels */
  .camera-marker-label:hover {
    transform: translateY(-22px) scale(1.05) !important;
    background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.9),
      rgba(37, 99, 235, 0.9)
    ) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  }
}
