/* Modal Base Styles */
.consent-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Modal Content Styles */
.modal-content {
  background-color: #fff;
  margin: 10vh auto;
  padding: 0;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}

/* Modal Header */
.modal-header {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.logo-title-wrapper {
  text-align: center;
}

.logo-title-wrapper h2 {
  margin: 0;
  color: #1d2327;
  font-size: 1.5em;
  font-weight: 600;
}

/* Modal Body */
.modal-body {
  padding: 20px;
}

.consent-benefits ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.consent-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consent-benefits li:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 1.5em;
  margin-right: 15px;
  min-width: 24px;
}

.benefit-text {
  color: #50575e;
  font-size: 14px;
  line-height: 1.4;
}

.consent-note {
  color: #666;
  font-size: 13px;
  text-align: center;
  margin: 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

/* Modal Footer */
.modal-footer {
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

.modal-footer button {
  margin: 0 5px;
  padding: 6px 16px !important;
  height: auto !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
}

.modal-footer .button-primary {
  background-color: #2271b1;
  border-color: #2271b1;
  color: #fff;
}

.modal-footer .button-primary:hover {
  background-color: #135e96;
  border-color: #135e96;
}

.modal-footer .button-secondary {
  color: #666;
  border-color: #ddd;
  background: #f6f7f7;
}

.modal-footer .button-secondary:hover {
  background: #f0f0f1;
  border-color: #999;
  color: #444;
}

/* Animation Classes */
.consent-modal.show {
  display: block;
  opacity: 1;
}

.consent-modal.show .modal-content {
  transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
  .modal-content {
    width: 90%;
    margin: 15vh auto;
  }

  .modal-footer {
    padding: 15px;
  }

  .modal-footer button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .consent-benefits li {
    padding: 10px;
  }

  .benefit-icon {
    font-size: 1.3em;
  }

  .benefit-text {
    font-size: 13px;
  }
}