@font-face {
    font-family: "cairo-play";
    src: url("../fonts/CairoPlay.ttf");
}

@font-face {
    font-family: "redexpro";
    src: url("../fonts/redexpro.ttf");
}

@font-face {
    font-family: "changa";
    src: url("../fonts/Changa.ttf");
}

body {
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-image: linear-gradient(to bottom right, #94c0ff, white);
    font-family: "redexpro";

}

.site-title{
    font-family:"cairo-play" ;
}

.site-title h3{
    font-family: "changa";
}

.err-txt {
    font-size: 12px !important;
    color: rgb(192, 33, 33);
}

.side-nav .nav-item{
    border-radius: 10px;
    padding: 5px 10px;
    margin: 2px;
    background: #666666;
}

.side-nav .nav-item:hover{
    background: #999696;
}

.side-nav .nav-item a,.side-nav .nav-item i{
    font-size: 18px;
    color: white;
  
  }
.vote-block{
    border: 1px solid #94c0ff;
    
    border-radius: 15px;
    padding: 19px;
    background: #fdfdfd;
    line-height: 39px;
    box-shadow: 1px 1px 10px 3px #dfdfdf;
}
.custom-horizontal-line {
    width: 55%; /* عرض الخط */
    height: 4px; /* سمك الخط */
    background-color: #2d415d; /* لون الخط */
    margin: 20px auto; /* المسافة بين الخط والعناصر الأخرى */
    border: none; /* إزالة الحدود */
  }


.active_link{
    background: #94c0ff !important;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #C0C0C0;
}

.info-value {
    font-weight: 600;
    color: #343a40;
}

/* تحسين شريط التنقل (الشهور) */
.pagination .page-item .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 8px !important;
    color: #495057;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pagination .page-item .page-link.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.logo {
      width: 80px;
      margin: auto;

}

.logo img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
      box-shadow: 0px 0px 3px #5f5f5f,
        0px 0px 0px 5px #ecf0f3,
        8px 8px 15px #a7aaa7,
        -8px -8px 15px #fff;
}
    
    
.page-not-found {
    background-color: #3f51b5;
    height: 100vh;
}
.page-not-found h2 {
    font-size: 130px;
    color: #e91e63;
}
.page-not-found h3 {
    font-size: 42px;
}
.page-not-found .bg-light {
    width: 50%;
    padding: 50px;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width:  767px) {
    .page-not-found h2 {
        font-size: 100px;
    }
    .page-not-found h3 {
        font-size: 28px;
    }
    .page-not-found .bg-light {
        width: 100%;
    }
}

.password-toggle-icon {
    position: absolute;
    left: 15px; /* المسافة من اليسار */
    top: 50%;   /* لتوسيطها عمودياً */
    transform: translateY(-50%); /* لضمان التوسيط الدقيق */
    cursor: pointer;
    color: #6c757d; /* لون رمادي هادئ */
    z-index: 10;    /* لضمان ظهورها فوق الحقل */
    transition: color 0.3s ease;
}

.password-toggle-icon:hover {
    color: #0d6efd; /* يتغير اللون عند تمرير الماوس */
}

#toggleIcon {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      z-index: 10;
      color: #6c757d;
    
      /* الإخفاء الافتراضي */
      display: none;
} 
    
#toggleIcon:hover {
      color: #333; /* تغميق اللون عند مرور الفأرة */
}

/* لمنع تداخل النص */
.form-floating > .form-control {
      padding-left: 45px;
}