
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  margin: 0;
  padding: 30px 20px;
}


.page-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 900px) 220px;
  gap: 20px;
  max-width: 1380px;
  margin: 0 auto;
  align-items: start;
  justify-content: center;
}


.main-content {
  min-width: 0;
}

.container {
  width: 100%;
  max-width: 900px;
  background: #020617;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,.4);
}


.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sidebar-box {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
  min-height: 250px;
  box-shadow: 0 0 25px rgba(0,0,0,.25);
  overflow-wrap: anywhere;
}

.sidebar-box h3 {
  margin: 0 0 12px;
  color: #38bdf8;
  font-size: 1rem;
}

.sidebar-box p {
  color: #94a3b8;
  font-size: .85rem;
  line-height: 1.6;
}


h1 {
  margin-bottom: 5px;
}

.note {
  opacity: .7;
  font-size: .9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 15px;
  margin-top: 20px;
}

label {
  font-size: .85rem;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 6px;
  border: none;
  background: #020617;
  color: #e5e7eb;
  outline: 1px solid #1e293b;
}

input:focus,
select:focus {
  outline: 2px solid #38bdf8;
}

.results {
  margin-top: 25px;
  padding: 15px;
  background: #020617;
  border-radius: 8px;
  outline: 1px solid #1e293b;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.good {
  color: #22c55e;
  font-weight: bold;
}

.warn {
  color: #facc15;
  font-weight: bold;
}

.bad {
  color: #ef4444;
  font-weight: bold;
}

button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: #1e293b;
  color: #e5e7eb;
}

button:hover {
  background: #334155;
}

.saved {
  margin-top: 20px;
}

.saved-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: .85rem;
  margin-bottom: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
  }

  .main-content {
    grid-row: 1;
  }

  .left-sidebar,
  .right-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .container {
    padding: 16px;
  }

  .left-sidebar,
  .right-sidebar {
    grid-template-columns: 1fr;
  }

  .result-row {
    flex-wrap: wrap;
  }

  .saved-item {
    flex-wrap: wrap;
  }
}

.site-footer {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #dee2e6;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-menu a {
  text-decoration: none;
  font-size: 14px;
}

.footer-menu a:hover {
  text-decoration: underline;
}

@media (min-width: 480px) {
  .contact-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

.contact-item {
  padding: 10px;
}

.contact-item .icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.contact-item h3 {
  margin: 5px 0;
  font-size: 18px;
}

.contact-item p a {
  color: #0066cc;
  text-decoration: none;
  font-size: 16px;
}

.contact-item p a:hover {
  text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 99999;
    border: 1px solid #e1e1e1;
    font-family: Arial, sans-serif;
}
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}
.cookie-content a {
    color: #007bff;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
}
.btn-accept {
    background-color: #28a745;
    color: white;
}
.btn-accept:hover {
    background-color: #218838;
}
.btn-reject {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #ced4da;
}
.btn-reject:hover {
    background-color: #e2e6ea;
}
@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

.cookie-btn:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 12px;
        padding: 16px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}