/* Botivex Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');

html,
body {
  margin: 0;
  min-width: 100%;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Color Variables */
:root {
  --white: #ffffff;
  --dirtyWhite: #f6f6f6;
  --lightGray: #c9c9c9;
  --darkGrey: #434343;
  --black: #202325;
}

/* Color Classes */
.white {
  background-color: var(--white);
}

.dirtyWhite {
  background-color: var(--dirtyWhite);
}

.dirtyWhiteHover:hover {
  background-color: var(--dirtyWhite);
}

.lightGray {
  background-color: var(--lightGray);
}

.darkGrey {
  background-color: var(--darkGrey);
}

.black {
  background-color: var(--black);
}

/* Typography */
.customWriting {
  font-family: 'Orbitron', sans-serif;
}

.customWritingAndColor {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--lightGray);
  font-style: normal;
}

.lightGrayWriting {
  color: var(--lightGray);
}

.lightGrayBorder {
  border-color: var(--lightGray);
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1060;
  background: var(--black);
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Bootstrap Button Overrides - Black & White Theme */
.btn-primary {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--darkGrey);
  border-color: var(--darkGrey);
  color: var(--white);
  opacity: 0.9;
}

.btn-outline-primary {
  color: var(--black);
  border-color: var(--black);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.sidebar {
  width: 300px; /* Slightly wider to match original */
  background-color: var(--white);
  color: var(--black);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow-y: auto;
  position: sticky;
  top: 0;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    transform: translateX(-100%);
    width: 280px;
  }
  
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  
  /* Overlay for mobile sidebar */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background-color: var(--white);
}

/* Sidebar Styles */
.sidebar-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .sidebar-header {
    padding-left: 5rem;
  }
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--black);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.125rem;
  font-family: 'Orbitron', sans-serif;
}

.sidebar-logo-text {
  font-size: 1.5rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: var(--black);
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-section {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-section:last-of-type {
  border-bottom: none;
  padding-bottom: 1rem;
}

.nav-section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.nav-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
  transition: all 0.2s;
  background-color: transparent;
  font-weight: 400;
}

.nav-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--black);
  text-decoration: none;
}

.nav-item.active {
  background-color: var(--black);
  color: var(--white);
  font-weight: 500;
}

.nav-item.active:hover {
  background-color: var(--black);
  color: var(--white);
}

.nav-item .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Dashboard Cards */
.dashboard-cards {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dashboard-card {
  flex: 1;
  background-color: var(--dirtyWhite);
  border-radius: 0.75rem;
  min-height: 12rem;
  padding: 0;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.875rem;
  font-weight: bold;
  margin: 0 0 0.25rem 0;
  color: var(--black);
  line-height: 1.2;
}

.card-subtitle {
  color: var(--darkGrey);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.2;
}

.card-stats {
  margin-top: auto;
}

.card-stat {
  color: var(--darkGrey);
  font-size: 0.875rem;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.card-stat:last-child {
  margin-bottom: 0;
}

.card-stat.positive {
  color: #10b981; /* green-600 */
  font-weight: 500;
}

/* Header Styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.header-subtitle {
  font-weight: 300;
  color: var(--darkGrey);
  font-size: 1rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin-left: auto;
}

.user-profile-dropdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  position: relative;
}

.user-profile-dropdown:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--black);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  text-decoration: none;
  font-size: 0.875rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--black);
  text-decoration: none;
}

.dropdown-item:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.dropdown-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

/* Notification Bell */
.notification-bell-container {
  position: relative;
}

.notification-bell-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.2s;
  position: relative;
}

.notification-bell-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.notification-bell-btn .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--black);
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #dc2626;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 1rem;
  height: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  font-family: 'Orbitron', sans-serif;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 380px;
  max-height: 500px;
  display: none;
  z-index: 9999;
  overflow: hidden;
}

.notification-dropdown.show {
  display: flex;
  flex-direction: column;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.notification-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.mark-all-read-btn {
  background: none;
  border: none;
  color: var(--darkGrey);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.mark-all-read-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--black);
}

.notification-list {
  overflow-y: auto;
  max-height: 350px;
  flex: 1;
}

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  color: var(--darkGrey);
}

.notification-empty .material-symbols-outlined {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.notification-empty p {
  margin: 0;
  font-size: 0.875rem;
}

.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.notification-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.notification-item.unread {
  background-color: rgba(32, 35, 37, 0.03);
}

.notification-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--dirtyWhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--black);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.notification-message {
  font-size: 0.8125rem;
  color: var(--darkGrey);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-time {
  font-size: 0.6875rem;
  color: var(--lightGrey);
  margin-top: 0.25rem;
}

.notification-unread-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.notification-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.view-all-link {
  font-size: 0.8125rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Dropdown Notification Modal */
.dropdown-notification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}

.dropdown-notification-modal-overlay.show {
  display: flex;
}

.dropdown-notification-modal {
  background: var(--white);
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: dropdownModalSlideIn 0.2s ease-out;
}

@keyframes dropdownModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-notification-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-notification-modal-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--black);
}

.dropdown-notification-modal-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--darkGrey);
  border-radius: 0.375rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-notification-modal-close:hover {
  background: var(--dirtyWhite);
  color: var(--black);
}

.dropdown-notification-modal-body {
  padding: 1.5rem;
}

.dropdown-notification-modal-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--dirtyWhite);
}

.dropdown-notification-modal-icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--black);
}

.dropdown-notification-modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  margin-bottom: 0.75rem;
}

.dropdown-notification-modal-message {
  font-size: 0.9375rem;
  color: var(--darkGrey);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
}

.dropdown-notification-modal-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--lightGrey);
}

.dropdown-notification-modal-time .material-symbols-outlined {
  font-size: 1rem;
}

.dropdown-notification-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--dirtyWhite);
  border-radius: 0 0 1rem 1rem;
}

.dropdown-notification-modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--lightGrey);
  background: var(--white);
  color: var(--black);
}

.dropdown-notification-modal-btn:hover {
  background: var(--dirtyWhite);
  border-color: var(--darkGrey);
}

.dropdown-notification-modal-btn.primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.dropdown-notification-modal-btn.primary:hover {
  background: #333;
}

/* Notification dropdown responsive */
@media (max-width: 480px) {
  .notification-dropdown {
    width: calc(100vw - 1rem);
    right: 50%;
    transform: translateX(50%);
    max-height: 70vh;
  }
  
  .notification-dropdown.show {
    position: fixed;
    top: 60px;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .notification-dropdown {
    width: 320px;
    right: -60px;
  }
}

/* Notification dismiss button in quick view */
.notification-dismiss-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--lightGrey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}

.notification-dismiss-btn:hover {
  background-color: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.notification-dismiss-btn .material-symbols-outlined {
  font-size: 1.125rem;
}

/* Bots Section */
.bots-section {
  margin-top: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--black);
  margin: 0;
}

.btn-create-bot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--black);
  color: var(--white);
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-create-bot:hover {
  background-color: #333;
  color: var(--white);
  text-decoration: none;
}

.btn-create-bot .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Bots Grid */
.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* Loading Placeholder */
.loading-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--darkGrey);
}

.loading-placeholder .spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--lightGray);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* No Bots Message */
.no-bots-message {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: var(--dirtyWhite);
  border-radius: 0.75rem;
  color: var(--darkGrey);
}

.no-bots-message .material-symbols-outlined {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-bots-message p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.btn-create-bot-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--black);
  color: var(--white);
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-create-bot-large:hover {
  background-color: #333;
  color: var(--white);
  text-decoration: none;
}

/* Bot Card */
.bot-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.bot-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.bot-card.bot-backtest {
  border-left: 4px solid #6366f1; /* indigo */
}

.bot-card.bot-live {
  border-left: 4px solid #10b981; /* green */
}

.bot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.bot-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
}

.bot-symbol {
  font-size: 0.75rem;
  color: var(--darkGrey);
  font-weight: 500;
}

.bot-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bot-type-badge {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.badge-backtest {
  background-color: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.badge-live {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.bot-status-badge {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.status-running {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-starting {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.status-stopped {
  background-color: rgba(156, 163, 175, 0.2);
  color: #6b7280;
}

.status-finished {
  background-color: #fff3cd;
  color: #856404;
}

.status-no-data {
  background-color: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

/* Bot Card Stats */
.bot-card-stats {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--dirtyWhite);
}

.bot-stat-main,
.bot-stat-secondary {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bot-stat-main .stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.bot-stat-secondary .stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.stat-value.positive {
  color: #10b981;
}

.stat-value.negative {
  color: #ef4444;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--darkGrey);
  margin-top: 0.25rem;
}

/* Bot Card Details */
.bot-card-details {
  padding: 0.75rem 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.detail-label {
  color: var(--darkGrey);
}

.detail-value {
  font-weight: 500;
  color: var(--black);
}

.detail-value.text-muted {
  color: var(--darkGrey);
}

/* Bot Card Footer */
.bot-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: rgba(0, 0, 0, 0.02);
}

.bot-interval {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--darkGrey);
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.btn-view-bot {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-view-bot:hover {
  color: #6366f1;
  text-decoration: none;
}

.btn-view-bot .material-symbols-outlined {
  font-size: 1rem;
}

/* Card stat negative color */
.card-stat.negative {
  color: #ef4444;
  font-weight: 500;
}

/* Chart Section */
.chart-section {
  margin-top: 5rem;
}

.chart-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.chart-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--white);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lightGray);
  border: 1px solid var(--lightGray);
}

/* Responsive - Updated for mobile sidebar */
@media (max-width: 768px) {
  .dashboard-cards {
    flex-direction: column;
  }
  
  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    margin-top: 60px; /* Account for mobile menu button */
  }

  .bots-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .bot-card-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Legacy Bootstrap Override */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--black);
}

/* Billing & Subscription Styles */
.plan-card {
  background-color: var(--white);
  border: 2px solid var(--lightGray);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0.5rem;
  height: auto;
  min-height: 400px;
}

.plan-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--black);
}

.plan-popular {
  border-color: var(--black);
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(32, 35, 37, 0.15);
}

.plan-current {
  border-color: var(--darkGrey);
  background-color: var(--dirtyWhite);
}

.plan-badge {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.plan-badge .badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-header {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.plan-price {
  margin-bottom: 0.8rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}

.price-period {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.plan-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.plan-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--darkGrey);
}

.feature-item i {
  margin-right: 0.6rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.plan-action {
  margin-top: auto;
  padding-top: 1rem;
}

.plan-btn {
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  border: 2px solid transparent;
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.plan-btn.btn-primary:hover {
  background-color: var(--black);
  border-color: var(--black);
  opacity: 0.9;
}

.plan-btn.btn-outline-primary:hover {
  background-color: var(--black);
  border-color: var(--black);
  color: white;
}

.plan-btn.btn-success:hover {
  background-color: var(--darkGrey);
  border-color: var(--darkGrey);
}

/* Current Plan Button Styling */
.btn-current-plan {
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background-color: var(--dirtyWhite);
  border: 2px solid var(--lightGray);
  color: var(--darkGrey);
  cursor: not-allowed;
}

/* Grid layout for plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.plan-grid-item {
  display: flex;
}

/* Billing page specific styles */
.billing-current-plan {
  background: linear-gradient(135deg, #f8f9ff 0%, #e9ecef 100%);
  border: 2px solid #007bff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.billing-history-card {
  background-color: var(--white);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-top: 2rem;
}

/* Responsive adjustments for billing */
@media (max-width: 992px) {
  .plan-card {
    margin: 0.25rem;
    min-height: 380px;
  }
  
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
  }
  
  .billing-current-plan {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .plan-card {
    padding: 1.5rem 1rem;
  }
  
  .plan-name {
    font-size: 1.25rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
}

/* Subscription Page Styles */
.subscription-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.subscription-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.subscription-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.subscription-badge {
    display: flex;
    align-items: center;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(-5px);
}

.plan-comparison-card {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.plan-comparison-card .card-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    padding: 1.5rem;
}

.bg-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.current-plan-card {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.selected-plan-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.selected-plan-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2196f3, #9c27b0);
    border-radius: 12px;
    z-index: -1;
}

.price-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-badge.primary {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
}

.features-list {
    margin-top: 1rem;
}

.features-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.8rem;
}

.feature-item {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.payment-card {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.payment-card .card-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    padding: 1.5rem;
    color: white;
}

.section-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.payment-options {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.payment-option input[type="radio"]:checked + .payment-option-label {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.payment-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.form-control-enhanced {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control-enhanced:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px 0 0 10px;
}

.credit-card-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.free-plan-alert {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    padding: 1.5rem;
}

.paypal-alert {
    background: linear-gradient(135deg, #cce7ff 0%, #b3d9ff 100%);
    border-radius: 12px;
    padding: 1.5rem;
}

.promo-section .input-group {
    border-radius: 10px;
    overflow: hidden;
}

.order-summary {
    margin-top: 2rem;
}

.order-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    color: white;
}

.order-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.order-body {
    padding: 1.5rem;
}

.order-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-line:last-child {
    border-bottom: none;
}

.order-item {
    display: flex;
    align-items: center;
}

.order-price, .order-detail {
    font-weight: 600;
}

.order-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 1rem;
}

.total-price {
    font-size: 1.5rem;
    color: #ffd700;
}

.form-check-custom {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.form-check-custom .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.security-card {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
}

.security-notice {
    display: flex;
    align-items: center;
}

.security-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

.security-content {
    flex: 1;
}

.security-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.security-text {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.security-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

/* Subscription Page Styles */
.subscription-option {
    position: relative;
    margin-bottom: 1rem;
}

.subscription-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.subscription-option-label {
    display: block;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--lightGray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.subscription-option input[type="radio"]:checked + .subscription-option-label {
    border-color: #635BFF;
    background: #F7F6FF;
}

.subscription-option-label:hover {
    border-color: #635BFF;
    background: #FAFAFF;
}

/* Gray Box Styles */
.gray-info-box {
    background-color: var(--dirtyWhite);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.gray-detail-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.gray-highlight-box {
    background-color: var(--dirtyWhite);
    border-left: 4px solid var(--lightGray);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
}

.gray-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.order-summary-box {
    background-color: var(--dirtyWhite);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.25rem;
}

.features-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

/* Stripe Pay Styles */
.stripe-pay-button {
    background: var(--black);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius:12px;
}

.stripe-pay-button:hover {
    background: var(--darkGrey);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 35, 37, 0.3);
    opacity: 0.9;
}

/* Binance Pay Styles (kept for reference) */
.binance-pay-button {
    background: linear-gradient(135deg, #F0B90B 0%, #F8D12F 100%);
    border: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.binance-pay-button:hover {
    background: linear-gradient(135deg, #E6A609 0%, #F0C728 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.3);
}

/* Clean Card Styles */
.subscription-card {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.subscription-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form Enhancements */
.form-control:focus {
    border-color: #635BFF;
    box-shadow: 0 0 0 0.2rem rgba(99, 91, 255, 0.25);
}

.form-check-input:checked {
    background-color: #635BFF;
    border-color: #635BFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subscription-option-label {
        padding: 0.75rem;
    }
    
    .subscription-card {
        margin-bottom: 1rem;
    }
}

/* ============================= */
/* Subscribe Page Specific Styles */
/* ============================= */
.subscribe-wrapper .header-title { font-size:2.25rem; }
.plan-compare-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1rem; }
.compare-card { background: var(--dirtyWhite); border:1px solid #e3e5e8; border-radius:12px; padding:1.25rem 1.25rem 1rem; position:relative; }
.compare-card.current { border-color:#10b981; background:#f0fdf4; }
.compare-card.new { border-color:#635BFF; background:#F7F6FF; }
.compare-badge { position:absolute; top:10px; right:12px; background:#10b981; color:#fff; font-size:.65rem; font-weight:600; letter-spacing:.5px; padding:.35rem .55rem; border-radius:20px; }
.compare-card.new .compare-badge { background:#635BFF; }
.compare-title { margin:0 0 .5rem; font-weight:700; font-size:1.4rem; line-height:1.2; }
.compare-subtitle { margin:0 0 .7rem; font-size:.9rem; color:#555; line-height:1.3; }
.compare-features-ul { list-style:none; padding:0; margin:0 0 .35rem; }
.compare-mini-feature { display:flex; align-items:center; font-size:.9rem; margin-bottom:.35rem; line-height:1.3; }
.feature-check { color:#10b981; font-size:.95rem; margin-right:.5rem; }
.free-hero { background:linear-gradient(135deg,#10B981,#059669); color:#fff; border-radius:18px; padding:2.25rem 2rem 2rem; box-shadow:0 10px 25px -5px rgba(16,185,129,.35); position:relative; overflow:hidden; }
.free-hero:before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.15),transparent 60%); }
.free-hero-title { font-size:2.1rem; font-weight:700; margin:0 0 .5rem; }
.free-hero-desc { opacity:.9; font-size:1rem; margin:0 0 1.25rem; }
.free-feature { display:flex; align-items:center; font-size:.9rem; margin-bottom:.5rem; line-height:1.3; }
.free-feature i { color:#34D399; margin-right:.45rem; }
.back-link { display:inline-flex; align-items:center; gap:.5rem; padding:.55rem .9rem; background:#fff; border:1px solid #dcdfe3; border-radius:8px; font-size:.8rem; color:#374151; text-decoration:none; transition:.2s; margin-bottom:1.25rem; }
.back-link:hover { border-color:#635BFF; color:#635BFF; text-decoration:none; }
.order-box { background: var(--dirtyWhite); border:1px solid #e3e5e8; border-radius:16px; padding:1.4rem 1.6rem; }
.order-row { display:flex; justify-content:space-between; font-size:.9rem; padding:.55rem 0; line-height:1.3; }
.order-row.total { font-weight:700; font-size:1rem; border-top:1px solid #d9dcdf; margin-top:.7rem; padding-top:.8rem; }
.security-inline { display:flex; gap:1.25rem; flex-wrap:wrap; margin-top:1rem; font-size:.75rem; color:#6b6f75; }
.security-inline span { display:inline-flex; align-items:center; gap:.35rem; }
.stripe-pay-button.large { width:100%; padding:1.05rem 1.25rem; font-size:.95rem; letter-spacing:.5px; }
.form-stack-segment + .form-stack-segment { margin-top: 1.15rem; }
.subscription-card { font-size: .9rem; line-height:1.4; }
.auto-renew-note { font-size:.9rem; line-height:1.4; }
.feature-chip-small { font-size:.9rem; display:flex; align-items:center; gap:.45rem; line-height:1.3; }
.feature-chip-small i { color:#10b981; }
.gray-detail-box.feature-chip-small { padding:0.75rem 1rem; margin-bottom:0.5rem; }
.form-stack-segment { margin-left:0.75rem; margin-right:0.75rem; }
.subscription-card .form-stack-segment:first-of-type { margin-top:0.85rem; }
.subscription-card .form-stack-segment:last-of-type { margin-bottom:0.85rem; }
/* Remove extra bottom padding override to balance vertical rhythm */

/* Provide visual separation when stacked rounded boxes are adjacent */
.subscription-card .order-box,
.subscription-card .gray-info-box,
.subscription-card .form-check-custom { box-shadow: 0 1px 2px rgba(0,0,0,0.04); }

@media (max-width: 768px) {
  .form-stack-segment { margin-left:0.5rem; margin-right:0.5rem; }
  .subscription-card .form-stack-segment:first-of-type { margin-top:0.65rem; }
  .subscription-card .form-stack-segment:last-of-type { margin-bottom:0.85rem; }
}

@media (max-width: 768px) {
  .compare-title { font-size: .85rem; }
  .order-row { font-size: .9rem; }
  .order-row.total { font-size: 1.05rem; }
}

/* ============================= */
/* Legal & Cookie Compliance     */
/* ============================= */
.legal-wrapper { max-width:1050px; margin:2rem auto 4rem; padding:0 1.5rem; }
.settings-wrapper { max-width:1050px; margin:2rem auto 4rem; padding:0 1.5rem; }
.settings-wrapper .subscription-card { border:1px solid #e5e7eb; border-radius:14px; box-shadow:0 4px 14px -6px rgba(0,0,0,.04); background:#fff; transition:.25s; }
.settings-wrapper .subscription-card:hover { box-shadow:0 6px 22px -8px rgba(0,0,0,.08); }
.settings-wrapper h5 { font-size:.9rem; letter-spacing:.25px; text-transform:none; }
.settings-wrapper .subscription-card p.text-muted { line-height:1.45; }
.settings-wrapper .subscription-card + .subscription-card { margin-top:1.25rem; }
.settings-wrapper .row { margin-left:0; margin-right:0; }
.settings-card { position:relative; overflow:hidden; }

/* Settings Tab Navigation */
.settings-tabs {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
  gap: 0;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.tab-button:hover {
  color: #1f2937;
  background: rgba(0,0,0,0.02);
}

.tab-button:focus,
.tab-button:focus-visible,
.tab-button:active {
  outline: none;
  box-shadow: none;
}

.tab-button.active {
  color: #1f2937;
  border-bottom-color: #1f2937;
  background: rgba(0,0,0,0.03);
}

/* Tab Content */
.tab-content-container {
  position: relative;
  min-height: 400px;
}

/* Custom tab content styling - only for custom tabs, not Bootstrap nav-tabs */
.tab-content-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content-panel.active {
  display: block !important;
}

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

/* Settings Section Styling for Tab Content */
.tab-content-panel .settings-section {
  background: #fff !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.04);
  transition: .25s;
  display: block !important;
  visibility: visible !important;
}

.tab-content-panel .settings-section:hover {
  box-shadow: 0 6px 22px -8px rgba(0,0,0,.08);
}

/* Force visibility for debugging */
.settings-section-header {
  display: flex !important;
  visibility: visible !important;
}

.settings-section-title {
  display: block !important;
  visibility: visible !important;
}
.settings-section-title { font-size:.85rem; font-weight:600; letter-spacing:.5px; text-transform:uppercase; margin-bottom:.85rem; }
.settings-section-desc { font-size:.75rem !important; color:#4b5563 !important; margin-top:-.15rem; margin-bottom:1rem; line-height:1.45; }
.settings-btn-group { display:flex; flex-wrap:wrap; gap:.6rem; }
.settings-links { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.settings-links a { text-decoration:none; color:#1f3df2; font-weight:500; }
.settings-links a:hover { text-decoration:underline; }
/* Status pill styles moved to Enhanced Settings Cards section */
.settings-block { padding:1.6rem 1.6rem 1.75rem !important; }
.settings-action { min-width:0; font-weight:600; letter-spacing:.4px; }
.settings-action.btn-outline-secondary { background:#fff; }
.settings-action.btn-outline-secondary:hover { background:#f3f4f6; }
.settings-action.btn-outline-primary { background:#fff; }
.settings-action.btn-outline-primary:hover { background:#eef2ff; }
.settings-action.btn-primary { background:linear-gradient(90deg,#4f46e5,#6366f1); border:none; color:#fff; box-shadow:0 4px 12px -3px rgba(99,102,241,.4); transition:background .3s,transform .25s,box-shadow .25s; }
.settings-action.btn-primary:hover { background:linear-gradient(90deg,#4338ca,#4f46e5); transform:translateY(-2px); box-shadow:0 8px 18px -4px rgba(79,70,229,.5); }
.settings-action.btn-danger { background:linear-gradient(90deg,#dc2626,#ef4444); border:none; color:#fff; box-shadow:0 4px 12px -3px rgba(239,68,68,.45); transition:background .3s,transform .25s,box-shadow .25s; }
.settings-action.btn-danger:hover { background:linear-gradient(90deg,#b91c1c,#dc2626); transform:translateY(-2px); box-shadow:0 8px 18px -4px rgba(220,38,38,.55); }
.settings-action:active { transform:translateY(0); box-shadow:0 2px 6px -2px rgba(0,0,0,.25); }
.form-label-sm { font-size:.65rem; text-transform:uppercase; letter-spacing:.55px; font-weight:600; color:#374151; }
.settings-form .form-control-sm { font-size:.8rem; padding:.45rem .6rem; border-radius:8px; }
.settings-form .form-control-sm:focus { box-shadow:0 0 0 2px rgba(99,102,241,.25); }
.legal-card { background:#fff; border:1px solid #e5e7eb; border-radius:14px; box-shadow:0 4px 18px -6px rgba(0,0,0,.06); font-size:.9rem; line-height:1.55; padding:2rem 2rem 2.25rem; }
.legal-card > :first-child { margin-top:0; }
.legal-card h5 { margin-top:2rem; font-weight:600; }
.legal-card h5:first-of-type { margin-top:1.25rem; }
.legal-card p { margin-bottom:1.05rem; }
.legal-card ul { padding-left:1.15rem; margin:0 0 1.15rem; }
.legal-card li { margin-bottom:.4rem; }
.legal-card a { color:#1f3df2; text-decoration:none; position:relative; }
.legal-card a:hover { text-decoration:underline; }
.legal-card .inline-button-bar { display:flex; flex-wrap:wrap; gap:.65rem; margin:1.5rem 0 0; }
.legal-btn { --btn-bg:#f3f4f6; --btn-bd:#d9dce1; --btn-color:#111; padding:.55rem .95rem; font-size:.75rem; line-height:1; font-weight:600; border:1px solid var(--btn-bd); border-radius:10px; background:var(--btn-bg); letter-spacing:.35px; text-transform:uppercase; display:inline-flex; align-items:center; gap:.4rem; transition:.18s; }
.legal-btn:hover { background:#eef0f3; border-color:#c7cbd1; text-decoration:none; }
.legal-btn.primary { --btn-bg:#111827; --btn-bd:#111827; --btn-color:#fff; color:var(--btn-color); }
.legal-btn.primary:hover { background:#1f2937; }
.legal-divider { height:1px; background:linear-gradient(to right,rgba(0,0,0,.04),rgba(0,0,0,.12),rgba(0,0,0,.04)); margin:2.25rem 0 1.5rem; border:none; }
.legal-meta { font-size:.7rem; letter-spacing:.5px; text-transform:uppercase; color:#6b7280; margin-bottom:.75rem; font-weight:600; }
.cookie-consent-banner { position:fixed; left:clamp(.75rem,2vw,1.25rem); right:clamp(.75rem,2vw,1.25rem); bottom:1rem; background:linear-gradient(135deg,#ffffff,#f5f7fa); border:1px solid #e2e5e9; color:#1f2933; padding:1rem 1.35rem; border-radius:18px; display:flex; flex-wrap:wrap; align-items:center; gap:1rem; z-index:1000; box-shadow:0 10px 35px -8px rgba(31,41,55,.25); font-size:.8rem; }
.cookie-consent-banner a { color:#635BFF; text-decoration:underline; font-weight:500; }
.cookie-consent-actions { margin-left:auto; display:flex; gap:.5rem; }
.cookie-consent-actions .btn-primary-gradient, .cookie-consent-actions .btn-soft { font-size:.65rem; padding:.6rem 1.15rem; }
.cookie-consent-banner .btn-uniform { flex:0 0 130px; }
.cookie-preferences { position:fixed; bottom:5rem; right:1rem; width:340px; background:#ffffff; border:1px solid #d1d5db; border-radius:18px; padding:1.1rem 1.15rem 1.25rem; box-shadow:0 18px 46px -10px rgba(0,0,0,.28); z-index:1001; }
.cookie-manage-link { display:none; }
.cookie-pref-inner { font-size:.8rem; }
.cookie-pref-inner h6 { font-size:.85rem; font-weight:700; }
@media (max-width: 640px){
  .cookie-consent-banner { left:.75rem; right:.75rem; padding: .85rem 1rem; }
  .cookie-preferences { width:92%; left:4%; right:4%; bottom:6rem; }
}

/* ============================= */
/* Dashboard Consistency Tweaks  */
/* ============================= */
/* Align settings cards visually with dashboard metric cards */
.dashboard-surface { background:var(--dirtyWhite) !important; border:0 !important; box-shadow:none !important; border-radius:0.75rem !important; }
.dashboard-surface:hover { box-shadow:none !important; }

/* Provide a soft card alternative when inside settings wrapper */
.settings-wrapper .dashboard-surface { padding:2rem 2rem 2.15rem !important; }

/* Typography alignment with marketing site (headline already Orbitron) */
.settings-wrapper h5.settings-section-title { font-size:.7rem; letter-spacing:.6px; opacity:.85; }

/* Refined buttons for secondary actions */
.btn-soft { --soft-bg:#f3f4f6; --soft-bd:#e2e5e9; --soft-color:#111827; background:var(--soft-bg); border:1px solid var(--soft-bd); color:var(--soft-color); font-weight:600; font-size:.65rem; letter-spacing:.45px; text-transform:uppercase; border-radius:8px; padding:.5rem .85rem; transition:.18s; }
.btn-soft:hover { background:#eef0f3; }
.btn-soft-primary { --soft-bg:#111827; --soft-bd:#111827; --soft-color:#fff; color:var(--soft-color); }
.btn-soft-primary:hover { background:#1f2937; }

/* Status pill subtle variants */
/* Status pill variants moved to Enhanced Settings Cards section */

/* Inputs in settings should visually match dashboard minimal style */
.settings-form .form-control-sm { background:#fff; border:1px solid #d9dde2; }
.settings-form .form-control-sm:focus { border-color:#6366f1; box-shadow:0 0 0 2px rgba(99,102,241,.2); }

/* Make settings layout stretch full width similar to dashboard while keeping max width of content */
.settings-wrapper { max-width:1200px; }

/* ============================= */
/* Enhanced Settings Cards       */
/* ============================= */
/* Grid wrapper: adjust gap (row first, then column) and bottom margin here */
.settings-grid { display:grid; row-gap:1.25rem; column-gap:1.75rem; align-items:start; margin-bottom:1.25rem; }
/* Hide old grid system - now using tab layout */
.settings-grid { display: none !important; }

@media (min-width: 992px){
  /* Old desktop grid styles - disabled for tab layout */
}
/* Normalize header top spacing */
.settings-grid .settings-card-row-1 .settings-section-header { margin-top:0 !important; }

.settings-card.settings-card-accent { background:var(--dirtyWhite); border:1px solid #e2e4e7; border-radius:12px; padding:1.1rem 1.4rem 1.05rem !important; position:relative; overflow:hidden; display:flex; flex-direction:column; }
.settings-card.settings-card-accent:before { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(0,0,0,.02),rgba(255,255,255,0)); opacity:1; pointer-events:none; }
.settings-card.settings-card-accent .settings-section-title { font-size:.7rem; letter-spacing:.55px; margin-bottom:.9rem; }
.settings-card.settings-card-accent .settings-section-desc { font-size:.72rem !important; color:#555 !important; }
.settings-accent-bar { display:none; }

/* Card content area */
.settings-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Utility classes */
.hidden {
  display: none !important;
}

/* Status pills with proper animations */
.status-pill {
  background: #eef2ff;
  color: #1e3a8a;
  padding: 0.35rem 0.6rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.status-pill.status-show {
  opacity: 1;
  transform: translateY(0);
}

.status-pill.status-success {
  background: #10b981;
  color: white;
}

.status-pill.status-warning {
  background: #f59e0b;
  color: white;
}

.status-pill.status-error {
  background: #ef4444;
  color: white;
}

/* Delete warning styles */
.delete-warning {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
}

/* Settings note styles */
.settings-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Email disabled note */
.email-disabled-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

/* Future features note */
.future-features-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Settings links */
.settings-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.75rem;
  margin-top: 1rem;
}

.settings-links a {
  text-decoration: none;
  color: #1f3df2;
  font-weight: 500;
}

.settings-links a:hover {
  text-decoration: underline;
}

.settings-links span {
  color: #9ca3af;
}

/* Mobile responsive adjustments - Updated for tab layout */
@media (max-width: 991.98px) {
  .settings-wrapper {
    padding: 0 1rem;
  }
  
  .settings-section-header {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  
  .settings-section-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

.settings-section-header { display:flex; gap:.9rem; align-items:center; margin-bottom:.9rem; }
.settings-section-icon { width:56px; height:56px; min-width:56px; min-height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--black); color:#fff; font-size:1.25rem; box-shadow:0 2px 8px -2px rgba(0,0,0,.4); }
.settings-card-accent.data .settings-section-icon, .settings-card-accent.profile .settings-section-icon { background:var(--black); }

.settings-actions-row { margin-top:1rem; display:flex; gap:.65rem; flex-wrap:wrap; }

.settings-actions-row { margin-top:1rem; display:flex; gap:.65rem; flex-wrap:wrap; }

/* Better button sizing for all buttons in tab layout - Force consistent sizing */
.settings-actions-row .btn,
.settings-actions-row .btn-soft,
.settings-actions-row .btn-primary-gradient,
.settings-actions-row .btn-soft-danger,
.settings-actions-row a.btn-soft,
.settings-actions-row a[class*="btn"],
.settings-actions-row button[class*="btn"] {
  flex: none !important;
  min-width: 140px !important;
  max-width: 140px !important;
  width: 140px !important;
  min-height: 40px !important;
  height: 40px !important;
  font-size: 0.68rem !important;
  padding: 0.65rem 1.15rem !important;
  text-align: center !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  line-height: 1 !important;
  border-radius: 10px !important;
  letter-spacing: 0.45px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  transition: 0.22s !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* Specific button styles */
.settings-actions-row .btn-primary-gradient { 
  background: #111827 !important; 
  color: #fff !important; 
  border: 1px solid #111827 !important; 
  box-shadow: 0 2px 6px -2px rgba(0,0,0,.35) !important; 
}

.settings-actions-row .btn-primary-gradient:hover { 
  background: #000 !important; 
  border-color: #000 !important; 
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.45) !important; 
  transform: translateY(-2px) !important; 
}

.settings-actions-row .btn-primary-gradient:focus,
.settings-actions-row .btn-primary-gradient:focus-visible,
.settings-actions-row .btn-primary-gradient:active,
.settings-actions-row .btn-primary-gradient:active:focus {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.12) !important;
}

.settings-actions-row .btn-soft,
.settings-actions-row a.btn-soft { 
  background: #fff !important; 
  border: 1px solid #d8dade !important; 
  color: #111827 !important; 
}

.settings-actions-row .btn-soft:hover,
.settings-actions-row a.btn-soft:hover { 
  background: #f5f6f7 !important; 
  color: #111827 !important;
  text-decoration: none !important;
}

.settings-actions-row .btn-soft:focus,
.settings-actions-row .btn-soft:focus-visible,
.settings-actions-row a.btn-soft:focus,
.settings-actions-row a.btn-soft:focus-visible,
.settings-actions-row .btn-soft:active,
.settings-actions-row a.btn-soft:active {
  background: #fff !important;
  border-color: #d8dade !important;
  color: #111827 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.1) !important;
}

.settings-actions-row .btn-soft-danger { 
  background: #fff !important; 
  border: 1px solid #dc2626 !important; 
  color: #dc2626 !important; 
}

.settings-actions-row .btn-soft-danger:hover { 
  background: #dc2626 !important; 
  color: #fff !important; 
}

.settings-actions-row .btn-soft-danger:focus,
.settings-actions-row .btn-soft-danger:focus-visible,
.settings-actions-row .btn-soft-danger:active,
.settings-actions-row .btn-outline-danger:focus,
.settings-actions-row .btn-outline-danger:focus-visible,
.settings-actions-row .btn-outline-danger:active {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.12) !important;
}

/* Force anchor tags to behave like buttons */
.settings-actions-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* Ultra-specific override for the export button to match delete button exactly */
.settings-actions-row a.btn-soft[href*="export"] {
  width: 140px !important;
  height: 40px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45px !important;
  line-height: 1 !important;
}

/* Mobile responsive for tabs */
@media (max-width: 768px) {
  .settings-tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .tab-button {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    text-align: left;
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on mobile */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .tab-button:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
  .tab-button.active {
    background: #1f2937 !important;
    color: white !important;
    border-color: #1f2937 !important;
    outline: none !important;
  }
  
  .tab-button:hover:not(.active) {
    background: #f3f4f6;
  }
  
  .tab-button.active:hover,
  .tab-button.active:focus,
  .tab-button.active:active {
    background: #111827 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Mobile button styling for tabs */
  .settings-actions-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .settings-actions-row .btn {
    width: 100%;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
}

/* Old status pill styles - removed in favor of new ones above */

/* Form field alignment */
.settings-form .form-group-inline { display:flex; flex-direction:column; }
@media (min-width: 600px){
  .settings-form .form-group-inline { flex-direction:row; align-items:center; gap:1.25rem; }
  .settings-form .form-group-inline label { width:140px; margin-bottom:0; }
  .settings-form .form-group-inline .field { flex:1; }
}

/* Subtle label/text improvements */
.settings-meta-note { font-size:.65rem; letter-spacing:.4px; text-transform:uppercase; font-weight:600; color:#6b7280; margin-bottom:.4rem; }

/* Delete button custom variant */
.btn-soft-danger { background:#fff; border:1px solid #e4b5b5; color:#9f1d1d; font-weight:600; text-transform:uppercase; }
.btn-soft-danger:hover { background:#ffecec; }

/* Neutral input style */
.settings-form .form-control-sm { background:#fff; border:1px solid #d2d5d9; border-radius:10px; box-shadow:none; padding:.6rem .8rem; font-size:.8rem; }
.settings-form .form-control-sm:focus { border-color:#111827; box-shadow:0 0 0 2px rgba(0,0,0,.11); }
.settings-form .form-group-inline { margin-bottom:.85rem; }
.settings-form .form-group-inline label { font-size:.62rem; letter-spacing:.5px; }

/* Top row cards: allow natural height (removed enforced min-heights) */
.settings-card-row-1 { display:flex; flex-direction:column; }
.settings-card-row-1 .settings-links { margin-top:1rem; }
/* Legacy class now neutralized */
.settings-card-equal-top { min-height:0; }

/* Optional compact variant if needed elsewhere */
.settings-card-compact { padding:1.1rem 1.25rem 1.2rem !important; }

/* Uniform button widths when desired */
.settings-actions-row.uniform .btn-uniform { 
  flex: 0 1 150px; 
  max-width: 150px; 
  min-width: 120px;
  justify-content: center; 
  text-align: center;
  font-size: 0.68rem;
  padding: 0.65rem 1rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .settings-actions-row.uniform .btn-uniform { 
    flex: 1 1 auto; 
    max-width: calc(50% - 0.25rem);
    min-width: 0;
    font-size: 0.6rem;
    padding: 0.5rem 0.5rem;
  }
}

/* Equal vertical rhythm above/below buttons */
.settings-actions-row + .settings-links { margin-top:1rem; }

/* Pagination Styles */
.pagination .page-link {
  color: var(--black);
  background-color: var(--white);
  border-color: var(--lightGray);
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  color: var(--white);
  background-color: var(--darkGrey);
  border-color: var(--darkGrey);
}

.pagination .page-link:focus {
  color: var(--white);
  background-color: var(--black);
  border-color: var(--black);
  box-shadow: 0 0 0 0.2rem rgba(32, 35, 37, 0.25);
}

.pagination .page-item.active .page-link {
  color: var(--white);
  background-color: var(--black);
  border-color: var(--black);
}

.pagination .page-item.disabled .page-link {
  color: var(--lightGray);
  background-color: var(--dirtyWhite);
  border-color: var(--lightGray);
}

/* Notification Permission Banner — soft-ask before native prompt */
.notification-permission-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1055;
  background: var(--white);
  border-top: 2px solid var(--black);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
}

.notification-permission-banner.show {
  transform: translateY(0);
}

.notification-permission-banner-icon {
  font-size: 1.75rem;
  color: var(--black);
  flex-shrink: 0;
}

.notification-permission-banner-text {
  font-size: 0.9375rem;
  color: var(--darkGrey);
  line-height: 1.4;
  max-width: 460px;
}

.notification-permission-banner-text strong {
  color: var(--black);
}

.notification-permission-banner-actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}

.notif-banner-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.notif-banner-btn-primary {
  background: var(--black);
  color: var(--white);
}

.notif-banner-btn-primary:hover {
  background: var(--darkGrey);
}

.notif-banner-btn-secondary {
  background: transparent;
  color: var(--darkGrey);
  border: 1px solid var(--lightGray);
}

.notif-banner-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
}
