/*!
 * Don Geppi Restaurant - Popup Styles
 * Copyright (c) 2025 Manolo De Angelis - Mdaweb
 * All rights reserved.
 */

/* Privacy Policy Popup Styles */
#privacyPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.privacy-modal {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

.privacy-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
}

.privacy-title {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
}

.privacy-close {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.privacy-close:hover {
  background: #e0e0e0;
  color: #333;
}

.privacy-content {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  line-height: 1.6;
  color: #444;
}

.privacy-content h1, .privacy-content h2, .privacy-content h3 {
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

.privacy-content p {
  margin-bottom: 15px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    transform: translateY(50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive per mobile */
@media (max-width: 768px) {
  .privacy-modal {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
  }
  
  .privacy-header {
    padding: 15px 20px;
  }
  
  .privacy-title {
    font-size: 20px;
  }
  
  .privacy-content {
    padding: 20px;
  }
}