/* Policy Pages Styles */
:root {
  --primary-color: #2EC4B6;
  --secondary-color: #FF9F1C;
  --accent-color: #E71D36;
  --text-color: #2A2D34;
  --light-bg: #F7F9FC;
  --white: #FFFFFF;
  --gray-light: #E9ECEF;
  --gray: #868E96;
  --shadow: rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

/* Policy Hero Section */
.policy-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a9082 100%);
  color: var(--white);
  padding: 80px 0 40px;
  position: relative;
  text-align: center;
}

.policy-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.policy-subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.policy-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V0C229.7,101.19,177.1,68.66,321.39,56.44Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Policy Container */
.policy-container {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 3fr;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Policy Sidebar */
.policy-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.policy-toc {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  padding: 25px;
  margin-bottom: 30px;
}

.policy-toc h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-light);
}

.policy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-toc ul li {
  margin-bottom: 10px;
}

.policy-toc ul li a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  font-size: 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.policy-toc ul li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.policy-info {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  padding: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item p {
  color: var(--text-color);
  font-size: 15px;
  margin: 0;
}

/* Policy Content */
.policy-content {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  padding: 40px;
}

.policy-section {
  margin-bottom: 45px;
  position: relative;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.section-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(46, 196, 182, 0.15);
  position: absolute;
  top: -15px;
  left: -15px;
  z-index: 0;
}

.policy-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.policy-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.policy-section p, .policy-section li {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.policy-section ul, .policy-section ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.policy-section li {
  margin-bottom: 8px;
}

.alert-box {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--border-radius);
  margin: 25px 0;
}

.alert-box.info {
  background-color: rgba(46, 196, 182, 0.1);
  border-left: 4px solid var(--primary-color);
}

.alert-box.warning {
  background-color: rgba(255, 159, 28, 0.1);
  border-left: 4px solid var(--secondary-color);
}

.alert-icon {
  margin-right: 15px;
  background-color: var(--primary-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-box.warning .alert-icon {
  background-color: var(--secondary-color);
}

.alert-box p {
  margin: 0;
  font-size: 15px;
}

.alert-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

/* Cookie Explanation */
.cookie-explanation {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  margin: 30px 0;
}

.cookie-image {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
}

/* Cookie Types Grid */
.cookies-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.cookie-type {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  position: relative;
}

.cookie-type-icon {
  margin-bottom: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 159, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-type h3 {
  margin-top: 0;
  font-size: 18px;
}

.cookie-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.cookie-badge.required {
  background-color: rgba(231, 29, 54, 0.1);
  color: var(--accent-color);
}

.cookie-badge.optional {
  background-color: rgba(134, 142, 150, 0.1);
  color: var(--gray);
}

/* Control Methods */
.control-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.control-method {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 25px;
}

.control-method h3 {
  margin-top: 0;
  font-size: 18px;
}

/* Cookie Manager Button */
.cookie-manager-button {
  margin: 30px 0;
  text-align: center;
}

.btn-cookie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a9082 100%);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cookie:hover {
  box-shadow: 0 5px 15px rgba(46, 196, 182, 0.4);
  transform: translateY(-2px);
}

/* Cookie Table */
.table-container {
  margin: 25px 0;
  overflow-x: auto;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cookie-table thead {
  background-color: rgba(46, 196, 182, 0.1);
}

.cookie-table th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-color);
  font-size: 15px;
}

.cookie-table td {
  padding: 15px 20px;
  border-top: 1px solid var(--gray-light);
  font-size: 15px;
  color: var(--text-color);
}

.cookie-table tr:hover td {
  background-color: var(--light-bg);
}

/* Responsive Design */
@media (max-width: 991px) {
  .policy-container {
    grid-template-columns: 1fr;
  }
  
  .policy-sidebar {
    position: static;
    margin-bottom: 40px;
  }
  
  .policy-hero h1 {
    font-size: 36px;
  }
  
  .policy-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .policy-content {
    padding: 25px;
  }
  
  .policy-hero {
    padding: 60px 0 30px;
  }
  
  .policy-hero h1 {
    font-size: 30px;
  }
  
  .section-number {
    font-size: 36px;
    top: -10px;
    left: -10px;
  }
  
  .policy-section h2 {
    font-size: 22px;
  }
  
  .cookies-types-grid,
  .control-methods {
    grid-template-columns: 1fr;
  }
  
  .cookie-explanation {
    grid-template-columns: 1fr;
  }
  
  .cookie-image {
    max-width: 100px;
    margin: 0 auto 20px;
  }
}

/* Changes for existing policy pages structure */
.policy-page {
  background-color: var(--light-bg);
}

section.policy-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

section.policy-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section.policy-section h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-color);
}

.last-updated {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 30px;
}

section.policy-section .policy-content {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  padding: 40px;
}

/* Print Styles */
@media print {
  .policy-hero {
    background: none !important;
    color: black;
    padding: 20px 0;
  }
  
  .policy-wave {
    display: none;
  }
  
  .policy-container {
    display: block;
    padding: 0;
  }
  
  .policy-sidebar {
    display: none;
  }
  
  .policy-content {
    box-shadow: none;
    padding: 0;
  }
  
  .section-number {
    color: #ddd;
  }
} 