@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');
:root{
  --main-color: #A98467;
  --secondary-color: #ADC178;
  --dark-color: #6C584C;
  --light-color: #DDE5B6;
  --background-color: #F0EAD2;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

.PageTitle{
    background-color: var(--background-color);
    font-size: 4rem;
    font-weight: bold;
    color: var(--dark-color);
    margin:auto;
    padding: 25px;
    width: 96%;
    margin: 2%;
    border-radius: 15px;
}

.PageTitle > span{
  font-size: 2rem !important;
  margin-bottom: 2rem;
}

.text-special{
    color: var(--dark-color) !important;
}

.background-special{
    background-color: var(--light-color);
    box-shadow: var(--background-color) 10px 10px 10px;
    width: 96%;
    margin: 2%;
    border-radius: 15px;
    padding: 2%;
}

.text-bg-special{
    color: var(--light-color) !important;
    background-color: var(--dark-color) !important;
} 

nav{
    height: 98%;
    margin: auto;
    margin-right: 10px;
    border-radius: 15px;
    background-color: var(--background-color);
}

.btn-primary{
    background-color: var(--dark-color) !important;
    color: var(--light-color) !important;
    transition: all 0.5 s ease !important;
    border: none;
}
.btn{
    border: none !important;
    font-size: large !important;
}

.btn-primary:hover{
    background-color: var(--light-color) !important;
    color: var(--dark-color) !important;
    border: 2px solid var(--dark-color) !important;
}

hr{
    margin: 0 !important; 
}

.modal-header .btn-close {
    margin-left: calc(-.5 * var(--bs-modal-header-padding-x)) !important;
    margin-right: auto !important;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #TheIndexation, #TheIndexation * ,
  #TheOfferPrice, #TheOfferPrice * {
    visibility: visible !important;
  }

  #TheIndexation .TempContent,
  #TheIndexation .TempContent *,
  #TheOfferPrice .TempContent,
  #TheOfferPrice .TempContent * {
    visibility: hidden !important;
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #TheIndexation, #TheOfferPrice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
}


#root{
  position: relative;
}

#poweredby {
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 100;
  background-color: var(--dark-color);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#poweredby a {
  color: #fff;
  text-decoration: none;
}

#poweredby a:hover {
  text-decoration: underline;
}

#poweredby:hover {
  background-color: var(--secondary-color); /* darker blue for hover */
  transform: scale(1.01);
}
