﻿html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: #e0edf8;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 100%;
    font-weight: 400;
    direction: rtl;
    text-align: right;
}

h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    color: #4d4b4b;
    margin: 60px 0 30px 0;
}

table {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    direction: rtl;
    text-align: right;
}

/* Multi table */
.multi-table table {
    box-shadow: none;
    margin-bottom: 40px;
}

.multi-table thead {
    margin-top: 40px;
}

/* End Multi table */

thead #sortColumn {
    height: 40px;
}

table .head {
    background: #126740 url("../images/sort.gif") no-repeat scroll right center;
    cursor: pointer;
    padding-right: 18px;
}

table .selectbackground {
    background-color: #0b9046;
}

table .desc {
    background: #019DD8 url(../images/desc.gif) right center no-repeat;
    cursor: pointer;
    padding-right: 18px;
}

table .asc {
    background: #019DD8 url(../images/asc.gif) right center no-repeat;
    cursor: pointer;
    padding-right: 18px;
}

.nameSheet {
    font-size: 20px;
    background-color: #019DD8;
    color: #fff;
}

table tr:hover {
    background-color: #d4e3e5;
}

tr:nth-child(even) {
    background: #ECF2F6;
}

tr:nth-child(odd) {
    background: #FFF;
}

.nameColumn {
    font-size: 16px;
    padding: 5px;
    color: #fff;
    cursor: pointer;
    height: 45px;
    border: 1px solid #125c36;
}

.title-table {
    font-size: 26px;
    font-weight: 400;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    background-color: #0b9046;
}

.content_value i {
    margin: 3px 3px 0 5px;
    color: #333;
    float: right;
}

.content_value {
    border: 1px solid #C6D5E1;
    height: 50px;
    direction: rtl;
    text-align: right;
}

.content_divtxt {
    float: right;
    margin-right: 3px;
}

#drop {
    border: 2px dashed #bbb;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    color: #bbb;
}

/* Css Maps */
#map-canvas {
    height: 100%;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#map-canvas img {
    max-width: none;
}

/* table for mobile تنسيق */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
	padding-right: 16px;
}

#contentTable {
    direction: rtl;
}

.scroll-hint {
    display: none;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}


@keyframes scrollHint {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(-10px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

.scroll-hint span {
    display: inline-block;
    animation: scrollHint 1.5s infinite;
}

/* إظهار التنبيه فقط على الشاشات الصغيرة */
@media (max-width: 768px) {
    .scroll-hint {
        display: block;
    }
}

/* اختياري: شريط التمرير أو ظل */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 3px;
}

.bold-green {
    color: #2e7d32 !important;
    font-weight: bold;
}

.bold-lime {
    color: #43a047 !important;
    font-weight: bold;
}

.bold-orange {
    color: #ef6c00 !important;
    font-weight: bold;
}

.bold-red {
    color: #c62828 !important;
    font-weight: bold;
}

/* أسهم الاتجاه */
.arrow-up::before {
    content: "↑ ";
    color: #2e7d32;
}

.arrow-down::before {
    content: "↓ ";
    color: #c62828;
}