/*Cookies*/
  .cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 1%;
    width: 90%;
    max-width: 500px;
    background: #F5F5F5;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 20px 24px;
    z-index: 10000;
    display: none;
  }

  .cookie-popup h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111827;
  }

  .cookie-popup p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px 0;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cookie-buttons button {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }

  .cookie-buttons button:first-child {
    background: white;
    border: 1px solid #209BDE;
    color: #209BDE;
  }

  .cookie-buttons button:first-child:hover {
    opacity: 0.9;
  }

  .cookie-buttons button:nth-child(2) {
    background: white;
    border: 1px solid #209BDE;
    color: #209BDE;
  }

  .cookie-buttons button:nth-child(2):hover {
    opacity: 0.9;
  }

  .cookie-buttons .accept {
    background: #209BDE;
    color: white;
    border: none;
  }

  .cookie-buttons .accept:hover {
    background: #209BDE;
    opacity: 0.9;
  }

 #cookieModal {
      position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    }

    #cookieModal .cookie-modal {
      background: white;
      border-radius: 16px;
      width: 90%;
      max-width: 850px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    #cookieModal .modal-header {
      padding: 24px 28px 16px;
      border-bottom: 1px solid #e5e7eb;
      position: sticky;
      top: 0;
      background: white;
    }

    #cookieModal .modal-header h2 {
      font-size: 24px;
      font-weight: 600;
      color: #111827;
    }

    #cookieModal .modal-content {
      padding: 20px 28px;
    }

    #cookieModal .modal-footer {
      padding: 20px 28px 28px;
      border-top: 1px solid #e5e7eb;
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      background: white;
      position: sticky;
      bottom: 0;
    }

    #cookieModal .cookie-category {
      margin-bottom: 32px;
      border-bottom: 1px solid #f0f0f0;
      padding-bottom: 24px;
    }

    #cookieModal .cookie-category:last-child {
      border-bottom: none;
    }

    #cookieModal .category-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    #cookieModal .category-title {
      font-size: 18px;
      font-weight: 600;
      color: #1f2937;
    }

    #cookieModal .badge-necessary {
      background: #e5e7eb;
      color: #4b5563;
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 20px;
      margin-left: 10px;
    }

    #cookieModal .toggle-switch {
      position: relative;
      display: inline-block;
      width: 52px;
      height: 28px;
    }

    #cookieModal .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    #cookieModal .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.3s;
      border-radius: 34px;
    }

    #cookieModal .slider:before {
      position: absolute;
      content: "";
      height: 22px;
      width: 22px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: 0.3s;
      border-radius: 50%;
    }

    #cookieModal input:checked+.slider {
      background-color: #209BDE;
    }

    #cookieModal input:checked+.slider:before {
      transform: translateX(24px);
    }

    #cookieModal input:disabled+.slider {
      background-color: #9ca3af;
      opacity: 0.6;
      cursor: not-allowed;
    }

    #cookieModal .category-description {
      font-size: 14px;
      color: #6b7280;
      line-height: 1.5;
      margin-bottom: 16px;
    }

    #cookieModal .cookie-table-wrapper {
      overflow-x: auto;
    }

    #cookieModal .cookie-table {
      width: 100%;
      font-size: 13px;
      border-collapse: collapse;
      background: #f9fafb;
      border-radius: 8px;
      overflow: hidden;
    }

    #cookieModal .cookie-table th,
    #cookieModal .cookie-table td {
      padding: 10px 12px;
      text-align: left;
      border-bottom: 1px solid #e5e7eb;
    }

    #cookieModal .cookie-table th {
      background: #f3f4f6;
      font-weight: 600;
      color: #374151;
    }

    #cookieModal .cookie-table tr:last-child td {
      border-bottom: none;
    }

    #cookieModal .cookie-name {
      font-family: monospace;
      font-weight: 500;
      font-size: 12px;
    }

    #cookieModal .cookie-domain {
      font-size: 11px;
      color: #6b7280;
      font-family: monospace;
    }

    #cookieModal .btn {
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      border: none;
    }

    #cookieModal .btn-secondary {
      background: white;
      border: 1px solid #d1d5db;
      color: #374151;
    }

    #cookieModal .btn-secondary:hover {
      background: #f9fafb;
    }

    #cookieModal .btn-primary {
      background: #209BDE;
      color: white;
    }

    #cookieModal .btn-primary:hover {
      background: #34acec;
    }

    #cookieModal .btn-danger {
      background: white;
      border: 1px solid #fecaca;
      color: #dc2626;
    }

    #cookieModal .btn-danger:hover {
      background: #fef2f2;
    }

    #cookieModal .reject-all {
      margin-right: auto;
    }