/* 
==========
Cookie tab.
========== 
*/

.cookie-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--lightskyblue-color);
  color: var(--white-color);
  padding: 12px 6px;
  cursor: pointer;
  z-index: 1000;

  border-radius: 5px 0 0 5px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 0 20px;
}

.cookie-tab__text {
  font-weight: 600;
  letter-spacing: 1px;
}

/* 
==========
Panel 
==========
*/

.cookie-panel {
  position: fixed;
  top: 50%;
  right: -320px;
  transform: translateY(-50%);
  width: 210px;
  background-color: var(--lightskyblue-color);
  color: var(--white-color);
  border-radius: 5px;
  transition: right 0.35s ease;
  z-index: 700;
  box-shadow: 0 0 20px;
}

.cookie-panel--active {
  right: 40px;
}

.cookie-panel__container {
  padding: 15px;
}

.cookie-panel__description {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.cookie-panel__actions {
  display: flex;
  gap: 10px;
}

.cookie-panel__button {
  flex: 1;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 13px;
}

.cookie-panel__button--accept {
  background-color: var(--green-color);
  color: var(--white-color);
}

.cookie-panel__button--reject {
  background-color: var(--white-color);
  color: var(--lightskyblue-color);
}