/* Global site extras extracted from Webflow-exported inline blocks */

/* Scrollbar */
::-webkit-scrollbar { width: 0.5rem; }
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(234, 236, 244);
}
::-webkit-scrollbar-thumb { background: rgb(107, 112, 148); border-radius: 50px; }
::-webkit-scrollbar-thumb:hover { background: rgba(103, 109, 157); }

/* Text selection */
::selection { background: #d6dafb; color: #2f2e41; }
::-moz-selection { background: #d6dafb; }

/* Custom list bullets */
ul { list-style-image: url('https://uploads-ssl.webflow.com/61a9e8b2ac701f755118d94b/63346fb37ab88e0bac3259a7_ellips.svg'); }

/* Utility used on a few pages */
.inline-flex { display: inline-flex; }

/* Calculator buttons focus */
.calc_button:focus { outline: none; }

/* Global loader overlay */
.myloader-container {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.myloader {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: linear-gradient(0deg, rgb(106, 122, 253, 0.2) 33%, #6a7afd 100%);
  box-sizing: border-box;
  animation: myloader-rotation 1s linear infinite;
}
.myloader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
}
@keyframes myloader-rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header auth button tweaks */
.menu-footer-social,
.menu-footer-social-12 { display: none !important; }

.container_navbar-1.w-container,
.container_navbar.w-container { position: relative; }

.header-auth-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
}

.header-auth-btn > button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1.8rem;
  background: transparent;
  color: white !important;
  border: none;
  border-radius: 50rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  line-height: 100%;
  overflow: hidden;
  z-index: 1;
}
.header-auth-btn > button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(315deg, #8b60ff, #5d6eff);
  z-index: -2;
}
.header-auth-btn > button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(315deg, #58cf9b, #33dfa6 0%, #8b60ff);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.header-auth-btn > button:hover::after { opacity: 1; }

@media screen and (max-width: 991px) {
  .header-auth-btn { right: 4rem; }
  .header-auth-btn > button { padding: 0.7rem 1.4rem; }
}
@media screen and (max-width: 767px) {
  .header-auth-btn { right: 4.5rem; }
  .header-auth-btn > button { padding: 0.6rem 1.2rem; }
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  max-width: 560px;
  width: calc(100% - 32px);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  z-index: 9999;
  padding: 16px 56px 16px 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  display: none;
}
#cookie-banner p { margin: 0 0 12px 0; }
#cookie-banner a { color: #5d6eff; text-decoration: underline; }
#cookie-banner button.accept {
  background: #5d6eff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
#cookie-banner button.accept:hover { opacity: 0.9; }
#cookie-banner button.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 18px;
  color: #6b7094;
  cursor: pointer;
}
@media (max-width: 480px) {
  #cookie-banner { padding: 16px 44px 16px 16px; }
}

/* Marquee animation */
.link-block-5,
.link-block-9 {
  -webkit-animation: logoloop 30s linear infinite;
  -moz-animation: logoloop 30s linear infinite;
  -o-animation: logoloop 30s linear infinite;
  animation: logoloop 30s linear infinite;
}

.look-strike:hover .link-block-5,
.look-strike:focus-within .link-block-5,
.look-strik:hover .link-block-5,
.look-strik:focus-within .link-block-5,
.look-strike:hover .link-block-9,
.look-strike:focus-within .link-block-9,
.look-strik:hover .link-block-9,
.look-strik:focus-within .link-block-9 {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

@media (prefers-reduced-motion) {
  .link-block-5,
  .link-block-9 {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
  }
}

@-webkit-keyframes logoloop { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }
@-moz-keyframes logoloop { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }
@-o-keyframes logoloop { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }
@keyframes logoloop { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/* Common H1 + subtext block spacing */
.page-title-block { margin-top: 2rem; }

/* Cabinet UI */
.page-wrapper.is-cabinet {
  display: flex;
  flex-direction: column;
  min-height: calc(-338px + 100vh);
}

.page-wrapper.is-cabinet .main {
  flex: 1 0 auto;
}

.cabinet-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  /* padding: 0 01rem; */
  border-bottom: 1px solid rgba(107, 112, 148, 0.1);
  align-items: center;
}

.cabinet-nav-left {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.cabinet-nav-right {
  display: flex;
  align-items: center;
}

.cabinet-logout-btn {
  background: none;
  border: none;
  color: #ff5252;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  font-family: inherit;
}

.cabinet-logout-btn:hover {
  opacity: 0.7;
}

.cabinet-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(93, 110, 255, 0.10);
  color: #5d6eff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.cabinet-view-btn:hover {
  background: rgba(93, 110, 255, 0.16);
}

.cabinet-nav-link {
  color: #6b7094;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.cabinet-nav-link:hover {
  color: #5d6eff;
}

.cabinet-nav-link.is-active {
  color: #5d6eff;
}

.cabinet-nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #5d6eff;
}

.cabinet-card {
  background: #fff;
  border: 1px solid rgba(107, 112, 148, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cabinet-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #2f2e41;
}

.cabinet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cabinet-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(107, 112, 148, 0.05);
}

.cabinet-list-item:last-child {
  border-bottom: none;
}

.cabinet-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cabinet-item-title {
  font-weight: 600;
  color: #2f2e41;
}

.cabinet-item-meta {
  font-size: 0.8rem;
  color: #6b7094;
}

.cabinet-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active, .status-succeeded {
  background: rgba(88, 207, 155, 0.1);
  color: #2a9d8f;
}

.status-pending, .status-waiting_for_capture {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-canceled, .status-expired {
  background: rgba(255, 82, 82, 0.1);
  color: #ff5252;
}

.cabinet-form-container {
  max-width: 480px;
  margin: 0 auto;
}

.cabinet-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7094;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.cabinet-back-link:hover {
  color: #5d6eff;
}

