@import "bulma.min.css";

ul {
  margin-bottom: 0 !important;
}

.tabs:not(.core) ul {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.button.is-info {
  background-color: #293a93 !important;
}

.input,
.textarea,
.select select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.input.is-danger,
.textarea.is-danger,
.select.is-danger select {
  border-color: #ff3860 !important;
  box-shadow: 0 0 0 0.125em rgba(255, 56, 96, 0.25) !important;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: black;
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "ROND" 0;
  background-color: #000;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-transition: background 1s ease-in-out;
  -moz-transition: background 1s ease-in-out;
  -o-transition: background 1s ease-in-out;
  -ms-transition: background 1s ease-in-out;
  transition: background 1s ease-in-out;
  -webkit-backface-visibility: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  body {
    position: fixed;
    background-color: #FFF;
    overflow-y: scroll;
  }
}

/* New Header Styles */
.main-header {
  display: block !important;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav-right {
  margin-left: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.user-email-display {
  color: #293a93;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(41, 58, 147, 0.1);
  border-radius: 6px;
  margin-left: 12px;
}

.nav-link {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 8px;
  transition: color 0.2s ease;
  border-radius: 4px;
}

.nav-link:hover {
  color: #293a93;
  background: rgba(50, 115, 220, 0.05);
}

.nav-link.is-active {
  color: #293a93;
  background: rgba(41, 58, 147, 0.12);
  font-weight: 600;
}

.nav-separator {
  color: #ccc;
  font-size: 12px;
  margin: 0 2px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.contact-info {
  color: #999;
  font-size: 14px;
}

.sign-in-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.sign-in-link:hover {
  color: #000;
}

.language-selector-header {
  position: relative;
  display: flex;
  align-items: center;
}

.language-toggle-icon {
  background: transparent;
  border: none;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  transition: all 0.3s ease;
  font-family: "Google Sans Flex", sans-serif;
  border-radius: 6px;
  position: relative;
}

.language-toggle-icon:hover {
  background: #f0f0f0;
  color: #000;
}

.language-toggle-icon i {
  font-size: 18px;
}

.current-language-badge {
  font-size: 11px;
  font-weight: 600;
  background: #293a93;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
  display: inline-block;
}

.language-selector {
  position: relative;
  display: none;
  align-items: center;
}

.language-toggle {
  background: transparent;
  border: none;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  font-family: "Google Sans Flex", sans-serif;
  border-radius: 6px;
  position: relative;
}

.language-toggle:hover {
  background: #f0f0f0;
  color: #000;
}

.language-toggle i {
  font-size: 18px;
}

.current-language {
  font-size: 12px;
  font-weight: 600;
  background: #293a93;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 24px;
  text-align: center;
  display: inline-block;
}

/* Language Modal Styles */
.language-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.language-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.language-modal {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-modal-overlay.active .language-modal {
  transform: scale(1) translateY(0);
}

.language-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.language-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Google Sans Flex", sans-serif;
  letter-spacing: -0.3px;
}

.language-modal-close {
  background: #f5f5f5;
  border: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-modal-close:hover {
  background: #e8e8e8;
  color: #000;
  transform: rotate(90deg);
}

.language-modal-content {
  padding: 16px;
  max-height: calc(85vh - 80px);
  overflow-y: auto;
}

.language-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.language-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.language-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #293a93, #5ba3e8);
  transition: width 0.3s ease;
  border-radius: 10px 0 0 10px;
}

.language-item:hover {
  border-color: #293a93;
  background: #f8fbff;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(62, 142, 208, 0.12);
}

.language-item:hover::before {
  width: 4px;
}

.language-item.selected {
  border-color: #293a93;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  box-shadow: 0 2px 12px rgba(62, 142, 208, 0.2);
}

.language-item.selected::before {
  width: 4px;
}

.language-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.language-icon {
  font-size: 18px;
  color: #293a93;
  width: 20px;
  text-align: center;
}

.language-name {
  font-size: 15px;
  font-weight: 500;
  color: #2a2a2a;
  font-family: "Google Sans Flex", sans-serif;
  flex: 1;
  letter-spacing: -0.2px;
}

.language-item.selected .language-name {
  color: #293a93;
  font-weight: 600;
}

.language-code {
  font-size: 11px;
  font-weight: 700;
  background: #e8e8e8;
  color: #555;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 36px;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.language-item.selected .language-code {
  background: #293a93;
  color: #fff;
  box-shadow: 0 2px 4px rgba(62, 142, 208, 0.3);
}

.language-item .check-icon {
  font-size: 20px;
  color: #293a93;
  display: none;
  margin-left: 8px;
  position: relative;
  z-index: 1;
}

.language-item.selected .check-icon {
  display: block;
  animation: checkmarkAppear 0.3s ease;
}

@keyframes checkmarkAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}


.btn-try-now {
  background: #ffeb3b;
  color: #333;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Google Sans Flex", sans-serif;
}

.btn-try-now:hover {
  background: #ffd700;
}

.header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.header-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .header-left {
    gap: 15px;
  }

  .header-nav {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .header-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 12px 15px;
  }

  .header-logo-img {
    height: 32px;
  }

  .btn-try-now {
    padding: 8px 16px;
    font-size: 13px;
  }
}

.main-logo {
  position: fixed;
  top: -1px;
  left: 0;
  max-height: 50px;
  background: #FFF;
  padding: 10px 10px;
  /* border-bottom-right-radius: 5px;
  border-top-right-radius: 5px; */
  border-radius: 0px 10px 10px 0px;
  display: block;
  margin: 10px;
  margin-left: 0px;
}

@media (max-width: 768px) {
  .main-logo {
    display: none;
  }
}

.mobile-nav {
  display: none;
  font-size: 14px;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
    position: absolute;
    width: 100%;
  }
}

.mobile-nav .navbar-link,
.mobile-nav .navbar-item {
  line-height: 15px;
}

.background {
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  cursor: pointer;
  background: #000;
}

@media (max-width: 768px) {
  .background {
    display: none;
  }
}

.background .vegas-timer {
  display: none;
}

.background .vegas-slide-inner {
  position: absolute;
  width: 100%;
  height: 100%;
}

.drop-overlay {
  pointer-events: none;
  display: none;
  position: fixed;
  z-index: 10;
  border-color: #FFF;
  border-style: dotted;
  border-radius: 5px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.drop-overlay p {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #FFF;
}


.tabs:not(.core) {
  position: absolute;
  top: 8px;
  right: 180px;
  margin-top: 0;
  margin-right: 0px;
  z-index: 10;
  background: #FFF;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 40px;
}

.menu-auth-buttons {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2px;
  overflow: hidden;
  height: 40px;
  margin-left: 5px;
}

.signin-text {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  text-decoration: none;
  font-family: "Google Sans Flex", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1.5;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
  height: 100%;
}

.signin-text:hover {
  color: #363636;
}

.has-user-email {
  /* right: 200px !important; */
}

.user-email-display-menu {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: #293a93;
  border-radius: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-family: "Google Sans Flex", sans-serif;
  line-height: 1.5;
}

.btn-login-menu {
  background: #ffffff;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #dbdbdb;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: "Google Sans Flex", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
}

.btn-login-menu:hover {
  background: #fafafa;
  border-color: #b5b5b5;
  color: #363636;
}

.btn-login-menu:active {
  background: #f5f5f5;
}

.btn-signup-menu {
  background: #293a93;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: "Google Sans Flex", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1.5;
  margin-left: 8px;
  height: 36px;
}

.btn-signup-menu:hover {
  background: #2366d1;
  color: #fff;
}

.btn-signup-menu:active {
  background: #1e5bb8;
}


.language-toggle-icon-menu {
  background: transparent;
  border: none;
  color: #4a4a4a;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  transition: all 0.2s ease;
  font-family: "Google Sans Flex", sans-serif;
  border-radius: 4px;
  height: 36px;
  position: relative;
}

.language-toggle-icon-menu:hover {
  background: rgba(62, 142, 208, 0.08);
  color: #293a93;
}

.language-toggle-icon-menu i {
  font-size: 16px;
}

.current-language-badge-menu {
  font-size: 10px;
  font-weight: 600;
  background: #293a93;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  min-width: 20px;
  text-align: center;
  display: inline-block;
}

.tabs:not(.core) li {
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
}

.tabs:not(.core).is-toggle li a {
  border: none !important;
  border-radius: 0 !important;
}

.tabs:not(.core) li:first-child a {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.tabs:not(.core) li:last-child a {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.tabs:not(.core) li a {
  background: transparent !important;
  color: #4a4a4a;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  transition: all 0.2s ease;
  border-radius: 4px;
  margin: 0;
  text-decoration: none;
  border: none !important;
  box-shadow: none;
  position: relative;
  transform: translateY(0);
  overflow: visible;
  line-height: 1.5;
  height: 36px;
  display: flex;
  align-items: center;
}

.tabs:not(.core) li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #293a93;
  border-radius: 2px 2px 0 0;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

.tabs:not(.core) li a:hover {
  background: rgba(62, 142, 208, 0.08) !important;
  color: #293a93;
  text-decoration: none;
}

.tabs:not(.core) li a:hover::after {
  width: 80%;
}

.tabs:not(.core) li.is-active a {
  background: rgba(62, 142, 208, 0.12) !important;
  color: #293a93;
  font-weight: 600;
  text-decoration: none;
}

.tabs:not(.core) li.is-active a::after {
  width: 90%;
  background: #293a93;
  height: 2px;
}

.tabs:not(.core) li.is-active a:hover {
  background: rgba(62, 142, 208, 0.15) !important;
  color: #293a93;
}

.tabs:not(.core) li.is-active a:hover::after {
  width: 95%;
}

.tab-window {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 95%;
  min-width: 95%;
  max-width: 95%;
  background: #FFF;
  border-left: 1px solid whitesmoke;

  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  pointer-events: none;
  z-index: 2001;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease, visibility 0s 0.5s;
  will-change: transform, opacity;
}

.tab-window.no-transition {
  transition: none !important;
}

.tab-window.active {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease, visibility 0s 0s;
}

.tab-window.active.no-transition {
  transition: none !important;
}

.tabs:not(.core) {
  position: absolute;
  top: 8px;
  right: 180px;
  margin-top: 0;
  margin-right: 0px;
  z-index: 9999;
  background: #FFF;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 40px;
}

.menu-auth-buttons {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  /* background: #293a93; */
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2px;
  overflow: hidden;
  height: 40px;
}

.user-email-display-menu {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: #293a93;
  border-radius: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .tab-window.active {
    min-width: 100%;
    max-width: 100%;
    top: 50px;
    height: calc(100% - 50px);
    margin-top: 0;
  }
}

.tab-window .close-btn {
  position: absolute;
  left: 20px;
  top: 15px;
  font-size: 20px;
  display: none;
}

.tab-window hr {
  position: absolute;
  width: 100%;
  top: 35px;
  background: #f5f5f5;
  height: 1px;
}

.tab-window .tab {
  display: block;
  width: 90%;
  min-width: 300px;
  margin: 80px 50px 50px 50px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: none;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.4s ease-in-out;
  will-change: opacity;
}

.tab-window .tab:not(.terms-page-tab) {
  display: block;
  width: 100%;
  min-width: 300px;
  margin: 0px;
  overflow-y: auto;
}

.tab-window .tab.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease-in-out;
}

.tab-window .tab.terms-page-tab.active {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.tab-window .tab.terms-page-tab:not(.active) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
}

.tab-window .tab.large {
  max-width: 100%;
}

.tab-window .tab.extra-large {
  max-width: 1000px;
}

.tab-window .tab h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 0;
}

.tab-window .tab h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .tab-window .tab:not(.terms-page-tab) {
    width: 100%;
    margin: 0px;
    overflow-x: hidden;
  }

  .tab-window .tab.large {
    min-width: 300px;
  }

  .tab-window .tab:not(.terms-page-tab) h1 {
    font-size: 30px;
  }

  .tab-window .tab.terms-page-tab {
    margin: 0 !important;
    width: 100% !important;
  }
}

.tab-window .tab-logo {
  position: absolute;
  bottom: 10px;
  right: 10px;
  max-width: 70px;
}

.upload-block {
  display: flex;
  height: calc(100vh - 40px);
  align-items: center;
  margin-left: 60px;
  overflow-y: hidden;
  width: 100%;
  transition: margin-left 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.sidebar-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

}

body.sidebar-open .upload-block {
  margin-left: -200px;
  margin-right: 20px;

  z-index: 3;
  position: relative;
}

@media (max-width: 768px) {
  body.sidebar-open .upload-block {
    margin-left: 0;
    transform: translateX(-50px);
  }
}

/* Login Sidebar Styles (60% width) */
body.login-sidebar-open .tab-window {
  width: 95% !important;
  min-width: 95% !important;
  max-width: 95% !important;
  border-left: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
}

/* Ensure sidebar width doesn't shrink when menu-auth-buttons are added */
body.login-sidebar-open .tab-window .menu-auth-buttons {
  position: absolute !important;
  width: auto !important;
  max-width: none !important;
}

/* Login Tab Content Styles */
.tab.login-tab {
  display: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tab.login-tab.active {
  display: flex;
  z-index: 99;
}

.login-split-container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-creative-section {
  width: 50%;
  /* height: 100%; */
  background-color: #293a93;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 40px;
}

.login-creative-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.login-creative-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.login-creative-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 500px;
}

.login-creative-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #ffffff;
}

.login-creative-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.login-creative-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.creative-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.creative-feature-item i {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.creative-feature-item span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.login-form-section {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 40px;
  overflow-y: auto;
}

/* Contact Page Specific Width Adjustments */
#tab-contact .login-creative-section {
  width: 50%;
}

#tab-contact .login-form-section {
  width: 50%;
}

#tab-contact .login-modal {
  max-width: 600px;
}

.login-sidebar-content::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.login-sidebar-content::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 10%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 25s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Login close button (circular, top left) */
.login-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  right: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.login-close-btn:hover {
  background: rgba(135, 206, 250, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-close-btn:active {
  transform: scale(0.95);
}

.login-close-btn svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 768px) {
  .login-close-btn {
    left: auto;
    right: 20px;
    top: 20px;
    background: transparent;
    border: none;
    color: #333333;
  }

  .login-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: none;
    box-shadow: none;
  }

  .login-close-btn svg {
    stroke: #333333;
    width: 20px;
    height: 20px;
  }
}

.login-modal {
  background: #ffffff;
  border-radius: 0;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab#tab-login .login-modal,
.tab#tab-signup .login-modal {
  animation: none;
}

/* Wider layout for signup sidebar */
.login-tab#tab-signup .login-modal {
  max-width: 80%;
}

@media (max-width: 768px) {
  .login-split-container {
    flex-direction: column;
  }

  .menu-auth-buttons,
  .tabs.is-toggle.is-small.is-right {
    display: none !important;
  }

  .login-creative-section {
    display: none;
  }

  .login-form-section {
    width: 100% !important;
    height: 100%;
    padding: 30px 20px;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .login-creative-title {
    font-size: 32px;
  }

  .login-creative-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .login-modal {
    padding: 80px 20px 30px 20px;
    max-width: 100%;
  }

  .login-title {
    font-size: 28px;
    margin-bottom: 24px;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: #293a93;
  margin-bottom: 32px;
  text-align: left;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.login-form {
  margin-bottom: 20px;
}

.login-form .field {
  margin-bottom: 16px;
}

.login-form .field:last-child {
  margin-bottom: 0;
}

.login-form .label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.login-form .input {
  height: 44px !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  padding: 0 14px !important;
  transition: all 0.3s ease !important;
  background: #fafafa !important;
}

.mt-5 {
  margin-top: 10px;
}

.mb-2 {
  margin-bottom: 5px !important;
}

.login-form .input:focus {
  border-color: #293a93 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(41, 58, 147, 0.1) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.login-form .textarea {
  border: 2px solid #e8e8e8 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  padding: 0 14px !important;
  transition: all 0.3s ease !important;
  background: #fafafa !important;
  height: 150px;
}

.login-form .input::placeholder {
  color: #999;
}

.login-form .textarea::placeholder {
  color: #999;
}

.login-form .login-error {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.login-continue-btn {
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: #293a93;
  border: none;
  transition: all 0.3s ease;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(41, 58, 147, 0.3);
  margin-bottom: 20px;
}

.login-continue-btn:hover {
  background: #1f2d6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(41, 58, 147, 0.4);
}

.login-continue-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(41, 58, 147, 0.3);
}

.login-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.login-separator .separator-line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.login-separator .separator-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-login-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

/* Stack social buttons on small screens */
@media (max-width: 640px) {
  .social-login-buttons {
    flex-direction: row;
  }

  .login-tab#tab-signup .login-modal {}
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  width: 44px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.social-btn span {
  display: none;
}

.social-btn:hover {
  border-color: #d0d0d0;
  background: #f9f9f9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-btn:active {
  transform: translateY(0);
}

.social-btn.google-btn:hover {
  border-color: #4285F4;
  background: #f8f9ff;
}

.social-btn.microsoft-btn:hover {
  border-color: #00A4EF;
  background: #f0f8ff;
}

.social-btn.apple-btn:hover {
  border-color: #000;
  background: #f5f5f5;
}

.login-register-link {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.login-register-link .register-link {
  color: #293a93;
  text-decoration: none;
  border-bottom: 1px dotted #293a93;
  transition: all 0.2s ease;
}

.login-register-link .register-link:hover {
  color: #293a93;
  border-bottom-color: #293a93;
}

/* Contact Form Textarea Styling */
.login-form .textarea {
  min-height: 120px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  padding: 14px;
  transition: all 0.3s ease;
  background: #fafafa;
  font-family: inherit;
  resize: vertical;
}

.login-form .textarea:focus {
  border-color: #293a93;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(41, 58, 147, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.login-form .textarea::placeholder {
  color: #999;
}

/* Contact Creative Section - Use same gradient as login */
.contact-creative-section {
  background-color: #293a93;
}

/* Contact Form Select Styling */
.login-form .select {
  width: 100%;
}

.login-form .select select {
  height: 44px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  padding: 0 14px;
  padding-right: 40px;
  transition: all 0.3s ease;
  background: #fafafa;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.login-form .select select:focus {
  border-color: #293a93;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(41, 58, 147, 0.1);
  outline: none;
  transform: translateY(-1px);
}

/* Standard select arrow styling */
.select:not(.is-multiple):not(.is-loading)::after {
  border-color: #293a93;
  right: 1.125em;
  z-index: 4;
}

.login-form .select.is-fullwidth {
  position: relative;
}

.login-form .select.is-fullwidth select {
  width: 100%;
}

/* Contact Form Column Spacing */
.login-form .control.has-icons-left .input,
.login-form .control.has-icons-left .select select {
  padding-left: 42px !important;
}

.login-form .control.has-icons-left .icon {
  height: 44px;
  width: 42px;
  color: #94a3b8;
}

.login-form .label {
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 768px) {
  .login-form .columns {
    margin-left: 0;
    margin-right: 0;
  }

  .login-form .columns .column {
    padding: 0;
  }
}

@media (max-width: 768px) {
  body.login-sidebar-open .tab-window {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .login-modal {
    padding: 0px;
    max-width: 100%;
    margin: 5 0px 0px;
  }

  .login-tab#tab-signup .login-modal {
    width: 100%;
  }

  .column {
    padding-bottom: 5px;
  }

  .login-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .upload-block {
    height: 100%;
    margin: 0;
    flex-direction: column;
    padding-top: 53px;
  }
}

.upload-block .upload-block-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  width: 300px;
  height: 450px;
  border-radius: 10px;
  -moz-box-shadow: 0 0 28px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 28px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .upload-block .upload-block-inner {
    width: 100%;
    height: 100%;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.upload-block.with-logo .upload-block-inner {
  height: 550px;
}

.upload-block .upload-block-logo {
  height: 80px;
  width: 100%;
  text-align: center;
}

.upload-block .upload-block-logo img {
  display: inline-block;
  height: 60px;
  margin: 10px 0;
}

.upload-block .upload-block-content {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-grow: 1;
  width: 100%;
  height: 100%;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: thin;
  /* for Firefox */
}

.upload-block .upload-block-content ::-webkit-scrollbar {
  width: 3px;
}

.upload-block .upload-block-content.active {
  display: flex;
}

.upload-block .upload-block-content.start-top {
  align-items: center;
}

@media (max-width: 768px) {
  .upload-block .upload-block-content lord-icon {
    height: 120px !important;
  }
}

.upload-block .upload-block-content#upload>.button-block>button {
  width: 70%;
}

.upload-block .upload-block-content#upload>.button-block>button.options {
  width: 40px;
  min-width: 0;
  margin-left: 20px;
}

.upload-block .upload-block-content .inline-content {
  width: inherit;
}

.upload-block .upload-block-content .add-files {
  width: 300px;
  height: 300px;
  cursor: pointer;
}

.upload-block .upload-block-content span.description {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0 10px;
  font-size: 20px;
}

.upload-block .upload-block-content span.folder-select {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 14px;
  text-decoration: underline;
  padding-top: 5px;
  text-underline-position: under;
  text-underline-offset: 0.5px;
}

.upload-block .upload-block-content .button-block {
  background: white;
  height: 70px;
  width: 100%;
  border-top: 1px solid rgba(107, 113, 119, 0.2);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.upload-block .upload-block-content .button-block button {
  min-width: 50%;
}

.upload-block .upload-block-content .button-block button.options {
  width: 40px;
  min-width: 0;
  margin-left: 20px;
}

.upload-block .upload-block-content#download #download-form {
  max-width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .upload-block .upload-block-content#download #download-form {
    width: 100%;
  }
}

.upload-block .upload-block-content#download #download-form form {
  display: flex;
  flex-direction: column;
  height: inherit;
}

.upload-block .upload-block-content#download #download-form .password-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 0 20px;
  flex-grow: 1;
}

.upload-block .upload-block-content#download #download-form .password-block h1 {
  font-size: 35px;
}

.upload-block .upload-block-content#download #download-form .password-block .field {
  width: 100%;
}

.upload-block .upload-block-content#download .block-icon {
  width: 70%;
  margin-top: 30px;
}

.upload-block .upload-block-content#download .block-icon.sm {
  width: 40%;
  margin-top: 15px;
}

.upload-block .upload-block-content#download .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.upload-block .upload-block-content#download .top h1 {
  font-size: 18px;
  max-width: 80%;
  text-align: center;
  margin-top: 20px;
}

.upload-block .upload-block-content#download .top .expire {
  font-size: 14px;
}

.upload-block .upload-block-content#download #download-started {
  display: none;
  flex-direction: column;
  height: 100%;
}

.upload-block .upload-block-content#download #download-started.active {
  display: flex;
}

.upload-block .upload-block-content#download #download-started .top {
  flex-grow: 1;
}

.upload-block .upload-block-content#download #download-started h1 {
  font-size: 18px;
}

.upload-block .upload-block-content#download .upload-message {
  width: 100%;
  flex-grow: 1;
  min-height: 60px;
  max-height: 90px;
  padding: 20px 20px 0 20px;
  font-size: 13px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.upload-block .upload-block-content#download .selected-files {
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid #f5f5f5;
}

@media (max-width: 768px) {
  .upload-block .upload-block-content#download .selected-files {
    max-height: none;
  }
}

.upload-block .upload-block-content#download .selected-files ul li:last-child {
  border-bottom: none;
}

.upload-block .upload-block-content#download .rounded-side-button {
  width: 40px;
  min-width: 40px;
  margin-right: 40px;
}

.upload-block .upload-block-content#download .rounded-side-button i {
  font-weight: 700;
}

.upload-block .upload-form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  max-height: -webkit-calc(100% - 70px);
  max-height: -moz-calc(100% - 70px);
  max-height: calc(100% - 70px);
  min-height: -webkit-calc(100% - 70px);
  min-height: -moz-calc(100% - 70px);
  min-height: calc(100% - 70px);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow-y: auto;
}

.upload-block .upload-form .select-first-files {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  border-bottom: 1px solid rgba(107, 113, 119, 0.2);
  min-height: 200px;
}

.upload-block .upload-form .select-first-files .outside-container {
  margin-top: -15px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .upload-block .upload-form .select-first-files .outside-container lord-icon {
    width: 150px !important;
    height: 150px !important;
  }
}

.upload-block .upload-form form input[type=file],
.upload-block .upload-form form .emailToInput {
  visibility: hidden;
  height: 0;
  width: 0;
  position: absolute;
}

.upload-block .upload-form form .input-group {
  width: auto;
  margin: 5px 15px;
  position: relative;
  /*label {
    position: absolute;
    pointer-events: none;
    top: 18px;
    transition: 0.2s ease all;
  }

  input:focus + label,
  input:not(:focus):valid + label {
    top: 8px;
    bottom: 10px;
    font-size: 13px;
    opacity: 1;
  }*/
}

.upload-block .upload-form form .input-group input,
.upload-block .upload-form form .input-group textarea,
.upload-block .upload-form form .input-group select {
  margin: 0;
  padding: 0 5px;
  font-size: 13px;
  height: 40px;
  border: none;
  width: 100%;
  border-bottom: 1px solid rgba(107, 113, 119, 0.2);
  border-radius: 0;
  outline: none !important;
  color: #000;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
}

.upload-block .upload-form form .input-group select {
  padding: 0 2px;
  cursor: pointer;
}

.upload-block .upload-form form .input-group input::placeholder,
.upload-block .upload-form form .input-group textarea::placeholder {
  color: #6a6d70;
}

.upload-block .upload-form form .input-group span.label {
  font-size: 12px;
  margin-bottom: 0;
}

.upload-block .upload-form form .input-group span.label[data-help] {
  cursor: pointer;
}

.upload-block .upload-form form .input-group textarea {
  height: auto;
  min-height: 80px;
  padding-top: 10px;
}

.upload-block .upload-form form .input-group .recipients {
  margin-top: 5px;
}

.upload-block .upload-form form .input-group .recipients span {
  position: relative;
  display: inline-block;
  height: auto;
  margin-right: 5px;
}

.upload-block .upload-form form .input-group .recipients span .remove {
  display: none;
  position: absolute;
  width: 20px;
  text-align: center;
  right: 0;
  top: 0;
  background: #f5f5f5;
  font-weight: bold;
  cursor: pointer;
}

.upload-block .upload-form form .input-group .recipients :hover .remove {
  display: block;
}

.upload-block .upload-form form .input-group .recipients .tag:not(body).is-light {
  color: #000;
}

.upload-block .upload-form form .advanced-options {
  position: relative;
  background: #f5f5f5;
  display: none;
  padding-top: 10px;
}

.upload-block .upload-form form .advanced-options .input-group {
  margin-bottom: 10px;
}

.upload-block .upload-form form .advanced-options input,
.upload-block .upload-form form .advanced-options textarea,
.upload-block .upload-form form .advanced-options select {
  background: inherit;
  color: #6a6d70;
  opacity: 1;
}

.upload-block .upload-form form .advanced-options select[name=expire]:hover {
  cursor: pointer;
}

.upload-block .upload-form form .advanced-options h1 {
  font-size: 14px;
  margin-left: 20px;
  padding-top: 10px;
  font-weight: 700;
}

.upload-block .upload-form .radio-group {
  width: auto;
  display: flex;
  align-content: stretch;
  flex-wrap: nowrap;
  font-size: 0.79em;
}

.upload-block .upload-form .radio-group .radio {
  display: inline-block;
  flex: 1;
  font-family: "Google Sans Flex", sans-serif;
  background: white;
  text-align: center;
  width: auto;
  padding: 5px 10px;
  margin: 0;
}

.upload-block .upload-form .radio-group .radio.selected {
  background: #293a93;
  color: white;
  font-weight: 700;
}

.upload-block .upload-form .radio-group .radio:first-child {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.upload-block .upload-form .radio-group .radio:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.upload-block .upload-block-tooltip {
  display: none;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px;
  width: 200px;
  height: 270px;
  margin-left: 20px;
  background: #393232;
  color: white;
  border-radius: 15px;
  z-index: 1;
}

.upload-block .upload-block-tooltip.active {
  display: flex;
}

.upload-block .upload-block-tooltip .content {
  display: none;
  text-align: center;
}

.upload-block .upload-block-tooltip .content img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.upload-block .upload-block-tooltip .content p {
  display: block;
  font-size: 14px;
}

.upload-block .upload-block-tooltip .content.active {
  display: block;
}

@media (max-width: 768px) {
  .upload-block .upload-block-tooltip {
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: 80px;
  }

  .upload-block .upload-block-tooltip .content.active {
    display: flex;
    align-items: center;
  }

  .upload-block .upload-block-tooltip .content.active img {
    width: 50px;
    margin-right: 20px;
  }
}

.upload-block .upload-progress-bar {
  display: block;
  position: relative;
  width: 250px;
  height: 250px;
  font-size: 45px;
  font-family: inherit;
  margin-top: 20px;
}

/* SVG circular progress ring container */
.upload-block .upload-progress-bar svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  z-index: 0;
}

/* Background circle (gray track) */
.upload-block .upload-progress-bar svg .progress-bg {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 8;
}

/* Progress circle (blue stroke that fills) */
.upload-block .upload-progress-bar svg .progress-bar {
  fill: none;
  stroke: #293a93;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 628;
  /* Circumference of circle (2 * π * r) where r=100 */
  stroke-dashoffset: 628;
  /* Start with full offset (0% progress) */
  transition: stroke-dashoffset 0.3s ease-out;
}

#progress-circle {
  display: none !important;
}

/* Animated rotating segment (shows activity while uploading) */
.upload-block .upload-progress-bar svg .progress-spinner {
  fill: none;
  stroke: rgb(41 58 147);
  stroke-width: 8;
  stroke-linecap: round;
  /* stroke-dasharray set dynamically by JavaScript */
  opacity: 0;
  animation: rotate-spinner 1.5s linear infinite;
  transition: stroke-dasharray 0.3s ease-out;
  transform-origin: center center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.upload-block .upload-progress-bar.uploading svg .progress-spinner {
  opacity: 1;
}

@keyframes rotate-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Percentage text overlay */
.upload-block .upload-progress-bar .progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 45px;
  font-weight: bold;
  color: #333;
  z-index: 10;
}

/* Remove the old pseudo-elements */
.upload-block .upload-progress-bar::before,
.upload-block .upload-progress-bar::after {
  display: none;
}



@keyframes expand-circle {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }

  100% {
    width: 140%;
    height: 140%;
    opacity: 1;
  }
}


.upload-block .upload-progress-details {
  font-size: 13px;
}

.upload-block .upload-progress-details span {
  display: block;
  text-align: center;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .upload-block .upload-progress-details {
    width: 80%;
  }
}

.upload-block .upload-finished-details,
.upload-block .upload-verify-details {
  text-align: center;
}

.upload-block .upload-finished-details h1,
.upload-block .upload-verify-details h1 {
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 768px) {

  .upload-block .upload-finished-details h1,
  .upload-block .upload-verify-details h1 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {

  .upload-block .upload-finished-details,
  .upload-block .upload-verify-details {
    width: 80%;
  }
}

.upload-block .upload-verify-details .otp-input-wrapper {
  margin: 30px auto;
  max-width: 400px;
}

.upload-block .upload-verify-details .otp-input-container {
  display: flex;
  gap: 6px;
  justify-content: center;
}

@media (max-width: 768px) {
  .upload-block .upload-verify-details .otp-input-container {
    gap: 8px;
  }
}

.upload-block .upload-verify-details .otp-digit {
  width: 35px;
  height: 40px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  transition: all 0.2s ease;
}

.upload-block .upload-verify-details .otp-digit:focus {
  border-color: #3e8ed0;
  outline: none;
  box-shadow: 0 0 0 4px rgba(50, 115, 220, 0.1);
}

@media (max-width: 768px) {
  .upload-block .upload-verify-details .otp-digit {
    width: 42px;
    height: 52px;
    font-size: 20px;
    border-radius: 10px;
  }
}

.upload-block .upload-finished-details .upload-finished-message,
.upload-block .upload-verify-details .upload-finished-message {
  display: none;
}

.upload-block .upload-finished-details .upload-finished-message.active,
.upload-block .upload-verify-details .upload-finished-message.active {
  display: block;
}

.upload-block .upload-finished-details .upload-finished-message p,
.upload-block .upload-verify-details .upload-finished-message p {
  font-size: 14px;
  padding: 5px 20px 20px 20px;
}

@media (max-width: 768px) {

  .upload-block .upload-finished-details .upload-finished-message p,
  .upload-block .upload-verify-details .upload-finished-message p {
    padding: 0 20px;
  }
}

.upload-block .upload-finished-details .upload-finished-message input,
.upload-block .upload-verify-details .upload-finished-message input {
  width: 90%;
}

.upload-block .upload-verify-details {
  padding: 0 20px;
}

.upload-block .upload-verify-details h1 {
  margin-bottom: 10px;
}

.upload-block .upload-verify-details p {
  margin-bottom: 20px;
}

.upload-block .upload-verify-details p span {
  font-weight: 700;
}

.upload-block .upload-verify-details input {
  margin-bottom: 30px;
}

.selected-files {
  display: none;
  background: #f5f5f5;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 5px 15px 5px 15px;
}

.selected-files.active {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .selected-files {
    border-radius: 0 !important;
  }
}

.selected-files ul {
  flex-grow: 1;
  list-style: none;
}

.selected-files ul li {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  height: 40px;
  padding: 0 10px;
  width: 100%;
  border-bottom: 1px solid #CCC;
  font-size: 12px;
}

.selected-files ul li span {
  display: block;
  width: 100%;
  text-align: left;
}

.selected-files ul li span.name {
  font-size: 13px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.selected-files ul li span.size {
  font-size: 11px;
  color: #746e6e;
}

.selected-files ul li span.delete {
  position: absolute;
  display: none;
  right: 5px;
  top: 9px;
}

.selected-files ul li:hover span.delete {
  display: block;
}

.selected-files ul li:last-child input,
.selected-files ul li:last-child textarea {
  border-bottom: none;
}

.selected-files .stats {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
}

.selected-files .stats span {
  display: block;
  font-size: 11px;
  flex-grow: 1;
  text-align: center;
}

.selected-files .add-buttons {
  display: flex;
  width: 100%;
}

.selected-files .add-buttons .button {
  flex-grow: 1;
  padding: 2px 2px;
}

.selected-files .add-buttons .button:first-child {
  margin-right: 2.5px;
}

.selected-files .add-buttons .button:last-child {
  margin-left: 2.5px;
}

.selected-files.with-preview {
  margin-top: 60px;
  justify-content: center;
}

@media (max-width: 768px) {
  .selected-files.with-preview {
    position: absolute;
    width: 100%;
    bottom: 70px;
    margin-top: 0;
  }
}

.selected-files.with-preview .stats span:first-child {
  text-align: left;
  font-size: 11px;
  padding-left: 10px;
}

.selected-files.with-preview .stats span:last-child {
  text-align: right;
  font-size: 15px;
  padding-right: 10px;
}

.selected-files button {
  margin-top: 5px;
}

.login-block {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF;
  width: 40%;
  max-width: 800px;
  min-width: 400px;
  top: 0;
  left: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .login-block {
    position: relative;
    top: unset;
    left: unset;
    bottom: unset;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}

.login-block form {
  display: block;
  width: 50%;
  min-width: 300px;
}

.login-block form .logo {
  display: block;
  max-width: 300px;
  height: auto;
  margin: 0 auto 60px auto;
}

@media (max-width: 768px) {
  .login-block form .logo {
    margin: 0 auto 30px auto;
  }
}

.login-block form .button {
  border-radius: 15px;
  margin-top: 25px;
}

.login-block form .field {
  margin-top: 15px;
}

.ad-bottom {
  position: fixed;
  bottom: 0;
  left: calc(50% - 364px);
  width: 728px;
  height: 90px;
}

@media (max-width: 768px) {
  .ad-bottom {
    display: none;
  }
}

.ad-sidebar {
  position: fixed;
  right: 0;
  top: calc(50% - 300px);
  width: 160px;
  height: 600px;
}

@media (max-width: 768px) {
  .ad-sidebar {
    display: none;
  }
}

.mobile-ad-block {
  display: none;
  width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .mobile-ad-block {
    display: block;
  }
}

.file-preview-section {
  margin: 40px auto 0;
  max-width: 1080px;
  padding: 0 24px 80px;
}

.file-preview-section .tab.large {
  margin-top: 32px;
  background: transparent;
  box-shadow: none;
}


.file-slider-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 24, 45, 0.82);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.file-slider-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.file-slider-backdrop {
  position: absolute;
  inset: 0;
}

.file-slider-content {
  position: relative;
  z-index: 1;
  width: min(90vw, 960px);
  background: rgba(13, 23, 40, 0.85);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 48px 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.file-slider-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.file-slider-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.file-slider-caption {
  width: 100%;
  text-align: center;
  color: #e3ecff;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.slider-control {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.slider-control:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.slider-control svg {
  display: block;
}

.slider-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.slider-prev,
.slider-next {
  position: relative;
  flex-shrink: 0;
}

body.file-slider-open {
  overflow: hidden;
}

@media (max-width: 992px) {
  .file-preview-section {
    padding: 0 18px 60px;
  }

  .file-slider-content {
    flex-direction: column;
    padding: 32px 24px 40px;
    gap: 18px;
  }

  .slider-prev,
  .slider-next {
    position: static;
    order: 3;
  }

  .slider-prev,
  .slider-next,
  .slider-close {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .file-preview-section {
    padding: 0 14px 40px;
  }

  .file-slider-content {
    width: 94vw;
    padding: 24px 18px 32px;
  }

  .slider-control {
    width: 44px;
    height: 44px;
  }
}

.tab .files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  padding: 10px;
}

.tab .files .file {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(28, 47, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tab .files .file:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(28, 47, 72, 0.14);
}

.tab .files .file-preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.tab .files .file-preview-media {
  position: relative;
  background: linear-gradient(145deg, #f5f7fb, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
}

.tab .files .file-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 24px rgba(62, 142, 208, 0.14);
}

.tab .files .file-preview-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(62, 142, 208, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(62, 142, 208, 0.25);
}

.tab .files .file-preview-badge i {
  font-size: 14px;
}

.tab .files .file-type-icon {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(28, 47, 72, 0.18);
}

.tab .files .file-type-icon span {
  font-size: 14px;
}

.tab .files .file-type-icon i {
  font-size: 24px;
}

.tab .files .file-type-icon--video {
  background: linear-gradient(135deg, #ff6a95, #ff2d55);
}

.tab .files .file-type-icon--pdf {
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
}

.tab .files .file-type-icon--doc {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.tab .files .file-type-icon--xls {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.tab .files .file-type-icon--generic {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.tab .files .file-preview-body {
  padding: 18px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tab .files .file-preview-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tab .files .file-name {
  font-weight: 700;
  font-size: 15px;
  color: #1f2a44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab .files .file-meta {
  font-size: 12px;
  color: #6f7c99;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tab .files .file-preview-actions {
  display: inline-flex;
  gap: 10px;
}

.tab .files .file-preview-actions .action {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fb;
  color: #293a93;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.tab .files .file-preview-actions .action:hover {
  background: #293a93;
  color: #ffffff;
}

.tab .files .file-preview-actions .action i {
  font-size: 16px;
}

.tab .files .file-preview-actions .action-play {
  color: #ff6a95;
}

.tab .files .file-preview-actions .action-play:hover {
  background: #ff6a95;
  color: #ffffff;
}

@media (max-width: 768px) {
  .tab .files {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 6px;
  }

  .tab .files .file-preview-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tab .files .file-preview-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.video-modal {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

/* Contact Page Styles - Compact & Optimized */
.contact-tab {
  padding: 0 !important;
  overflow-y: auto;
  height: 100%;
}

.contact-page-container {
  display: flex;
  min-height: 100vh;
  background: #ffffff;
  padding: 0;
  gap: 0;
  max-width: 80%;
  margin: 0 auto;
  position: relative;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.contact-page-container::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e8e8e8;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .contact-page-container {
    flex-direction: column;
    padding: 0;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
  }

  .contact-page-container::after {
    display: none;
  }
}

.contact-form-section {
  flex: 1;
  max-width: 550px;
  width: 100%;
  padding-right: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .contact-form-section {
    padding-right: 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 30px;
    justify-content: flex-start;
  }
}

.contact-header {
  margin-bottom: 28px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 28px;
  }
}

.contact-subtitle {
  font-size: 15px;
  color: #666666;
  margin: 0;
  line-height: 1.4;
}

.contact-form-modern .field {
  margin-bottom: 18px;
}

.contact-form-modern .field .label {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
  display: block;
}

.contact-form-modern .field .input,
.contact-form-modern .field .select select,
.contact-form-modern .field .textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Google Sans Flex", sans-serif;
  background: #ffffff;
  transition: all 0.2s ease;
  color: #1a1a1a;
  min-height: 48px;
  line-height: 1.5;
}

.contact-form-modern .field .input:focus,
.contact-form-modern .field .select select:focus,
.contact-form-modern .field .textarea:focus {
  outline: none;
  border-color: #293a93;
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.08);
}

.contact-form-modern .field .input::placeholder,
.contact-form-modern .field .select select::placeholder,
.contact-form-modern .field .textarea::placeholder {
  color: #999999;
  font-size: 14px;
}

.contact-form-modern .field .textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 20px;
  padding-bottom: 14px;
  padding: 10px !important;
}

.contact-form-modern .field .select {
  width: 100%;
  position: relative;
  display: block;
}

.contact-form-modern .field .select select {
  width: 100%;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  appearance: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#contact_subject_type {
  font-size: 14px;
}

#contact_subject_type option {
  padding: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-form-modern .field .select select option[value=""] {
  color: #999999;
}

.contact-form-modern .field .select select option:not([value=""]) {
  color: #1a1a1a;
}

.contact-form-modern .field .select select:hover {
  border-color: #c0c0c0;
  background-color: #fafafa;
}

.contact-form-modern .field .select select:focus {
  border-color: #293a93;
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.08);
  background-color: #ffffff;
}

.contact-form-modern .field .has-icons-right {
  position: relative;
}

.contact-form-modern .field .has-icons-right .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999999;
  font-size: 14px;
}

.contact-instruction {
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
  margin: 12px 0 20px 0;
}

.contact-send-btn {
  background: #293a93 !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Google Sans Flex", sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.contact-send-btn .send-btn-text {
  display: inline-block;
}

.contact-send-btn .send-btn-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.contact-send-btn:hover {
  background: #2366d1 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(50, 115, 220, 0.3);
}

.contact-send-btn:hover .send-btn-icon {
  transform: translateX(3px);
}

.contact-send-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(50, 115, 220, 0.25);
}

/* Contact Form Notifications */
#contactFormNotification .notification {
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: "Google Sans Flex", sans-serif;
  border-left: 3px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#contactFormNotification .notification.is-success {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  border-left-color: #047857;
}

#contactFormNotification .notification.is-warning {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  border-left-color: #d97706;
}

#contactFormNotification .notification.is-danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  border-left-color: #b91c1c;
}

.contact-illustrations-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding-left: 50px;
}

@media (max-width: 768px) {
  .contact-illustrations-section {
    min-height: 300px;
    padding: 15px 0 0 0;
  }
}

.creative-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

.creative-header {
  text-align: center;
  margin-bottom: 10px;
}

.creative-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.creative-subtitle {
  font-size: 15px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}

.creative-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4a4a4a;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.feature-item i {
  color: #293a93;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-item span {
  font-weight: 500;
}

.feature-item:hover {
  background: #f0f0f0;
  transform: translateX(4px);
}

.illustration-container {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 768px) {
  .illustration-container {
    gap: 20px;
  }
}

.illustration-item {
  position: relative;
  width: 160px;
  height: 160px;
  perspective: 1000px;
}

@media (max-width: 768px) {
  .illustration-item {
    width: 120px;
    height: 120px;
  }
}

.illustration-ground {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg) rotateZ(-45deg);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.illustration-ground::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 16px;
  height: 16px;
  background: #66bb6a;
  border-radius: 50%;
  box-shadow: 24px 24px 0 #66bb6a, 48px 8px 0 #66bb6a, 8px 40px 0 #66bb6a;
}

.illustration-cloud {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 25px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: -16px 0 0 #ffffff, 16px 0 0 #ffffff, -8px -8px 0 #ffffff, 8px -8px 0 #ffffff;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.illustration-support .illustration-building {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg) rotateZ(-45deg);
  width: 100px;
  height: 115px;
}

.illustration-support .building-body {
  width: 100%;
  height: 80px;
  background: #e0e0e0;
  position: relative;
  border-radius: 3px 3px 0 0;
}

.illustration-support .building-body .building-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: #293a93;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-support .building-body .building-logo i {
  font-size: 24px;
  color: #293a93;
}

.illustration-support .building-roof {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 32px solid #293a93;
  margin-bottom: -1px;
}

.illustration-support .building-sign {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #293a93;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.illustration-faq .illustration-browser {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg) rotateZ(-45deg);
  width: 115px;
  height: 100px;
  background: #e3f2fd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.illustration-faq .browser-header {
  height: 24px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid #e0e0e0;
}

.illustration-faq .browser-dots {
  display: flex;
  gap: 5px;
}

.illustration-faq .browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0e0e0;
}

.illustration-faq .browser-dots span:nth-child(1) {
  background: #ff5f57;
}

.illustration-faq .browser-dots span:nth-child(2) {
  background: #ffbd2e;
}

.illustration-faq .browser-dots span:nth-child(3) {
  background: #28ca42;
}

.illustration-faq .browser-content {
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px;
}

.illustration-faq .faq-icon {
  font-size: 38px;
  font-weight: 700;
  color: #293a93;
  margin-bottom: 6px;
}

.illustration-faq .faq-text {
  font-size: 14px;
  font-weight: 600;
  color: #293a93;
}

.illustration-faq .browser-cursor {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 16px;
  height: 16px;
  border: 2px solid #293a93;
  border-radius: 2px;
  transform: rotate(45deg);
}

.illustration-faq .browser-cursor::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 6px;
  height: 6px;
  background: #293a93;
  border-radius: 50%;
}

.illustration-envelope .illustration-envelope {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg) rotateZ(-45deg);
  width: 100px;
  height: 85px;
}

.illustration-envelope .envelope-body {
  width: 100%;
  height: 60px;
  background: #e3f2fd;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-envelope .envelope-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #bbdefb;
  border-radius: 3px 3px 0 0;
}

.illustration-envelope .envelope-body .envelope-icon {
  position: relative;
  z-index: 1;
  font-size: 20px;
  color: #293a93;
}

.illustration-envelope .envelope-flap {
  position: absolute;
  top: -16px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 25px solid #90caf9;
  transform-origin: bottom;
  transform: rotateX(180deg);
  border-radius: 3px 3px 0 0;
}

/* Terms of Service Page Styles - Override default tab styles */
.tab-window .tab.terms-page-tab {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  overflow: hidden !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.terms-page-tab {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  height: 100% !important;
  background: #ffffff !important;
  width: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.terms-page-tab h1 {
  font-size: 28px !important;
  margin-bottom: 10px !important;
}

.terms-page-tab h2 {
  font-size: 20px !important;
  margin-bottom: 10px !important;
}

.terms-page-header {
  position: relative;
  width: 100%;
  height: 64px;
  flex-shrink: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: #ffffff;
  margin-top: 0;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.terms-close-btn {
  position: relative;
  left: 0;
  top: 0;
  transform: none;
  font-size: 22px;
  color: #666666;
  text-decoration: none;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s ease;
  background: rgb(46 38 38 / 9%);

}

.terms-close-btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
  transform: scale(1.05);
}

.terms-close-btn:active {
  transform: scale(0.95);
}

.terms-close-btn i {
  font-size: 14px;
}


.terms-page-container {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #ffffff;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.terms-sidebar {
  width: 320px;
  min-width: 320px;
  background: #ffffff;
  padding: 0;
  border-right: 1px solid #e8e8e8;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
  height: 100vh;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 768px) {
  .terms-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: relative;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 0;
  }
}

.terms-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.terms-nav::-webkit-scrollbar {
  width: 6px;
}

.terms-nav::-webkit-scrollbar-track {
  background: transparent;
}

.terms-nav::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.terms-nav::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

.terms-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #4a4a4a;
  background: transparent;
  position: relative;
  margin-bottom: 4px;
  font-family: "Google Sans Flex", sans-serif;
  min-height: 56px;
  border: 1px solid transparent;
}

.terms-nav-item i {
  font-size: 18px;
  color: #666666;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  display: inline-block !important;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  visibility: visible !important;
  opacity: 1 !important;
}

.terms-nav-item i::before {
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.terms-nav-item .nav-item-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.terms-nav-item .nav-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -0.1px;
}

.terms-nav-item .nav-item-subtitle {
  font-size: 12px;
  color: #888888;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.terms-nav-item:hover {
  background: rgba(62, 142, 208, 0.1);
  color: #293a93;
  border-color: rgba(62, 142, 208, 0.2);
  transform: translateX(2px);
  text-decoration: none;
}

.terms-nav-item:hover i {
  color: #293a93;
  transform: scale(1.05);
}

.terms-nav-item.active {
  background: linear-gradient(135deg, #293a93 0%, #293a93 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(50, 115, 220, 0.3);
  transform: translateX(0);
  border-color: transparent;
}

.terms-nav-item.active i {
  color: #ffffff;
  transform: scale(1.05);
}

.terms-nav-item.active .nav-item-title {
  color: #ffffff;
  font-weight: 700;
}

.terms-nav-item.active .nav-item-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.terms-nav-item.active:hover {
  background: linear-gradient(135deg, #293a93 0%, #2366d1 100%);
  box-shadow: 0 6px 16px rgba(50, 115, 220, 0.4);
  text-decoration: none;
}

.terms-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: #ffffff;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.terms-content-area {
  flex: 1;
  padding: 32px 40px;
  max-width: none;
  width: 100%;
  overflow-y: auto;
  height: 100%;
  min-width: 0;
  background: #ffffff;
}

@media (max-width: 768px) {
  .terms-content-area {
    padding: 24px 20px;
  }
}

.terms-content-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.terms-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .terms-main-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
}

.terms-version-info {
  margin-bottom: 14px;
}

.version-text {
  font-size: 13px;
  color: #666666;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.terms-pdf-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pdf-document-link {
  font-size: 14px;
  color: #293a93;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(50, 115, 220, 0.08);
}

.pdf-document-link:hover {
  color: #2366d1;
  background: rgba(50, 115, 220, 0.12);
  transform: translateY(-1px);
}

.pdf-document-link i {
  font-size: 16px;
}

.pdf-hash {
  font-size: 11px;
  color: #999999;
  font-family: 'Courier New', monospace;
  background: #f8f8f8;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.terms-content-section {
  display: none;
}

.terms-content-section.active {
  display: block;

}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terms-content-body {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  /* max-width: 900px; */
}

.terms-content-body p {
  margin-bottom: 18px;
  color: #444444;
  font-weight: 400;
}

.terms-content-body h2,
.terms-content-body h3,
.terms-content-body h4 {
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.terms-content-body h2 {
  font-size: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.terms-content-body h3 {
  font-size: 20px;
  margin-top: 28px;
}

.terms-content-body h4 {
  font-size: 16px;
  margin-top: 24px;
}

.terms-content-body ul,
.terms-content-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.terms-content-body ul li,
.terms-content-body ol li {
  margin-bottom: 12px;
  color: #444444;
  line-height: 1.7;
}

.terms-content-body ul li::marker,
.terms-content-body ol li::marker {
  color: #293a93;
}


.terms-content-body strong {
  font-weight: 600;
  color: #1a1a1a;
}

.terms-content-body a {
  color: #293a93;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms-content-body a:hover {
  color: #2366d1;
  text-decoration: none;
}

.terms-content-body blockquote {
  border-left: 4px solid #293a93;
  padding: 16px 20px;
  margin: 24px 0;
  color: #666666;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 4px;
}

/* Account Tab Styling - Vertical Layout (Similar to Terms Page) */
.tab#tab-account .terms-page-container {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #ffffff;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.tab#tab-account .terms-sidebar {
  width: 320px;
  min-width: 320px;
  background: #ffffff;
  padding: 0;
  border-right: 1px solid #e8e8e8;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
  height: 100vh;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 768px) {
  .tab#tab-account .terms-page-container {
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
  }

  .tab#tab-account .terms-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: 200px;
    position: relative;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 0;
    flex-shrink: 0;
    overflow-y: auto;
  }

  .tab#tab-account .terms-content-area {
    flex: 1;
    height: auto;
    min-height: 0;

    overflow-y: auto;
    padding: 0px !important;
  }
}

.tab#tab-account .terms-content-area {
  flex: 1;
  padding: 20px 24px;
  max-width: none;
  width: 100%;
  overflow-y: auto;
  height: 100%;
  min-width: 0;
  background: #ffffff;
  position: relative;
}

.tab#tab-account .account-tab {
  display: none;
  width: 100%;
  background: transparent;

}

.tab#tab-account .account-tab.active {
  display: block;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Card Wrapper */
.tab#tab-account .account-tab-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.tab#tab-account .account-tab h1,
.tab#tab-account .account-tab h2,
.tab#tab-account .account-tab h3,
.tab#tab-account .account-tab h4 {
  color: #1e293b;
  font-family: "Google Sans Flex", sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tab#tab-account .account-tab h1 {
  font-size: 32px;
  margin-bottom: 32px;
  color: #293a93;
}

.tab#tab-account .account-tab h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #1e293b;
  font-weight: 700;
}

.tab#tab-account .account-tab h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #1e293b;
  font-weight: 600;
}

.tab#tab-account .account-tab p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 400;
}

.tab#tab-account .account-tab .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 24px 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.tab#tab-account .account-tab .table thead {
  background: #f8f9fa;
}

.tab#tab-account .account-tab .table thead th {
  padding: 12px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
  font-family: "Google Sans Flex", sans-serif;
  cursor: pointer;
  user-select: none;
}

.tab#tab-account .account-tab .table thead th:hover {
  background-color: #f8fafc;
}

.searc_parre {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 15px !important;
}

.searc_parre>*:first-child {
  flex: 0 1 auto;
}

.searc_parre>*:last-child {
  flex: 0 0 auto;
  margin-left: auto;
}

.tab#tab-account .account-tab .table thead th::after {
  content: '⇅';
  opacity: 0.3;
  margin-left: 4px;
  font-size: 12px;
}

.tab#tab-account .account-tab .table thead th.asc::after {
  content: '↑';
  opacity: 1;
}

.tab#tab-account .account-tab .table thead th.desc::after {
  content: '↓';
  opacity: 1;
}

.tab#tab-account .account-tab .table thead th.no-sort {
  cursor: default;
}

.tab#tab-account .account-tab .table thead th.no-sort::after {
  content: none;
}

.tab#tab-account .account-tab .table thead th.no-sort:hover {
  background-color: transparent;
}

.account-search-container {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-end;
}

.account-search-input {
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  width: 260px;
  font-family: inherit;
  transition: all 0.2s;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.account-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tab#tab-account .account-tab .table thead th.actions-column {
  text-align: center;
}

.tab#tab-account .account-tab .table tr {
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab#tab-account .account-tab .table tbody tr:hover {
  background: rgba(41, 58, 147, 0.05);
  transform: translateX(2px);
}

.tab#tab-account .account-tab .table tbody tr:last-child {
  border-bottom: none;
}

.tab#tab-account .account-tab .table td {
  padding: 16px 20px;
  vertical-align: middle;
  font-size: 14px;
  color: #334155;
}

.tab#tab-account .account-tab .table td .upload-id {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.tab#tab-account .account-tab .table td .upload-email {
  color: #1e293b;
  font-weight: 500;
  max-width: 250px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab#tab-account .account-tab .table td .upload-size {
  color: #475569;
  font-weight: 500;
}

.tab#tab-account .account-tab .table td .upload-expire {
  color: #64748b;
}

.tab#tab-account .account-tab .table td .upload-downloads {
  color: #293a93;
  font-weight: 600;
}

.tab#tab-account .account-tab .table td strong {
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.tab#tab-account .account-tab .table td .upload-files {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 600;
  min-width: 24px;
}

.tab#tab-account .account-tab .table td#table_value {
  color: #334155;
  text-align: right;
  font-weight: 500;
}

.tab#tab-account .account-tab .field {
  margin-bottom: 24px;
}

.tab#tab-account .account-tab .field .label {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: "Google Sans Flex", sans-serif;
  letter-spacing: -0.01em;
  display: block;
}

.tab#tab-account .account-tab .field .control .input,
.tab#tab-account .account-tab .field .control .textarea,
.tab#tab-account .account-tab .field .control select.input {
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: #1e293b;
  font-family: "Google Sans Flex", sans-serif;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab#tab-account .account-tab .field .control .input:focus,
.tab#tab-account .account-tab .field .control .textarea:focus,
.tab#tab-account .account-tab .field .control select.input:focus {
  outline: none;
  border-color: #293a93;
  box-shadow: 0 0 0 3px rgba(41, 58, 147, 0.1);
}

.tab#tab-account .account-tab .field .control .input::placeholder,
.tab#tab-account .account-tab .field .control .textarea::placeholder,
.tab#tab-account .account-tab .field .control select.input::placeholder {
  color: #94a3b8;
}

.tab#tab-account .account-tab .button {
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: "Google Sans Flex", sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  position: relative;
}

.tab#tab-account .account-tab .button.is-info {
  background: #293a93;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(41, 58, 147, 0.3);
  position: relative;
  z-index: 1;
}

.tab#tab-account .account-tab .button.is-info:hover {
  background: #1e2a6b;
  box-shadow: 0 4px 12px rgba(41, 58, 147, 0.4);
}

.tab#tab-account .account-tab .button.is-info:active {
  background: #293a93;
  box-shadow: 0 2px 8px rgba(41, 58, 147, 0.3);
}

.tab#tab-account .account-tab .button.is-fullwidth {
  width: 100%;
  padding: 16px 28px;
}

.tab#tab-account .account-tab .notification {
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  font-family: "Google Sans Flex", sans-serif;
  border-left: 3px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tab#tab-account .account-tab .notification.is-success {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  border-left-color: #047857;
}

.tab#tab-account .account-tab .notification.is-danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  border-left-color: #b91c1c;
}

.tab#tab-account .account-tab a {
  color: #293a93;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
}

.tab#tab-account .account-tab a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #293a93;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab#tab-account .account-tab a:hover {
  color: #1e2a6b;
  text-decoration: none;
}

.tab#tab-account .account-tab a:hover::after {
  width: 100%;
}

.tab#tab-account .account-tab #errors,
.tab#tab-account .account-tab #errorsOther {
  margin-bottom: 24px;
}

.tab#tab-account .account-tab hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 32px 0;
  border-radius: 2px;
}

/* Action Buttons in Table */
.tab#tab-account .account-tab .table td.actions-cell {
  padding: 12px 20px;
  text-align: center;
}

.tab#tab-account .account-tab .table .action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.tab#tab-account .account-tab .table .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid;
  font-family: "Google Sans Flex", sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.tab#tab-account .account-tab .table .action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

.tab#tab-account .account-tab .table .action-btn:hover::before {
  width: 200px;
  height: 200px;
}

.tab#tab-account .account-tab .table .action-btn i {
  font-size: 14px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab#tab-account .account-tab .table .action-btn span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.tab#tab-account .account-tab .table .action-btn.delete-btn {
  background: #ffffff;
  color: #dc2626;
  border-color: #fecaca;
}

.tab#tab-account .account-tab .table .action-btn.delete-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #dc2626;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.tab#tab-account .account-tab .table .action-btn.delete-btn:hover i {
  transform: rotate(15deg) scale(1.1);
}

.tab#tab-account .account-tab .table .action-btn.open-btn {
  background: #ffffff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.tab#tab-account .account-tab .table .action-btn.open-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #2563eb;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.tab#tab-account .account-tab .table .action-btn.open-btn:hover i {
  transform: scale(1.15);
}

.tab#tab-account .account-tab .table .action-btn.copy-btn {
  background: #ffffff;
  color: #293a93;
  border-color: #e0f2fe;
}

.tab#tab-account .account-tab .table .action-btn.copy-btn:hover {
  background: #f0f9ff;
  color: #1e2a6b;
  border-color: #293a93;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(41, 58, 147, 0.2);
}

.tab#tab-account .account-tab .table .action-btn.copy-btn:hover i {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .tab#tab-account .account-tab .table .action-btn span {
    display: none;
  }

  .tab#tab-account .account-tab .table .action-btn {
    padding: 6px 8px;
    min-width: 32px;
    justify-content: center;
  }

  .tab#tab-account .account-tab .table .action-buttons {
    gap: 3px;
  }
}

/* Card-style sections */
.tab#tab-account .account-tab>div:not(.account-tab-content-wrapper) {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab#tab-account .account-tab>div:not(.account-tab-content-wrapper):hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Storage Usage Display in Tab Header */
.tab#tab-account .tabs.core .account-storage-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  font-family: "Google Sans Flex", sans-serif;
  white-space: nowrap;
  margin-left: auto;
}

.tab#tab-account .tabs.core .account-storage-info .storage-text {
  color: #475569;
  font-weight: 500;
}

.tab#tab-account .tabs.core .account-storage-info .storage-amount {
  color: #293a93;
  font-weight: 600;
}

.tab#tab-account .tabs.core .account-storage-info.is-danger {
  background: #fee2e2;
  color: #991b1b;
}

.tab#tab-account .tabs.core .account-storage-info.is-danger .storage-amount {
  color: #dc2626;
}

/*# sourceMappingURL=style.css.map */
/* File Preview Section (below header) */
.file-preview-section {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}

.file-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.file-preview-header h3 {
  font-size: 18px;
  margin: 0;
}

.file-preview-subtitle {
  color: #777;
  font-size: 13px;
  margin-top: 4px;
}

.file-preview-download-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 12px;
}

.file-preview-download-all:hover {
  background: #f7faff;
  border-color: #dbe8f5;
}

/* ============================================
   MODERN FILES PREVIEW - MARKET TREND DESIGN
   Clean & Minimal like Dropbox/Google Drive
   ============================================ */

/* Tab Files Container */
#tab-files {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Close Button Header */
.files-close-header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 15px;
  z-index: 10000;
}

.files-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.files-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  text-decoration: none;
}

.files-close-btn i {
  font-size: 18px;
}

/* Main Container */
.modern-files-container {
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 25px;
  padding-bottom: 120px;
  margin-top: 60px;
  /* Space for fixed footer */
  /*background: #ffffff;*/
  min-height: calc(100vh - 120px);
}

/* Header - REMOVED, now in footer */

.header-left {
  flex: 1;
}

.files-heading {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.modern-files-header .header-left .files-heading {
  font-size: 19px;
}

.files-meta {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

.download-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #293a93;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.download-all-btn:hover {
  background: #0052cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  color: #ffffff;
}

.download-all-btn i {
  font-size: 16px;
}

/* Files Grid */
.modern-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* File Card */
.file-card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.file-card-modern:hover {
  border-color: #293a93;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Download Section at Bottom */
.file-download-section {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  gap: 8px;
}

.file-action-btn-bottom {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.play-btn-bottom {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.play-btn-bottom:hover {
  background: #e75601;
  color: #ffffff;
  border-color: #e75601;
  transform: translateY(-1px);
}

.file-download-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #293a93;
  color: #ffffff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.file-download-btn:hover {
  background: #0052cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  color: #ffffff !important;
}

.file-download-btn i {
  font-size: 16px;
}

/* Fixed Footer */
.files-footer-fixed {
  display: none;
  /* Hidden by default */
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  background: #ffffff;
  border-top: 2px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10001;
  padding: 20px 24px;
}

/* Show footer only when files tab is active */
#tab-files.active~.files-footer-fixed,
#tab-files.active~#preview-footer {
  display: block;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-icon i {
  font-size: 24px;
  color: #ffffff;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-meta {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

.footer-download-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #ff7600;
  color: #ffffff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-download-all-btn:hover {
  background: #bd5a04;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
  color: #ffffff !important;
  text-decoration: none;
}

.footer-download-all-btn i {
  font-size: 18px;
}

/* Image Preview Modal - Higher z-index */
.image-preview-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100000;
}

.image-modal-close:hover {
  color: #0066ff;
  transform: scale(1.1);
}

.image-modal-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-modal-caption {
  margin-top: 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-files-container {
    padding: 24px 16px 120px;
  }

  .modern-files-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .files-heading {
    font-size: 24px;
  }

  .file-preview-modern {
    height: 180px;
  }

  .image-modal-close {
    top: 10px;
    right: 20px;
    font-size: 36px;
  }

  .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .footer-download-all-btn {
    width: 100%;
    justify-content: center;
  }

  .files-footer-fixed {
    padding: 16px;
  }
}

@media (max-width: 480px) {

  .file-download-btn span,
  .file-action-btn-bottom span {
    font-size: 13px;
  }

  .preview-badge-left,
  .preview-badge-right {
    font-size: 10px;
    padding: 4px 8px;
  }

  .footer-heading {
    font-size: 16px;
  }

  .footer-meta {
    font-size: 12px;
  }

  .footer-icon {
    width: 40px;
    height: 40px;
  }

  .footer-icon i {
    font-size: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .modern-files-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) {
  .modern-files-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Preview Area */
.file-preview-modern {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

/* Preview Badges */
.preview-badge-left {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.preview-badge-right {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Image Preview */
.image-preview-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  position: relative;
}

.file-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.file-card-modern:hover .file-image {
  transform: scale(1.05);
}

.image-preview-wrapper:hover .file-image {
  transform: scale(0.95);
}

/* Image Preview Overlay */
.image-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-preview-wrapper:hover .image-preview-overlay {
  opacity: 1;
}

.image-preview-overlay i {
  font-size: 32px;
  color: #ffffff;
}

.image-preview-overlay span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Icon Wrapper */
.file-icon-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.file-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.file-icon-circle i {
  font-size: 36px;
  color: #ffffff;
}

.file-card-modern:hover .file-icon-circle {
  transform: scale(1.1);
}

/* Video Play Button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
}

.video-play-btn i {
  font-size: 24px;
  color: #ef4444;
  margin-left: 2px;
}

/* File Info */
.file-info-modern {
  padding: 16px;
  flex: 1;
}

.file-name-modern {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Download Section at Bottom */
.file-download-section {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.file-download-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #293a93;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.file-download-btn:hover {
  background: #1c2866;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  text-decoration: none;
}

.file-download-btn i {
  font-size: 16px;
}

/* Image Preview Modal */
.image-preview-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10000;
}

.image-modal-close:hover {
  color: #0066ff;
  transform: scale(1.1);
}

.image-modal-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-modal-caption {
  margin-top: 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-files-container {
    padding: 24px 16px;
  }

  .modern-files-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .download-all-btn {
    width: 100%;
    justify-content: center;
  }

  .modern-files-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .files-heading {
    font-size: 24px;
  }

  .file-preview-modern {
    height: 180px;
  }

  .image-modal-close {
    top: 10px;
    right: 20px;
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .file-download-btn span {
    font-size: 13px;
  }

  .preview-badge-left,
  .preview-badge-right {
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .modern-files-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) {
  .modern-files-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.login-creative-title,
.login-creative-subtitle {
  color: #ffffff !important;
}

/* Mobile Footer for Upload Buttons */
@media (max-width: 768px) {

  /* Fix button-block (upload and options) to footer on mobile */
  .upload-block .upload-block-content .button-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    border-radius: 0;
    border-top: 1px solid rgba(107, 113, 119, 0.2);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
    margin-top: 0;
  }

  /* Ensure buttons are properly sized in footer */
  .upload-block .upload-block-content .button-block button {
    min-width: auto;
    flex: 1;
    max-width: 70%;
  }

  .upload-block .upload-block-content .button-block button.options {
    flex: none;
    width: 50px;
    min-width: 50px;
    margin-left: 12px;
  }

  /* Add padding to upload-block-inner to prevent content from hiding behind fixed footer */
  .upload-block .upload-block-inner {
    padding-bottom: 80px;
  }

  /* Make the form section come from bottom and look docked */
  .upload-block .upload-form {
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }

  .upload-block .upload-form .select-first-files {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: none;
    max-height: calc(100vh - 550px);
    /*min-height: 220px;*/
    /* Reduced space */
  }

  .upload-block .upload-form .select-first-files .outside-container lord-icon {
    width: 130px !important;
    height: 130px !important;
    /* Slightly smaller icon */
  }

  .upload-block .upload-block-content span.description {
    font-size: 20px;
    /* More compact font */
    padding: 5px 5px;
    font-weight: 600;
  }

  .upload-block .upload-block-content span.folder-select {
    font-size: 14px;
    padding-top: 5px;
    display: block;
  }

  .upload-block .upload-form form {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 28px 28px 0 0;
    padding: 0px 10px 5px 10px;
    /* Reduced paddings */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 5;
  }

  .upload-block .upload-form form .input-group {
    margin: 10px 15px;
    /* Compact group margin */
  }

  .upload-block .upload-form form .input-group input,
  .upload-block .upload-form form .input-group textarea {
    background: #f8fafc !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    font-size: 14px !important;
    height: auto !important;
  }

  /* Compact Recipients horizontal row on mobile */
  .upload-block .upload-form form .input-group .recipients {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 5px 0 !important;
    gap: 6px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px !important;
  }

  .upload-block .upload-form form .input-group .recipients span.tag {
    padding: 6px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  /* Advanced Options coming from bottom drawer feel */
  .upload-block .upload-form form .advanced-options {
    background: #ffffff !important;
    border-radius: 24px 24px 0 0 !important;
    margin: 0 -10px -80px -10px !important;
    /* Pull from edges */
    padding: 10px 10px 5px 10px !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.05) !important;
    position: relative;
    z-index: 10;
  }

  .upload-block .upload-form form .advanced-options .input-group {
    margin-bottom: 15px !important;
  }

  .upload-block .upload-form .radio-group .radio {
    padding: 8px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .upload-block .upload-form .radio-group {
    padding: 3px !important;
    border-radius: 12px !important;
  }
}

.us_bar_css {
  display: flex;
  justify-content: flex-end;
  padding: 0px;
  border: 0px;
  background: transparent;
  box-shadow: none;
}

/* ===============================================
   ACCOUNT PAGE MOBILE RESPONSIVE STYLES
   =============================================== */

@media (max-width: 768px) {
  .us_bar_css {
    display: block;
  }

  /* Fix scrolling for page tabs on mobile */
  .terms-page-tab,
  .tab-window .tab.terms-page-tab {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .terms-page-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Make account tab container use column layout on mobile */
  #tab-account .terms-page-container,
  .tab#tab-account {
    flex-direction: column;
  }

  /* Horizontal scrollable tabs for mobile */
  .terms-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .terms-nav {
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
  }

  .terms-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .terms-nav-item {
    flex-shrink: 0;
    min-height: auto;
    min-width: max-content;
    padding: 10px 14px;
    margin-bottom: 0;
    border-radius: 25px;
    gap: 8px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
  }

  .terms-nav-item .nav-item-content {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }

  .terms-nav-item .nav-item-title {
    font-size: 13px;
    white-space: nowrap;
  }

  .terms-nav-item .nav-item-subtitle {
    display: none;
  }

  .terms-nav-item i {
    font-size: 16px;
    width: auto;
  }

  .terms-nav-item:hover {
    transform: none;
  }

  .terms-nav-item.active {
    transform: none;
    border-radius: 25px;
  }

  .terms-nav-item.active::before {
    display: none;
  }

  /* Table to Card View Conversion */
  .account-tab .table thead,
  #uploads .table thead,
  #received .table thead {
    display: none;
  }

  .account-tab .table,
  .account-tab .table tbody,
  .account-tab .table tr,
  .account-tab .table td,
  #uploads .table,
  #uploads .table tbody,
  #uploads .table tr,
  #uploads .table td,
  #received .table,
  #received .table tbody,
  #received .table tr,
  #received .table td {
    display: block;
    width: 100%;
  }

  .account-tab .table tr,
  #uploads .table tr,
  #received .table tr {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .account-tab .table tr:hover,
  #uploads .table tr:hover,
  #received .table tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .account-tab .table td,
  #uploads .table td,
  #received .table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
  }

  .account-tab .table td:last-child,
  #uploads .table td:last-child,
  #received .table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .account-tab .table td:first-child,
  #uploads .table td:first-child,
  #received .table td:first-child {
    padding-top: 0;
  }

  /* Card labels - Using CSS content based on nth-child */
  #uploads .table tbody tr td:nth-child(1)::before {
    content: "Select";
  }

  #uploads .table tbody tr td:nth-child(2)::before {
    content: "ID";
  }

  #uploads .table tbody tr td:nth-child(3)::before {
    content: "Email To";
  }

  #uploads .table tbody tr td:nth-child(4)::before {
    content: "Message";
  }

  #uploads .table tbody tr td:nth-child(5)::before {
    content: "Size";
  }

  #uploads .table tbody tr td:nth-child(6)::before {
    content: "Date";
  }

  #uploads .table tbody tr td:nth-child(7)::before {
    content: "Expires";
  }

  #uploads .table tbody tr td:nth-child(8)::before {
    content: "Downloads";
  }

  #uploads .table tbody tr td:nth-child(9)::before {
    content: "Actions";
  }

  #received .table tbody tr td:nth-child(1)::before {
    content: "Select";
  }

  #received .table tbody tr td:nth-child(2)::before {
    content: "ID";
  }

  #received .table tbody tr td:nth-child(3)::before {
    content: "From";
  }

  #received .table tbody tr td:nth-child(4)::before {
    content: "Message";
  }

  #received .table tbody tr td:nth-child(5)::before {
    content: "Files";
  }

  #received .table tbody tr td:nth-child(6)::before {
    content: "Size";
  }

  #received .table tbody tr td:nth-child(7)::before {
    content: "Expires";
  }

  #received .table tbody tr td:nth-child(8)::before {
    content: "Actions";
  }

  .account-tab .table td::before,
  #uploads .table td::before,
  #received .table td::before {
    font-weight: 600;
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    flex-shrink: 0;
    margin-right: 10px;
  }

  /* Hide checkbox column label on mobile */
  #uploads .table tbody tr td:nth-child(1)::before,
  #received .table tbody tr td:nth-child(1)::before {
    display: none;
  }

  /* Action buttons layout for card view */
  .account-tab .table td .action-buttons,
  #uploads .table td .action-buttons,
  #received .table td .action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .action-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Usage Bar Mobile Adjustments */
  .searc_parre {
    flex-direction: column;
    gap: 12px;
  }

  .searc_parre>div[style*="display: flex; justify-content: flex-end"] {
    justify-content: center !important;
  }

  .searc_parre>div[style*="display: flex; justify-content: flex-end"]>div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .account-search-input {
    width: 100%;
  }

  /* Bulk actions toolbar mobile */
  #bulk-actions-toolbar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px !important;
  }

  #bulk-actions-toolbar>div {
    width: 100%;
    justify-content: space-between;
  }

  #bulk-actions-toolbar #bulk-delete-btn {
    width: 100%;
  }

  /* Terms content area mobile adjustments */
  .terms-content-area {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Account tab content mobile */
  .account-tab {
    padding: 0;
  }

  /* No subscription container mobile */
  .no-subscription-container {
    width: 100% !important;
    padding: 16px !important;
  }

  .no-subscription-wrapper {
    max-height: none;
    padding-right: 0;
  }

  /* Feature cards grid on mobile */
  .no-subscription-container div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Login form section mobile in reset password */
  .account-tab#reset-password .login-form-section {
    width: 100% !important;
    padding: 20px !important;
  }

  /* =========================================
     TERMS & ABOUT PAGES - HORIZONTAL TABS
     (Same structure as account tabs)
     ========================================= */

  /* Terms and About pages use same .terms-sidebar/.terms-nav structure,
     so the mobile styles above already apply. Just ensure proper stacking: */
  .terms-page-tab .terms-page-container,
  #tab-terms .terms-page-container {
    flex-direction: column;
  }

  /* =========================================
     CONTACT PAGE - FIXED SEND BUTTON
     ========================================= */

  .contact-tab .contact-page-container {
    padding-bottom: 100px;
    /* Space for fixed button */
  }

  .contact-tab .contact-form-section {
    padding-bottom: 20px;
  }

  /* Fixed send button at bottom */
  /* Rule moved and consolidated below */

  .contact-tab .contact-send-btn {
    width: 100%;
    justify-content: center;
  }

  /* Hide creative section on mobile contact */
  .contact-tab .contact-form-wrapper {
    padding-bottom: 120px;
    padding-top: 10px;
  }

  .contact-tab .contact-form-section {
    width: 100% !important;
    display: block !important;
    height: auto !important;
    padding: 20px !important;
  }

  .contact-form-modern .columns {
    display: block !important;
    margin: 0 !important;
  }

  .contact-form-modern .column {
    width: 100% !important;
    padding: 0 0 16px 0 !important;
  }

  .contact-tab .contact-form-modern .contact-submit-field {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .contact-form-modern .select::after {
    top: 50% !important;
    margin-top: -0.4375em !important;
    right: 1.125em !important;
  }

  #tab-contact .login-modal {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================
   PREMIUM CHANGE PASSWORD TAB STYLES
   ========================================= */

.section-title-premium {
  margin: 0 0 24px 0;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.3px;
}

.section-title-premium.sm {
  font-size: 18px;
  margin: 0;
}

.section-desc {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.section-desc.mb-lg {
  margin-bottom: 32px;
}

/* Premium Inputs */
.premium-input-group {
  margin-bottom: 20px;
}

.premium-input-wrapper {
  position: relative;
  transition: all 0.3s ease;
}

.premium-input-wrapper input {
  padding-right: 40px !important;
}

.premium-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-weight: 500;
}

.password-section-container {
  border: none !important;
  box-shadow: none !important;
}

.password-section-container .password-section {
  margin-bottom: 48px;
  width: 550px;
  max-width: 100%;

}

.premium-input:focus {
  background: #ffffff;
  border-color: #293a93;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  outline: none;
}

.premium-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.premium-password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #94a3b8;
  transition: all 0.2s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-password-toggle:hover {
  color: #293a93;
  background: rgba(99, 102, 241, 0.05);
}

.premium-password-toggle i {
  font-size: 20px;
  transition: all 0.2s ease;
  position: relative;
}

.premium-password-toggle i.lni-eye-close::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 2px;
  background-color: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

/* Premium Primary Button */
.premium-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #293a93;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Google Sans Flex', sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1), 0 2px 4px -1px rgba(99, 102, 241, 0.06);
  width: auto;
  min-width: 180px;
}

.premium-btn-primary:hover {
  background: #293a93;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.premium-btn-primary:active {
  transform: translateY(0);
}

/* Divider */
.premium-divider {
  height: 1px;
  background: linear-gradient(to right, #e2e8f0, #f1f5f9);
  margin: 30px 0;
}

/* Two-Factor Section styling */
.section-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.info-tooltip {
  width: 20px;
  height: 20px;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition: all 0.2s ease;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.modal-background {
  background-color: rgba(10, 10, 10, .95) !important;
}

.modal {
  z-index: 99999;
}

.info-tooltip:hover {
  border-color: #293a93;
  color: #293a93;
  background: rgba(99, 102, 241, 0.05);
}

.email-2fa-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-icon {
  font-size: 20px;
  color: #293a93;
  background: #e0e7ff;
  padding: 10px;
  border-radius: 12px;
}

.card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Google Sans Flex', sans-serif;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.toggle-label {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

.email-info-text {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.user-email-highlight {
  color: #0f172a;
  font-weight: 600;
}

.coming-soon-label {
  margin: 12px 0 0 0;
  font-size: 13px;
  color: #293a93;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coming-soon-label::before {
  content: "•";
  font-size: 20px;
}

/* Premium Toggle Switch */
.premium-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.premium-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.premium-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.premium-toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-toggle input:checked+.premium-toggle-slider {
  background-color: #293a93;
}

.premium-toggle input:focus+.premium-toggle-slider {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.premium-toggle input:checked+.premium-toggle-slider:before {
  transform: translateX(24px);
}

.premium-toggle input:disabled+.premium-toggle-slider {
  background-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.7;
}

.premium-toggle input:disabled+.premium-toggle-slider:before {
  background-color: #fff;
  box-shadow: none;
}

/* =========================================
   INPUT VALIDATION STYLES
   ========================================= */

/* Use Bulma's in-built danger color for invalid states */
.input.is-invalid,
.textarea.is-invalid,
.input.is-danger,
.textarea.is-danger,
.input:invalid:not(:placeholder-shown),
.textarea:invalid:not(:placeholder-shown) {
  border-color: #ff3860 !important;
  background-color: #fff8f8 !important;
}

.input.is-invalid:focus,
.textarea.is-invalid:focus,
.input.is-danger:focus,
.textarea.is-danger:focus,
.input:invalid:focus,
.textarea:invalid:focus {
  box-shadow: 0 0 0 0.125em rgba(255, 56, 96, 0.25) !important;
}

/* =========================================
   MOBILE SIDE PANE MENU
   ========================================= */

.mobile-side-pane {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s;
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mobile-side-pane.is-active {
  visibility: visible;
  pointer-events: auto;
}

.side-pane-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-side-pane.is-active .side-pane-overlay {
  opacity: 1;
}

.side-pane-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

@supports not (backdrop-filter: blur(25px)) {
  .side-pane-content {
    background: #ffffff;
  }
}

.mobile-side-pane.is-active .side-pane-content {
  transform: translateX(0);
}

.side-pane-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.side-pane-logo img {
  height: 32px;
  width: auto;
}

.side-pane-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.side-pane-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.side-pane-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.nav-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 16px;
  padding-left: 12px;
}

.side-pane-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-pane-link {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  color: #334155;
  text-decoration: none !important;
  transition: all 0.2s ease;
  background: transparent;
}

.side-pane-link:hover {
  background: rgba(41, 58, 147, 0.08);
  color: #293a93;
  padding-left: 16px;
}

.side-pane-link-icon {
  width: 32px;
  font-size: 18px;
  color: #64748b;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.side-pane-link:hover .side-pane-link-icon {
  color: #293a93;
}

.side-pane-link-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.side-pane-arrow {
  font-size: 12px;
  opacity: 0.3;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.side-pane-link:hover .side-pane-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.side-pane-footer {
  margin-top: auto;
  padding-top: 24px;
}

.side-pane-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.side-pane-auth-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  gap: 8px;
  transition: all 0.3s ease;
}

.side-pane-auth-btn.is-login {
  background: #f1f5f9;
  color: #475569;
}

.side-pane-auth-btn.is-signup {
  background: #293a93;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(41, 58, 147, 0.2);
}

.side-pane-auth-btn:active {
  transform: scale(0.95);
}

.side-pane-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-avatar-small {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
}

.user-text {
  display: flex;
  flex-direction: column;
}

.user-welcome {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.user-email-small {
  font-size: 13px;
  color: #1e293b;
  font-weight: 700;
  word-break: break-all;
}

.side-pane-auth-btn.is-logout {
  margin-top: 10px;
  background: #fff1f2;
  color: #e11d48;
  flex-direction: row;
  width: 100%;
}

body.side-pane-open {
  overflow: hidden !important;
}

/* Hide Bulma navbar menu when side pane is active */
@media (max-width: 1024px) {
  .navbar-menu.is-active {
    display: none !important;
  }
}

/* =========================================
   MOBILE SIDEPANEL
   ========================================= */
.mobile-sidepanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  z-index: 2001;
  transform: translateX(-110%);
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1), box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-sidepanel.is-active {
  transform: translateX(0);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.15);
}

.sidepanel-header {
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sidepanel-logo img {
  height: 36px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.sidepanel-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 20px;
  color: #1e293b;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sidepanel-close:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.sidepanel-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
  scrollbar-width: none;
}

.sidepanel-content::-webkit-scrollbar {
  display: none;
}

.sidepanel-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(41, 58, 147, 0.08) 0%, rgba(41, 58, 147, 0.03) 100%);
  border-radius: 20px;
  border: 1px solid rgba(41, 58, 147, 0.1);
}

.user-avatar {
  width: 52px;
  height: 52px;
  background: #293a93;
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 8px 16px rgba(41, 58, 147, 0.2);
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
}

.user-email {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.sidepanel-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidepanel-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.sidepanel-link i {
  font-size: 22px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.sidepanel-link:hover {
  background: #fff;
  color: #293a93;
  border-color: rgba(41, 58, 147, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transform: translateX(5px);
}

.sidepanel-link:hover i {
  color: #293a93;
  transform: scale(1.1);
}

.sidepanel-link.active {
  background: #293a93;
  color: #fff;
}

.sidepanel-link.active i {
  color: rgba(255, 255, 255, 0.8);
}

.sidepanel-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sidepanel-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidepanel-auth-btn {
  height: 52px !important;
  font-weight: 700 !important;
  border-radius: 16px !important;
  letter-spacing: 0.5px;
}

.button.is-ghost.sidepanel-auth-btn {
  border: 2px solid rgba(41, 58, 147, 0.1) !important;
  background: rgba(255, 255, 255, 0.5);
  color: #293a93;
}

.sidepanel-logout-btn {
  height: 52px !important;
  font-weight: 700 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.1);
}

/* Overlay focus */
.sidebar-overlay.is-active {
  z-index: 2000 !important;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.sidepanel-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Stagger animation for links */
.mobile-sidepanel.is-active .sidepanel-link {
  animation: slideInPanel 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  opacity: 0;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(5) {
  animation-delay: 0.3s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(6) {
  animation-delay: 0.35s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(7) {
  animation-delay: 0.4s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(8) {
  animation-delay: 0.45s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(9) {
  animation-delay: 0.5s;
}

.mobile-sidepanel.is-active .sidepanel-link:nth-child(10) {
  animation-delay: 0.55s;
}

@keyframes slideInPanel {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 1025px) {
  .mobile-sidepanel {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .mobile-sidepanel {
    width: 85%;
  }
}

/* Hide old mobile menu dropdown */
.mobile-nav .navbar-menu.is-active {
  display: none !important;
}

/* Language Sidebar Premium Design */
.language-grid-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.language-preview-item {
  background: #f8fafc;
  border: 2px solid transparent;
  padding: 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.language-preview-item:hover {
  background: #fff;
  border-color: rgba(41, 58, 147, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.language-preview-item.active {
  background: rgba(41, 58, 147, 0.05);
  border-color: #293a93;
}

.language-preview-item .lang-code {
  font-size: 20px;
  font-weight: 800;
  color: #293a93;
  margin-bottom: 5px;
}

.language-preview-item .lang-name {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

@media (max-width: 768px) {
  .language-grid-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1680px) {
  .login-form-section {
    padding: 10px;
  }

  .login-tab#tab-signup .login-modal {
    max-width: 95%;
  }
}

/* Tablet Responsiveness for Signup Sidebar */
@media (min-width: 769px) and (max-width: 1480px) {
  .login-tab#tab-signup .login-modal {
    max-width: 90%;
    padding: 30px;
  }

  .login-tab#tab-signup .column.is-half {
    width: 100% !important;
    flex: none !important;
  }

  .login-form-section {
    padding: 10px;
  }
}

@media (max-width: 768px) {

  body.sidebar-open .sidebar-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .terms-page-header {
    justify-content: end;
  }

  .mobile-sidepanel {
    z-index: 9999 !important;
  }

  .sidebar-overlay.is-active {
    z-index: 9998 !important;
  }

  .navbar.is-info.mobile-nav {
    position: fixed;
  }

  .upload-block .upload-block-content {
    flex-wrap: nowrap;
    flex-direction: column;
    height: calc(100vh - 200px);
  }

  .upload-block .upload-verify-details {
    width: 90%;
  }

  .upload-block .upload-verify-details .otp-input-container {
    gap: 10px;
  }

  .upload-block .upload-verify-details .otp-digit {
    width: 50px;
    height: 55px;
    font-size: 20px;
    border-radius: 10px;
    margin-bottom: 0;
  }
}

.language-list-container {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.language-list-container::-webkit-scrollbar {
  width: 6px;
}

.language-list-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.language-list-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.language-list-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#languageSearch.premium-select {
  border-radius: 12px !important;
  border: 2px solid #e2e8f0 !important;
  padding: 12px 12px 12px 42px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  height: auto !important;
}

#languageSearch.premium-select:focus {
  border-color: #293a93 !important;
  box-shadow: 0 0 0 4px rgba(41, 58, 147, 0.1) !important;
  background: #fff !important;
}

@media (max-width: 768px) {
  #contact-form-wrapper .g-recaptcha {
    margin-bottom: 100px;
  }
}