   :root {
    --color-dark: #0A0A14;
    --color-dark-alt: #101021;
    --color-light: #F5F5FA;
    --color-primary: #8A2BE2;
    --color-accent: #00F5D4;
}
#kvkk-modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

#kvkk-modal.modal-hidden {
  display: none;
}

#kvkk-modal.modal-visible {
  display: flex;
}

#kvkk-modal .modal-content {
  background-color: var(--color-dark-alt);
  color: var(--color-light);
  padding: 30px;
  width: 90%;
  max-width: 750px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: fadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 85vh; 
  display: flex; 
  flex-direction: column; 
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px) scale(0.98);}
  to {opacity: 1; transform: translateY(0) scale(1);}
}
#kvkk-modal h2 {
  margin-top: 0;
  margin-bottom: 10px; 
  font-size: 2rem;
  color: var(--color-light);
  flex-shrink: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#kvkk-modal h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-top: 25px;
}

#kvkk-modal p, 
#kvkk-modal li {
    color: rgba(245, 245, 250, 0.8);
    line-height: 1.7;
}

#kvkk-modal ul, 
#kvkk-modal ol {
    padding-left: 25px;
}

.kvkk-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.kvkk-table th, .kvkk-table td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.kvkk-table th {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-light);
  font-weight: 600;
}

.kvkk-table ul {
  padding-left: 18px;
  margin: 0;
}

#kvkk-modal .modal-close {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 32px;
  font-weight: normal;
  transition: color 0.3s ease, transform 0.3s ease;
}

#kvkk-modal .modal-close:hover,
#kvkk-modal .modal-close:focus {
  color: var(--color-accent);
  text-decoration: none;
  cursor: pointer;
  transform: rotate(90deg);
}

#kvkk-modal .modal-footer {
  text-align: right;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  flex-shrink: 0; 
}

#kvkk-modal .modal-footer button {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  color: var(--color-dark);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#kvkk-modal .modal-footer button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

#kvkk-modal .modal-body {
  overflow-y: auto; 
  margin: 15px 0;
  padding-right: 15px;
}

#kvkk-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#kvkk-modal .modal-body::-webkit-scrollbar-track {
  background: var(--color-dark);
  border-radius: 10px;
}

#kvkk-modal .modal-body::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 10px;
}

#kvkk-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-accent);
}