/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/*  scroll */

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ddd;

}

::-webkit-scrollbar {
    width: 6px;
    background-color: #ddd;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #1f5849;
}


body {
    font-family: "Noto Sans Arabic", sans-serif;
    /* font-family: "Anton", sans-serif; */
    color: #fff;

}

.page-wrapper {
    background-size: contain;
    background-position: 125%;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    min-height: 100vh;
    background-color: #ffffff;
}

.header {
    background-color: #1f5849;
    padding: 10px;
}

.header .logo {
    height: 55px;
    margin-right: 20px;
    max-width: 100%;
}

.header_text {
    border-left: 1px solid #ffffff40;
    padding-right: 20px;
    padding-left: 20px;
}

.header h5 {
    font-weight: bold;
    font-size: 17px;
    color: #fff;
    margin: 0 0;
}

.header h4 {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    margin: 2px 0 0;
}

.header p {
    font-size: 9px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.header h5 span {
    font-size: 13px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.7);
}

.header .list_text h6 {
    font-size: 11px;
    color: #ffffff;
    margin: 0;
    font-weight: bold;
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 11px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header .list_text h6 small {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: 0.5px;
    padding-right: 10px;
}

.header .dot {
    width: 5px;
    height: 5px;
    background-color: #FF5A4D;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 4px;
}


.reset-strip {
    background: #ece5dd;
    border-bottom: 1px solid #e4dcd2;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #4a5754;
    flex-shrink: 0;
}

.reset-strip i {
    color: #1f5849;
    font-size: 15px;
    margin-right: 5px;
}

/* clock */
#digital-clock {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-family: math;
    letter-spacing: 1px;
}

/* title*/
.main-key .title small {
    color: #8a8f8c;
    background: #f4efeb;
    border-radius: 7px;
    font-size: 11px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-weight: 100;
    float: right;
    margin-top: 2px;
}

.main-key .title {
    font-size: 12px;
    color: #1f5849;
    margin: 0;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 3px;
}

.main-key .title .dot {
    width: 5px;
    height: 5px;
    background-color: #1f5849;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 4px;
}

.box_text_title h6 {
    color: #1f5849;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
}

/*   dashboard  */
.dashboard {
    padding: 8px 0px;
    background-color: #f4efeb;
}

.dashboard .box {
    padding: 20px 14px;
    border: 1px solid #e4dcd2;
    border-radius: 10px;
    margin-top: 6px;
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.dashboard .box:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1f5849;
}

.dashboard .box h6 {
    margin-bottom: 6px;
    font-size: 10px;
    color: #4a5754 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.dashboard .box h6 i {
    margin-left: 5px;
    opacity: .5;
    font-size: 10px;
}

.dashboard .box h5 {
    font-size: 30px;
    color: #1a2624;
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard .float {
    color: #1f5849;
    background: rgba(44, 122, 92, 0.08);
    border-radius: 7px;
    font-size: 11px;
    padding: 5px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-weight: 600;
}

.dashboard .float.negative {
    background-color: #f4efeb;
}

.dashboard .box .icon {
    background-color: #1f5849;
    border-radius: 7px;
    color: #ffffff;
    font-size: 12px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard .float i {
    margin-right: 5px;
}

.dashboard .box2 {
    padding: 1dvh 14px;
    border: 1px solid #e4dcd2;
    border-radius: 10px;
    margin-top: 6px;
    background-color: #fff;
}

.dashboard .box2 .progress {
    background-color: #ddd;
    height: 6px;
    border-radius: 50px;
}

.dashboard .box2 .progress .progress-bar {
    background-color: #1f5849 !important;
}

.dashboard .box2 .progress.blue .progress-bar {
    background-color: #5aa4fd !important;
}

.dashboard .box2 .progress.yellow .progress-bar {
    background-color: #febf26 !important;
}

.dashboard .box2 .progress.red .progress-bar {
    background-color: #e64944 !important;
}

.dashboard .box2 h6 {
    color: #1f5849;
    font-weight: bold;
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    margin-top: 10px;
    opacity: 0.8;
}

.dashboard .box2 h6 span {
    color: #1f5849;
    font-size: 13px;
    font-weight: bold;
    float: right;
}

.dashboard h1 {
    font-weight: bold;
    font-size: 22px;
    text-shadow: 0 0 2px #fff;
    margin-bottom: 20px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .dashboard h1 {
        margin-top: 20px;
    }

    .header_text {
        display: none;
    }
}

.dashboard .box_text_title.two h6 {
    color: #000;
}

.dashboard .box_text_title.two .box:after {
    background: #000;
}

.dashboard .box_text_title.two .box h5 {
    color: #000;
}

.dashboard .box_text_title.two .box .icon {
    background-color: #767676;
}

/* news */
.news {
    max-height: 100%;
    overflow: hidden;
    padding-right: 4px;
    padding-top: 2px;
    margin-top: 13px;
    display: flex;

}

.news-track {
    display: flex;
    width: max-content;
    will-change: transform;
    gap: 10px;
}

/* توقف الحركة عند الـ Hover */
.news:hover .news-track {
    animation-play-state: paused !important;
}

/* تعريف الأنميشن */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.news .profile {
    padding: 10px;
    border: 1px solid #e4dcd2;
    border-radius: 6px;
    background-color: #fbf8f4;
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    min-width: 300px;
}

.news .profile:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1f5849;
}

.news .profile.neutral:after {
    background: #8c7341;
}

.news .profile.negative:after {
    background: #c8332c;
}

.news .profile img.account {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    margin-right: 10px;
    border: 1px solid #1f5849;
    object-fit: cover;
}

.news .profile p {
    font-size: 8px;
    color: #1f5849;
    margin: 0;
    font-weight: bold;
}

.news .profile h4 {
    font-size: 10px;
    color: #1a2624;
    margin-bottom: 0;
    font-weight: bold;
}

.news .profile .float_new {
    font-size: 10px;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    color: #44b28f;
}

.news .profile .badge .label {
    background-color: #2c7a5c1a;
    border-radius: 50px;
    color: #2c7a5c;
    font-size: 10px;
    padding: 3px 9px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-weight: 700;
}

.news .profile .float_new .label.yellow,
.news .profile .badge .label.yellow {

    background-color: rgba(201, 163, 111, 0.18);
    color: #8c7341;
}

.news .profile .float_new .label.red,
.news .profile .badge .label.red {
    background-color: #c8332c1a;
    color: #c8332c;
}

a {
    text-decoration: unset;
}

.news .profile h6 {
    font-weight: 500;
    font-size: 11px;
    color: #1a2624;
}

.news .footer_card {
    font-size: 9px;
    font-weight: bold;
    border-top: 1px solid #1f5849;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-left: 2px;
}

.news .footer_card img {
    width: 15px;
    margin-right: 5px;
}

.news .footer_card .text {
    color: #1a2624;
    font-size: 10px;
    text-align: end;
    padding-right: 17px;
}

/* map */
#map {
    height: 350px;
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
}

/* دائرة الوميض */
.glow {
    width: 14px;
    height: 14px;
    background: #e6ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(180, 255, 255, 1),
    0 0 20px rgba(180, 255, 255, 0.9),
    0 0 40px rgba(180, 255, 255, 0.6);
    animation: pulse 1.8s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.2;
    }
}


.map_box_text .stats-container {
    position: absolute;
    top: 10px;
    right: 0px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map_box_text .stat-card {
    background: white;
    padding: 4px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 180px;
    border: 1px solid #eee;
}

.map_box_text .stat-label {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map_box_text .stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #1d4d3f;
}

.map_box_text .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* مفتاح الخريطة في الأسفل */
.map-legend {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 7px 10px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #444;
}

.color-box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
}

/* .sentiment_chart */

.sentiment_chart .stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
}

.sentiment_chart .stat-card {
    background: #fdfaf5;
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 9px 10px 5px;
    width: 31%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sentiment_chart .stat-card.positive {
    border-top: 5px solid #2d6a4f;
}

.sentiment_chart .stat-card.neutral {
    border-top: 5px solid #c4a46c;
}

.sentiment_chart .stat-card.negative {
    border-top: 5px solid #bc2f26;
}

.sentiment_chart .label {
    color: #666;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
}

.sentiment_chart .percentage {
    font-size: 23px;
    font-weight: bold;
    display: block;
    margin-bottom: -5px;
    margin-top: -3px;
}

.sentiment_chart .count {
    color: #888;
    font-size: 14px;
}

.sentiment_chart .pos-text {
    color: #2d6a4f;
}

.sentiment_chart .neu-text {
    color: #c4a46c;
}

.sentiment_chart .neg-text {
    color: #bc2f26;
}
