/* ============================================
   Cookie Consent & Cookie Modal Styles
   ============================================ */

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  transition: bottom 0.4s ease-in-out;
  border-top: 3px solid #e94560;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 300px;
}

.cookie-icon {
  font-size: 40px;
  color: #e94560;
  animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-5deg); }
  75% { transform: translateY(-5px) rotate(5deg); }
}

.cookie-text h4 {
  color: #ffffff;
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.cookie-text p {
  color: #b8b8d1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-link {
  color: #e94560;
  text-decoration: underline;
  transition: color 0.3s;
}

.cookie-link:hover {
  color: #ff6b8a;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #e94560 0%, #ff6b8a 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.cookie-btn-decline {
  background: transparent;
  color: #b8b8d1;
  border: 2px solid #b8b8d1;
}

.cookie-btn-decline:hover {
    background: #495057;
    color: #ffffff;
    border-color: #fff;
}

/* Cookie Modal Styles */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-modal.show {
  display: flex;
  opacity: 1;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: translateY(0);
}

.cookie-modal-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.cookie-modal-close:hover {
  opacity: 1;
}

.cookie-modal-body {
  padding: 25px;
  max-height: 400px;
  overflow-y: auto;
}

.cookie-policy-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cookie-policy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-policy-section h5 {
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-policy-section p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.cookie-modal-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #eee;
}

/* Cookie Responsive Design */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 15px;
  }
  
  .cookie-consent-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: center;
  }
  
  .cookie-icon {
    font-size: 35px;
  }
  
  .cookie-text h4 {
    font-size: 16px;
  }
  
  .cookie-text p {
    font-size: 13px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .cookie-modal-content {
    max-height: 90vh;
  }
  
  .cookie-modal-body {
    max-height: 50vh;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}
