:root {
  --primary-color: #00c389;
  --primary-dark: #009d6e;
  --primary-light: #1de9a7;
  --primary-gradient: linear-gradient(135deg, #00c389, #009d6e);
  --premium-gradient: linear-gradient(135deg, #1de9a7, #00c389, #00a476);
  --secondary-color: #f8f8f8;
  --text-color: #333;
  --light-gray: #efefef;
  --medium-gray: #999;
  --dark-gray: #666;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --card-bg: white;
  --body-bg: #f6f8f9;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 195, 137, 0.2);
}

[data-theme="dark"] {
  --primary-color: #00c389;
  --primary-dark: #009d6e;
  --primary-light: #1de9a7;
  --primary-gradient: linear-gradient(135deg, #00c389, #009d6e);
  --premium-gradient: linear-gradient(135deg, #1de9a7, #00c389, #00a476);
  --secondary-color: #2a2a2a;
  --text-color: #f0f0f0;
  --light-gray: #3a3a3a;
  --medium-gray: #999;
  --dark-gray: #c0c0c0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --card-bg: #2c2c2c;
  --body-bg: #1a1a1a;
  --glass-bg: rgba(42, 42, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  transition: all 0.3s ease;
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 195, 137, 0.3);
}

.login-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.login-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--medium-gray);
}

.login-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.app-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--card-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--premium-gradient);
  color: white;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 195, 137, 0.4);
}

.header h1 {
  font-size: 20px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.header-icon {
  font-size: 20px;
  cursor: pointer;
}

.notifications-dropdown {
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: var(--glass-bg);
  border-radius: var(--border-radius);
  width: 300px;
  box-shadow: var(--glass-shadow);
  z-index: 100;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.notifications-dropdown.active {
  max-height: 400px;
}

.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(0, 195, 137, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.notification-details {
  flex: 1;
}

.notification-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.notification-time {
  font-size: 12px;
  color: var(--medium-gray);
}

.page-content {
  padding: 16px;
  padding-bottom: 80px;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.glass-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.balance-card {
  background: var(--premium-gradient);
  color: white;
  text-align: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 50%,
    transparent 100%
  );
  transform: rotate(30deg);
  z-index: 0;
}

.balance-card > * {
  position: relative;
  z-index: 1;
}

.balance-title {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.balance-details {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
}

.balance-detail-item {
  text-align: center;
}

.balance-detail-title {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.balance-detail-value {
  font-size: 16px;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.section-title {
  margin: 24px 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.transaction-list {
  margin-top: 16px;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.transaction-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 195, 137, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 12px;
  font-size: 16px;
}

.transaction-details {
  flex: 1;
}

.transaction-title {
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-color);
}

.transaction-date {
  font-size: 12px;
  color: var(--medium-gray);
}

.transaction-amount {
  font-weight: 600;
}

.transaction-amount.positive {
  color: var(--primary-color);
}

.transaction-amount.negative {
  color: #ff4d4d;
}

.left-content {
  display: flex;
  align-items: center;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  background-color: var(--glass-bg);
  padding: 10px 0;
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  color: var(--medium-gray);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.nav-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-item.active {
  color: var(--primary-color);
}

/* Investment Page Styles */
.investment-card {
  margin-top: 20px;
  border-radius: var(--border-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.investment-header {
  background: var(--premium-gradient);
  color: white;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.investment-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 50%,
    transparent 100%
  );
  transform: rotate(30deg);
  z-index: 0;
}

.investment-header > * {
  position: relative;
  z-index: 1;
}

.investment-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.investment-rate {
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.investment-rate span {
  font-size: 16px;
  font-weight: normal;
}

.investment-body {
  padding: 16px;
  background-color: var(--card-bg);
}

.package-selector {
  margin: 16px 0;
}

.package-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.package-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.package-option {
  flex: 1 0 30%;
  min-width: 80px;
  padding: 12px 8px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-color);
  background-color: var(--card-bg);
}

.package-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.1);
}

.package-option.selected {
  background: var(--primary-gradient);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.2);
}

.custom-amount {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  margin-top: 8px;
  font-size: 16px;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.investment-summary {
  margin-top: 24px;
  background-color: var(--glass-bg);
  padding: 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.summary-title {
  color: var(--dark-gray);
}

.summary-value {
  font-weight: 600;
  color: var(--text-color);
}

.invest-btn {
  width: 100%;
  padding: 16px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.2);
}

.invest-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 195, 137, 0.3);
}

/* Affiliate Page Styles */
.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background-color: var(--glass-bg);
  border-radius: var(--border-radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 195, 137, 0.25);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 8px 0;
}

.stat-label {
  font-size: 14px;
  color: var(--dark-gray);
}

.referral-link {
  background-color: var(--glass-bg);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.copy-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 8px;
  transition: all 0.2s;
}

.copy-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.commission-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}

.commission-table th,
.commission-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-color);
}

.commission-table th {
  font-weight: 600;
  color: var(--dark-gray);
}

.commission-rate {
  font-weight: 600;
  color: var(--primary-color);
}

/* Profile Page Styles */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 40px;
  color: var(--medium-gray);
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 195, 137, 0.3);
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-color);
}

.profile-email {
  color: var(--medium-gray);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 195, 137, 0.1);
}

.save-btn {
  width: 100%;
  padding: 16px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.2);
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 195, 137, 0.3);
}

.logout-btn {
  width: 100%;
  padding: 16px;
  background-color: transparent;
  color: #ff4d4d;
  border: 1px solid #ff4d4d;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  background-color: rgba(255, 77, 77, 0.05);
  transform: translateY(-2px);
}

/* Bonus Page Styles */
.bonus-info-card {
  background: linear-gradient(135deg, #ffca28, #ff9800);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.bonus-info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 50%,
    transparent 100%
  );
  transform: rotate(30deg);
  z-index: 0;
}

.bonus-info-card > * {
  position: relative;
  z-index: 1;
}

.bonus-info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bonus-info-description {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.bonus-point-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.redeem-btn {
  background-color: white;
  color: #ff9800;
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.redeem-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.bonus-list {
  margin-top: 20px;
}

.bonus-item {
  background-color: var(--glass-bg);
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.bonus-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 195, 137, 0.25);
}

.bonus-item-left {
  display: flex;
  align-items: center;
}

.bonus-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 152, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #ff9800;
  font-size: 16px;
}

.bonus-details {
  flex: 1;
}

.bonus-title {
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-color);
}

.bonus-description {
  font-size: 12px;
  color: var(--medium-gray);
}

.bonus-points {
  font-weight: 700;
  color: #ff9800;
}

/* How It Works Page Styles */
.steps-container {
  margin-top: 20px;
}

.step-card {
  background-color: var(--glass-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--glass-shadow);
  display: flex;
  gap: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 195, 137, 0.25);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.3);
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.step-description {
  color: var(--medium-gray);
  font-size: 14px;
  line-height: 1.5;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  padding: 24px;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-color);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-gray);
}

.modal-body {
  margin-bottom: 20px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 195, 137, 0.1);
}

.payment-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(0, 195, 137, 0.05);
}

.payment-option-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.payment-option-label {
  font-weight: 500;
}

.payment-details {
  margin-top: 20px;
  color: var(--text-color);
}

.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  border-radius: 15px;
  background-color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle:before {
  transform: translateX(30px);
}

[data-theme="dark"] .theme-toggle {
  background-color: var(--primary-color);
}

/* Alert Styles */
.alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  max-width: 90%;
  transition: all 0.3s ease;
  animation: alertSlideIn 0.3s forwards;
  backdrop-filter: blur(10px);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.alert.success {
  background-color: rgba(0, 195, 137, 0.9);
  border-left: 4px solid var(--primary-color);
}

.alert.error {
  background-color: rgba(255, 77, 77, 0.9);
  border-left: 4px solid #ff4d4d;
}

.alert.warning {
  background-color: rgba(255, 152, 0, 0.9);
  border-left: 4px solid #ff9800;
}

.alert.info {
  background-color: rgba(0, 149, 246, 0.9);
  border-left: 4px solid #0095f6;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
}

.alert-close:hover {
  opacity: 1;
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
  .app-container {
    max-width: 800px;
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
  }

  .header {
    grid-column: 2;
    border-radius: 0;
  }

  .sidebar {
    grid-row: 1 / 3;
    background-color: var(--glass-bg);
    padding: 24px 16px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .sidebar-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-left: 16px;
    text-shadow: 0 2px 10px rgba(0, 195, 137, 0.3);
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--dark-gray);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
  }

  .sidebar-nav-item:hover {
    background-color: rgba(0, 195, 137, 0.05);
    transform: translateX(5px);
  }

  .sidebar-nav-item.active {
    background-color: rgba(0, 195, 137, 0.1);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 195, 137, 0.1);
  }

  .sidebar-nav-icon {
    margin-right: 12px;
    font-size: 20px;
  }

  .page-content {
    grid-column: 2;
    padding: 24px;
    background-color: var(--body-bg);
  }

  .bottom-nav {
    display: none;
  }

  .investment-card,
  .affiliate-stats {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
}

.share-options {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}
