body {
  margin: 0;
  padding: 0;
  font-family: "Gilroy", sans-serif;
  color: var(--text-color-main);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Brand Colros */

:root {
  /* Primary Colors - Main Brand */
  --primary-color: #ee0a10;
  --primary-light: #ff3036;
  --primary-dark: #bb0000;
  --primary-hover: #d40000;

  /* Secondary Colors - Light Accent */
  --secondary-color: #b7968a;
  --secondary-light: #ddbcb0;
  --secondary-dark: #846357;

  /* Tertiary Colors - Dark Accent */
  --tertiary-color: #a98b68;
  --tertiary-light: #cfb18e;
  --tertiary-dark: #765835;

  /* Shadow & Depth & Dark-Background & Text*/
  --shadow-color: #141418;
  --shadow-light: rgba(20, 20, 24, 0.3);
  --shadow-medium: rgba(20, 20, 24, 0.6);
  --shadow-dark: rgba(20, 20, 24, 0.9);

  /* Light Colors & Light-Background & Text */
  --light-color: #f3eeef;
  --white: #ffffff;
  --light-gray: #ded9da;

  /* Accent Colors for Vibrancy */
  --accent-orange: #a98b68;
  --accent-blue: #b7968a;
  --accent-red: #8f714e;
  --accent-yellow: #ee0a10;

  /* Status Colors */
  --success-color: #7d8443; /* Sycamore */
  --warning-color: #fa740b; /* Ecstasy */
  --error-color: #f44336; /* Pomegranate */
  --info-color: #2e252e; /* Thunder */

  /* Gradients for Rich Effects */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  --gradient-warm: linear-gradient(
    135deg,
    var(--tertiary-color),
    var(--primary-color)
  );
  --gradient-subtle: linear-gradient(
    135deg,
    var(--light-color),
    var(--light-gray)
  );
}

/*Additional Colors*/

:root {
  --primary-accent-1: var(--primary-color);
  --primary-accent-2: var(--primary-dark);

  --light-accent-1: var(--secondary-color);
  --light-accent-2: var(--secondary-light);

  --dark-accent-1: var(--tertiary-color);
  --dark-accent-2: var(--tertiary-dark);
}

/* Elements Colors */
:root {
  --text-color-main: var(--shadow-color);
  --text-color-accent: var(--dark-accent-1);
  --text-color-oposite: var(--light-color);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body li {
  font-family: "Gilroy";
  letter-spacing: 0.07em;
}

body h1,
body h2,
body h3 {
  font-weight: 300;
}

th,
td {
  font-family: Roboto;
}

label {
  font-family: "Gilroy";
}

.lowercase {
  text-transform: lowercase;
}

.link {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.item {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Consent Modal */
.consent-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.consent-modal.show {
  visibility: visible;
  opacity: 1;
}

.consent-modal-content {
  background: var(--white);
  height: auto;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.consent-modal-content p {
  color: var(--text-color-main);
  text-align: start;
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 1.6;
  margin: 20px;
  width: 100%;
}

.consent-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  max-width: auto;
  margin: 20px;
}

.consent-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  font-family: "Gilroy", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.consent-agree {
  background: var(--primary-color);
  color: var(--white);
}

.consent-agree:hover {
  background: var(--primary-hover);
}

.consent-decline {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 30px;
  padding: 0 12px;
  font-family: "Gilroy", sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--tertiary-dark);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.consent-decline:hover {
  opacity: 1;
  border-color: var(--tertiary-dark);
}

.consent-policy-link {
  color: var(--tertiary-color);
  text-decoration: none;
  font-family: "Gilroy", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.consent-policy-link:hover {
  border-bottom-color: var(--tertiary-color);
}

/* Notification Container Styles */
.notification-container {
  position: fixed;
  top: 30px;
  right: 30px; /* Изменил с left на right для лучшей видимости */
  transform: none; /* Убрал translateX */
  z-index: 100000;
  max-width: 90%;
  width: auto;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.notification {
  background: var(--white);
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(20, 20, 24, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
  max-width: 500px;
  pointer-events: all;
  opacity: 0;
  transform: translateX(100%);
  animation: notificationSlideIn 0.4s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.notification::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.notification.success::before {
  background: var(--success-color);
}

.notification.error::before {
  background: var(--error-color);
}

.notification.warning::before {
  background: var(--warning-color);
}

.notification.info::before {
  background: var(--info-color);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--white);
}

.notification.success .notification-icon {
  background: var(--success-color);
}

.notification.error .notification-icon {
  background: var(--error-color);
}

.notification.warning .notification-icon {
  background: var(--warning-color);
}

.notification.info .notification-icon {
  background: var(--info-color);
  color: var(--white);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-color-main);
}

.notification-message {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-color-main);
  opacity: 0.8;
}

.notification-close {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: var(--text-color-main);
  opacity: 0.5;
}

.notification-close:hover {
  background-color: var(--light-gray);
  opacity: 1;
}

.notification.hide {
  animation: notificationSlideOut 0.4s ease-in forwards;
}

@keyframes notificationSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes notificationSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Mobile styles for notifications */
@media (max-width: 768px) {
  .notification-container {
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
    align-items: stretch;
  }

  .notification {
    min-width: auto;
    width: 100%;
    transform: translateY(-100%);
    animation: notificationSlideInMobile 0.4s ease-out forwards;
  }

  .notification.hide {
    animation: notificationSlideOutMobile 0.4s ease-in forwards;
  }
}

@keyframes notificationSlideInMobile {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notificationSlideOutMobile {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .consent-modal-content {
    flex-direction: column;
    padding: 15px 20px;
    max-width: 95vw;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .consent-modal-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-align: center;
  }

  .consent-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
  }

  .consent-button {
    width: 100%;
    max-width: none;
    height: 45px;
    font-size: 0.9rem;
    border-radius: 4px;
  }

  .consent-decline {
    width: auto;
    height: 28px;
    font-size: 0.65rem;
    align-self: center;
    margin-top: 5px;
  }

  .consent-policy-link {
    font-size: 0.8rem;
    text-align: center;
    padding: 8px;
  }

  .consent-modal {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
}

@media (max-width: 480px) {
  .consent-modal-content {
    padding: 12px 15px;
    margin: 5px;
  }

  .consent-modal-content p {
    font-size: 0.8rem;
    margin: 0 0 12px 0;
  }

  .consent-button {
    height: 40px;
    font-size: 0.85rem;
  }

  .consent-decline {
    height: 25px;
    font-size: 0.6rem;
    padding: 0 10px;
  }

  .consent-policy-link {
    font-size: 0.75rem;
  }
}
