/* Cookie Bar Styles */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(15, 20, 25, 0.98) 100%);
  backdrop-filter: blur(20px);
  color: white;
  padding: 15px 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  border-top: 2px solid #48DBD8;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-bar.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #48DBD8;
}

.cookie-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-links {
  display: none;
}

.cookie-links a {
  color: #48DBD8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.cookie-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #48DBD8;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.cookie-links a:hover {
  background: rgba(72, 219, 216, 0.1);
  color: #67e8f9;
}

.cookie-links a:hover::before {
  width: 80%;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-width: auto;
}

.cookie-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cookie-btn:hover::before {
  left: 100%;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #48DBD8, #67e8f9);
  color: white;
  box-shadow: 0 4px 15px rgba(72, 219, 216, 0.3);
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #67e8f9, #48DBD8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 219, 216, 0.4);
}

.cookie-btn-settings {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(72, 219, 216, 0.5);
}

.cookie-btn-settings:hover {
  background: rgba(72, 219, 216, 0.1);
  border-color: #48DBD8;
  color: #67e8f9;
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid #48DBD8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-settings-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  color: #48DBD8;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cookie-settings-close:hover {
  background: rgba(72, 219, 216, 0.1);
  color: #67e8f9;
  transform: rotate(90deg);
}

.cookie-settings-content h2 {
  color: #48DBD8;
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  text-align: center;
}

.cookie-settings-content > p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 30px 0;
  text-align: center;
}

.cookie-settings-options {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cookie-option {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(72, 219, 216, 0.2);
  transition: all 0.3s ease;
}

.cookie-option:hover {
  border-color: rgba(72, 219, 216, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-option h3 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}

.cookie-option p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.4s;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 2px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: #48DBD8;
  border-color: #48DBD8;
}

input:checked + .slider:before {
  transform: translateX(28px);
  background: white;
}

input:disabled + .slider {
  background: #48DBD8;
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-settings-actions {
  margin-top: 30px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cookie-consent-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .cookie-text {
    text-align: center;
    min-width: auto;
  }
  
  .cookie-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .cookie-consent-container {
    padding: 0 15px;
  }
  
  .cookie-text h3 {
    font-size: 1.1rem;
  }
  
  .cookie-text p {
    font-size: 0.85rem;
  }
  
  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .cookie-btn {
    width: 100%;
    max-width: 280px;
    padding: 10px 16px;
  }
  
  .cookie-settings-content {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .cookie-option-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .switch {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .cookie-consent-bar {
    padding: 12px 0;
  }
  
  .cookie-text h3 {
    font-size: 1rem;
  }
  
  .cookie-text p {
    font-size: 0.8rem;
  }
  
  .cookie-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  
  .cookie-settings-content {
    padding: 25px 15px;
    border-radius: 15px;
  }
}