:root {
    --primary-color: #023e8a;
    --secodary-color: #b3b3b3;
    --title-color: #fff ;
    --modern-gradient: -webkit-linear-gradient(103deg, rgba(2, 0, 36, 1) 0%, rgb(255 51 125 / 12%) 0%, rgb(76 84 115) 100%);
    --action-bg: linear-gradient(45deg, rgba(2,0,36,1) 0%, rgba(217,76,145,0.7176995798319328) 0%, rgba(58,175,225,0.47120098039215685) 100%);
  }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1d1d1d;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 50px;
    z-index: 999999;
    opacity: 0;
    animation: float-up 0.5s ease-out forwards;
    display: flex;
    justify-content: center;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width:1500px;
}

.cookie-controls .cookie-btn {
    margin: 0 5px;
    padding: 10px 25px;
    background: var(--action-bg);
    color: #fff;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-controls .cookie-btn:hover {
  background: var(--modern-gradient);
}

.cookie-preferences {
  display: none;
  flex-direction: column;
}

.cookie-preferences.hidden {
  display: none !important;
}

.cookie-preferences label {
  margin: 5px 0;
}
.cookie-controls{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cookie-maintext {
    width: 80%;
}
.cookie-maintext p{
    font-size: 16px;
}
@keyframes float-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}





@media (max-width: 768px) {
.cookie-banner {
    bottom: -1px;
    padding: 40px 0px;
}
.cookie-maintext {
    width: 90%;
}
.cookie-content {
    flex-direction: column;
    gap: 20px;
}
  .cookie-content {
    flex-direction: column;
  }
  .cookie-controls {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 10px;
  }
  .cookie-controls .cookie-btn {
    margin: 0;
  }
  .cookie-controls .cookie-btn {
    font-size: 12px;
    font-weight: 400;
}
}


/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  background: #1d1d1d;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 400px;
  max-width: 90%;
  text-align: center;
}
h3{
    color:#fff;
    font-weight: 500;
}
.modal-body label {
    margin: 16px 30px;
    vertical-align: middle;
    align-items: center;
    display: flex;
    font-size: 14px;
}
.modal-body{
    padding: 20px 0;
}
.modal-footer {
  margin-top: 20px;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal.visible {
  opacity: 1;
  visibility: visible;
}

.modal-footer button {
    padding: 8px 15px;
    background: var(--action-bg);
    color: #fff;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
    border-radius: 5px;
}
.modal-footer button:hover{
    background: var(--modern-gradient);
}
.modal-footer {
    margin-top: 20px;
    gap: 5px;
    display: flex;
}
@media (max-width: 768px) {
.modal-footer button {
    font-size: 10px;
}
}

@media (min-width:1500px) {
.cookie-maintext {
    width:60%;
}
.cookie-maintext p{
    font-size: 18px;
}
}