@font-face {
	  font-family: 'Tajawal';
	  src: url('../fonts/Tajawal-Regular.ttf') format('truetype');
	  font-weight: normal;
	  font-style: normal;
	}
    body {
        padding-top: 56px;
		font-family: 'Tajawal', sans-serif;
    } 
	.framework {
		height:  100% ;
		padding-left:1px;
		padding-right:1px;
	}
	.framework56 {
		height: calc(100% - 100px );
	}
    #map {
        height: 100%;
        margin-top: 20px;
        border-radius: 5px;
        border: 1px solid #ddd;
    }

    .search-container {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1000;
        width: 300px;
    }

    .viewName-container {
        position: absolute;
        bottom: 10px;
        left: 10px; 
        z-index: 1000;
        background: #fff;
        width: 135px;
		 border: 1px solid #ddd;
		  border-radius: 10px;
		  padding: 10px; 
		  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); /* ظل ناعم */
    } 
    .viewName-container {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 4px;
        margin: 4px 0;
        transition: all 0.3s ease;
    } 
    .viewName-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    } 
    .viewName-buttons button {
        background: none;
        border: 1px solid #ccc;
        border-radius: 3px;
        width: 25px;
        height: 25px;
        margin-left: 5px;
        cursor: pointer;
    } 
    .viewName-buttons button:hover {
        background-color: #f0f0f0;
    } 
    .viewName-container.collapsed ul {
        display: none;
    } 
    .banner {
        height: 100px;
        background-color: #f8f9fa;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    } 
    .footer {
        background-color: #343a40;
        color: white;
        padding: 4px 0;
		margin-top: 0px;
    } 
    .custom-icon {
        background: transparent;
        border: none;
    } 
    .leaflet-popup-content i {
        margin-right: 1px;
		color: #f0f0f0;
		font-size: 18px; 
		text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
    } 
     
    ul#ui-id-1 {
        z-index: 9999999;
    } 
    .dual-bg-link {
        display: inline-block;
        padding: 1px 4px; 
        margin: 1px 0;
        border-radius: 8px;
        font-weight: bold;
        color: #fff;
        text-decoration: none;
        background: linear-gradient(to right, var(--left-color, green) 50%, var(--right-color, orange) 50%);
        transition: transform 0.2s ease;
		width: 100%;
		font-size:14px;
    } 
    .dual-bg-link:hover {
        transform: scale(1.03);
        text-decoration: underline;
    }
	 .location-card {
        min-width: 215px;
        padding: 0px;
        border-radius: 12px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
		display: flow-root;
         
    }

    .location-card h6 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #333;
    }

    .status-entry,
    .status-exit {
            padding: 5px 5px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 13px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .status-entry i,
    .status-exit i {
        font-size: 14px;
    }

    .statusClass {
        font-weight: bold;
    }
	 .leaflet-control-livetrack {
      background-color: white;
      padding: 6px 10px;
      font-size: 14px;
      cursor: pointer;
      border: 1px solid #ccc;
      box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    }
	button.btn.btn-sm.btn-dark {
    padding: 0;
    margin: 0;
	width: 30px;
}
/* تخصيص قائمة الحالات */
.dropdown-menu.status-dropdown {
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  font-size: 0.95rem;
}

/* كل عنصر داخلي */
.status-dropdown li {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* رابط داخل العنصر */
.status-dropdown li a.dropdown-item {
  color: #fff;
  display: block;
  padding: 4px 2px;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* تأثير عند المرور */
.status-dropdown li a.dropdown-item:hover {
  filter: brightness(1.1);
}

/* العنصر الأول (عنوان أو خيار غير قابل للنقر) */
.status-dropdown li:first-child {
  background-color: #f8f9fa;
  color: #333;
  font-weight: bold;
  padding: 10px 15px;
  border-bottom: 1px solid #dee2e6;
  text-align: right;
  cursor: default;
}

.status-dropdown li a.dropdown-item:hover {
    color: #000;
}

.status-dropdown li:not(:last-child) {
  border-bottom: 1px solid #333; /* خط فاصل أسود */
}


.dropdown-toggle::after{
	margin-right: .05em;
	border-top: .5em solid;
    border-left: .4em solid transparent;
    border-bottom: 0;
    border-right: .4em solid transparent;
}

.banner-container {
            /* Optional: Add some padding or background to see the container */
            background-color: #f0f0f0;
            padding: 10px;
        }

        .banner-81px-height {
            height: 81px;
            width: 100%; /* Ensure it takes full width of its parent */
            object-fit: cover; /* Crop image to fit without distortion */
            display: block; /* Remove extra space below image */
        }
		.report-button {
      background: white;
      padding: 6px;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .report-button i {
      font-size: 20px;
    }
    .menu-container {
      position: absolute;
      top: 50px;
      right: 10px;
      background: white;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      display: none;
      flex-direction: column;
    }
    .menu-container button {
      margin: 5px 0;
      display: flex;
      align-items: center;
      background: #f7f7f7;
      border: 1px solid #ddd;
      padding: 8px;
      border-radius: 4px;
      cursor: pointer;
    }
    .menu-container button i {
      margin-left: 8px;
    }
	.report-button, .report-option {
      background: white;
      padding: 10px;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      cursor: pointer;
      text-align: center;
    }
    .report-menu {
      position: absolute;
      display: none;
      flex-direction: column;
      gap: 8px;
      top: 50px;
      right: 0px;
    }
    .leaflet-top.leaflet-right .leaflet-control.custom-control {
      position: relative;
    }