:root {
  --bg-main: #f0f2f5;
  --bg-sidebar: #051937;
  --bg-sidebar-2: #02074F;
  --accent: #ffb703;
  --accent-light: #ffd166;
  --text-dark: #141414;
  --hover: rgba(255, 255, 255, .12);
  --radius: 12px;
  --transition: .3s ease;
  --shadow-light: 0 3px 10px rgba(0, 0, 0, .1);
  --shadow-medium: 0 6px 20px rgba(0, 0, 0, .15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--bg-main) 0%, #e4e8ec 100%);
  color: var(--text-dark);
}

/* ======== NAVBAR ======== */
.topbar {
  width: 100%;
  background: linear-gradient(145deg, var(--bg-sidebar), var(--bg-sidebar-2), #353f77);
  color: #fff;
  padding: 18px 40px;
  display: flex;
  /* justify-content: flex-end; */
  align-items: center;
  gap: 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-medium);
}

.nav-link {
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-size: 1.05rem;
  padding: 6px 4px;
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 3px;
}

.nav-link:hover {
  color: var(--accent-light);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-light);
}

.nav-link.active::after {
  width: 100%;
}

.content-area {
  flex: 1;
  display: flex;
}

.sidebar {
  width: 26%;
  background: linear-gradient(170deg, var(--bg-sidebar), var(--bg-sidebar-2), #353f77);
  padding: 40px 24px 60px;
  color: #fff;
  overflow-y: auto;
  box-shadow: var(--shadow-medium);
  /* max-height: 706px; */
  overflow: auto;
}

.course-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.course-title span {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin-top: 12px;
  border-radius: 4px;
}

.module {
  margin-bottom: 38px;
}

.module-title {
  font-size: 1rem;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 16px;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--accent-light);
}

.lesson-list {
  list-style: none;
}

.lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .08);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  margin-bottom: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lesson-item:hover {
  background: var(--hover);
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lesson-item.active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), #fff);
  color: var(--bg-sidebar);
  border-left-color: var(--accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}

.bullet {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-right: 8px;
  opacity: .8;
  transition: var(--transition);
}

.lesson-item.active .bullet {
  border-color: var(--bg-sidebar);
}

.lesson-item[data-completed="true"] .bullet {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

.lesson-title {
  flex: 1;
  font-weight: 500;
  font-size: 1rem;
}

.lesson-duration {
  font-size: .85rem;
  opacity: .85;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 12px;
}

.lesson-item.active .lesson-duration {
  background: rgba(0, 0, 0, 0.07);
}

.main {
  width: 100%;
}

.video-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

.video-box video {
  width: 100%;
  height: 100%;
}

.video-box:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .4);
  font-size: 5rem;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

@media(max-width:900px) {
  .sidebar {
    width: 100%;
    position: static;
    display: none;
  }

  .content-area {
    flex-direction: column;
  }

  .main {
    padding: 26px;
  }

  .toggle-sidebar {
    display: block;
  }
}

img.main-logo {
    width: 40px;
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ñ€Ð¸Ð·Ð°Ñ†Ñ–Ñ— */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #02074fa8;
    background-image: url(../assets/login_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: overlay;
}

.auth-container {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-logo {
  width: 80px;
  margin-bottom: 25px;
}

.auth-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--bg-sidebar);
}

.auth-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.auth-form input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.auth-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.auth-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(170deg, var(--bg-sidebar), var(--bg-sidebar-2), #353f77);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: var(--transition);
}

.auth-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.auth-links {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.auth-links a {
  color: var(--bg-sidebar);
  text-decoration: none;
  font-size: 0.9rem;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ ÐºÐ°Ð±Ñ–Ð½ÐµÑ‚Ñƒ */
.cabinet-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-light);
}

.cabinet-section h2 {
  color: var(--bg-sidebar);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.info-card .info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.info-card .info-row:last-child {
  border-bottom: none;
}

.payment-card .payment-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.payment-card .header {
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.status-success {
  color: #28a745;
  font-weight: 500;
}

.status-pending {
  color: #ffc107;
  font-weight: 500;
  width: 85px;
}

.main.cabinet-main {
    padding: 30px;
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ ÑÑ‚Ð¾Ñ€Ñ–Ð½ÐºÐ¸ Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¸ */
.faq-list {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.faq-item {
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-item.active .faq-question {
  background: linear-gradient(145deg, var(--bg-sidebar), var(--bg-sidebar-2), #353f77);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  line-height: 1.6;
  transition: padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px; 
  padding: 15px 25px;
}


.faq-answer p {
  margin: 10px 0;
}

.chevron {
  color: var(--bg-sidebar);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
  color: white;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
}

.contact-form .auth-button {
  margin-top: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
  margin: 8px 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.2);
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ Ð¿Ð»ÐµÐ¹ÑÑ…Ð¾Ð»Ð´ÐµÑ€Ñ–Ð² */
::placeholder {
  color: #888;
  opacity: 1;
  font-size: 0.95rem;
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ Ñ‚ÐµÐºÑÑ‚Ð°Ñ€ÐµÐ° */
textarea {
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

.course-grid.no-sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.course-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.course-thumb {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.course-info {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--bg-sidebar);
}

.course-desc {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #444;
  line-height: 1.5;
}

.course-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  align-self: start;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
}

.course-button:hover {
  background: var(--accent-light);
  color: var(--bg-sidebar);
  transform: translateY(-1px);
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.progress-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, .08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px; 
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width .4s ease;
}

.course-card { position: relative; }

.course-badge {
  position: absolute;
  top: 31px;
  right: -40px;       
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 5;
}

.thumb-wrapper { position: relative; overflow: hidden; }

.course-thumb {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}

.thumb-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
             rgba(0,0,0,0) 40%,
             rgba(0,0,0,.25) 100%);
  opacity: 0;
  transition: opacity .5s ease;
}

.course-card:hover .course-thumb   { transform: scale(1.06); }
.course-card:hover .thumb-overlay  { opacity: 1; }

.progress-wrapper { background: rgba(0, 0, 0, .08); }

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.3) 0,
    rgba(255, 255, 255, 0.3) 10px,
    transparent 10px,
    transparent 20px
  );
  animation: progress-stripes 1.2s linear infinite;
  opacity: 0.6;
}

@keyframes progress-stripes {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes progress-stripes {
  from { background-position: 0 0; }
  to   { background-position: 40px 0; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  padding: 32px 28px;
  width: 100%;
  max-width: 540px;
  position: relative;
  text-align: center;
  animation: fadeInScale 0.3s ease;
  color: var(--text-dark);
  transition: max-width 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes fadeInScale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--bg-sidebar);
}

.modal p {
  font-size: 1rem;
  margin: 12px 0;
  line-height: 1.6;
}

.modal .modal-details {
  background: #f8f9fa;
  padding: 18px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: left;
}

.modal .modal-details p {
  margin: 6px 0;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
}

.modal .btn.primary {
  /* margin-top: 10px; */
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
  cursor: pointer;
}

.modal .btn.primary:hover {
  background: var(--accent-light);
  color: var(--bg-sidebar);
  transform: translateY(-1px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #333;
}

main.main.help-main {
    padding: 30px;
}

/* Modal steps */
.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

/* Modal form styles */
.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.modal-form input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
  box-sizing: border-box;
}

.modal-form input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

/* Payment options styles */
.payment-options {
  margin: 20px 0;
}

.payment-options h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--bg-sidebar);
  text-align: center;
}

.payment-option-btn {
  width: 100%;
  margin: 8px 0;
  text-align: left;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid #e1e5e9;
  background: #fff;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.payment-option-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
}

/* Bank details styles */
.bank-details {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  text-align: left;
  border: 1px solid #e1e5e9;
}

.detail-row {
  margin: 6px 0;
  padding: 4px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  color: var(--bg-sidebar);
  min-width: 140px;
  font-weight: 600;
  font-size: 0.85rem;
}

.payment-instructions {
  background: #e3f2fd;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  text-align: left;
  border-left: 4px solid #2196f3;
}

.payment-instructions h4 {
  color: var(--bg-sidebar);
  margin-bottom: 8px;
  font-size: 1rem;
}

.payment-instructions ol {
  margin-left: 16px;
}

.payment-instructions li {
  margin: 4px 0;
  line-height: 1.4;
  color: #333;
  font-size: 0.9rem;
}

.payment-instructions ul {
  margin-left: 16px;
  padding-left: 0;
}

.payment-instructions ul li {
  margin: 4px 0;
  line-height: 1.4;
  color: #333;
  font-size: 0.9rem;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.btn.secondary {
  background: #6c757d;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  height: 48px; /* Same height as primary button */
}

.btn.secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.btn.primary {
  height: 48px; /* Ensure consistent height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Currency tabs styles */
.currency-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  border-bottom: 2px solid #e1e5e9;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  top: 2px;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-btn:hover:not(.active) {
  color: var(--text-dark);
  background: #f8f9fa;
}

/* Currency tab content */
.currency-tab-content {
  display: none;
  text-align: left;
  margin: 20px 0;
}

.currency-tab-content.active {
  display: block;
}

.currency-tab-content h3 {
  color: var(--bg-sidebar);
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.4rem;
}

/* Currency tab content */
.currency-tab-content {
  display: none;
  text-align: left;
  margin: 16px 0;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 8px;
}

.currency-tab-content.active {
  display: block;
}

.currency-tab-content h3 {
  color: var(--bg-sidebar);
  margin-bottom: 12px;
  text-align: center;
  font-size: 1.2rem;
}

.currency-tab-content h4 {
  color: var(--accent);
  margin: 12px 0 8px 0;
  font-size: 1.1rem;
}

.currency-tab-content h5 {
  color: var(--bg-sidebar);
  margin: 8px 0 6px 0;
  font-size: 1rem;
}

/* Europe methods styling */
.europe-methods {
  max-height: 45vh;
  overflow-y: auto;
  padding-right: 10px;
}

.method-section {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  background: #f8f9fa;
}

.method-section:last-child {
  margin-bottom: 0;
}

/* Payment template styles */
.payment-template {
  background: #fff3cd;
  padding: 12px;
  border-radius: 6px;
  margin: 12px 0;
  border: 1px solid #ffeaa7;
}

.payment-template h4 {
  color: #856404;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.payment-template p {
  color: #856404;
  font-style: italic;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* Alert styles */
.alert {
  position: relative;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 8px;
  border-left: 4px solid;
  background: #fff;
  box-shadow: var(--shadow-light);
}

.alert-success {
  border-left-color: #28a745;
  background: #d4edda;
  color: #155724;
}

.alert-error {
  border-left-color: #dc3545;
  background: #f8d7da;
  color: #721c24;
}

.alert-warning {
  border-left-color: #ffc107;
  background: #fff3cd;
  color: #856404;
}

.alert-info {
  border-left-color: #17a2b8;
  background: #d1ecf1;
  color: #0c5460;
}

.alert h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.alert p {
  margin: 0;
  line-height: 1.5;
}

.alert-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  transition: var(--transition);
}

.alert-close:hover {
  opacity: 1;
}
