:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --secondary: #3a0ca3;
  --background: #f8fafc;
  --card-bg: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --expired: #ef4444;
  --expiring-soon: #f59e0b;
  --active: #10b981;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* HEADER FIX - FULL WIDTH 100% */
.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .header {
    padding: 1.5rem 2rem;
  }
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo i {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 12px;
}

.logo h1 {
  font-size: 1.2rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .logo h1 {
    font-size: 1.5rem;
  }
}

.subtitle {
  font-size: 0.7rem;
  opacity: 0.9;
  font-weight: 300;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 0.875rem;
  }
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}

.loading-screen.show {
  display: flex;
}

.loading-spinner {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.login-card {
  width: 90%;
  max-width: 420px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .login-card {
    margin: 4rem auto;
  }
}

.login-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .login-header {
    padding: 2rem;
  }
}

.login-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 50%;
}

.login-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .login-header h2 {
    font-size: 1.5rem;
  }
}

.login-body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .login-body {
    padding: 2rem;
  }
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.input-group input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--text);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #f87171);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #34d399);
  color: white;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-info {
  background: linear-gradient(135deg, var(--info), #60a5fa);
  color: white;
}

.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.container {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 1rem;
  display: none;
}

@media (min-width: 768px) {
  .container {
    margin: 2rem auto;
    padding: 0 2rem;
  }
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

@media (min-width: 640px) {
  .panel-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 2rem;
  }
}

.panel-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .panel-header h2 {
    font-size: 1.75rem;
  }
}

/* USER INFO CARD - LIMIT HARIAN */
.user-info-card {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .user-info-card {
    padding: 1.5rem;
  }
}

.user-info-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.user-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.user-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.user-type-basic {
  background: #10b981;
  color: white;
}

.user-type-pro {
  background: #3b82f6;
  color: white;
}

.user-type-ultra {
  background: #8b5cf6;
  color: white;
}

.limit-info {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  min-width: 180px;
}

.limit-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.progress-container {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-fill.safe {
  background: #10b981;
}

.progress-fill.warning {
  background: #f59e0b;
}

.progress-fill.danger {
  background: #ef4444;
}

.limit-footer {
  font-size: 0.7rem;
  text-align: right;
  opacity: 0.8;
}

.info-box {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: #0369a1;
}

@media (min-width: 768px) {
  .info-box {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box ul {
  margin-left: 1.5rem;
  font-size: 0.875rem;
}

.info-box li {
  margin-bottom: 0.25rem;
}

.server-form {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .server-form {
    padding: 2rem;
    margin-bottom: 2rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-group {
    margin-bottom: 1.5rem;
  }
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.ram-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .ram-selection {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .ram-selection {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ram-option {
  padding: 10px 4px;
  font-size: 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.ram-option .ram-badge {
  display: block;
  font-size: 0.6rem;
  padding: 2px 4px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  margin-top: 4px;
  white-space: nowrap;
}

.ram-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ram-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(72, 149, 239, 0.1));
  color: var(--primary);
  font-weight: 600;
}

.garansi-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .garansi-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

.garansi-option {
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.garansi-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.garansi-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(72, 149, 239, 0.1));
  color: var(--primary);
  font-weight: 600;
}

.garansi-option .garansi-badge {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7rem;
  background: var(--primary);
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
}

.claim-select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  cursor: pointer;
}

.claim-select:focus {
  outline: none;
  border-color: var(--primary);
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 480px) {
  .button-group {
    flex-direction: row;
    gap: 1rem;
  }
}

.button-group .btn {
  flex: 1;
  width: 100%;
}

.replace-id-card {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1rem 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 640px) {
  .replace-id-card {
    padding: 1.5rem;
    margin: 1rem 0 2rem 0;
    flex-wrap: nowrap;
  }
}

.replace-id-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.replace-id-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.replace-id-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.replace-id-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  font-family: monospace;
  word-break: break-all;
}

@media (min-width: 768px) {
  .replace-id-value {
    font-size: 1.5rem;
  }
}

.replace-id-copy {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.replace-id-copy:hover {
  background: var(--primary);
  color: white;
}

.result-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .result-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.panel-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .panel-info-card {
    padding: 1.5rem;
  }
}

.panel-info-card h4 {
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.panel-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .panel-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.panel-info-item {
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.panel-info-item.full-width {
  grid-column: 1 / -1;
}

.panel-info-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.panel-info-value {
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  font-size: 0.95rem;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .action-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.action-btn {
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .action-btn {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
}

.action-btn i {
  font-size: 1rem;
}

.action-copy {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.action-open {
  background: linear-gradient(135deg, var(--success), #34d399);
  color: white;
}

.action-pass {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
}

.action-all {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.result-box {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-height: 300px;
  overflow-y: auto;
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .result-box {
    margin-top: 0;
  }
}

.result-box pre {
  white-space: pre-wrap;
  font-family: 'Inter', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text);
}

@media (min-width: 768px) {
  .result-box pre {
    font-size: 0.875rem;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-badge i {
  font-size: 0.75rem;
}

.status-online {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-offline {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.1));
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-checking {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.expiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.expiry-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15));
  color: var(--active);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.expiry-soon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
  color: var(--expiring-soon);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.expiry-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.15));
  color: var(--expired);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.history-section {
  display: none;
}

.history-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .history-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .history-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.history-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: fit-content;
}

.history-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.history-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .history-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.history-title {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.history-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.history-details {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .history-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.history-details div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-details i {
  width: 16px;
  color: var(--primary);
  font-size: 0.9rem;
}

.history-replace-id {
  background: #f0f9ff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--primary);
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.history-replace-id span {
  font-family: monospace;
  font-weight: 600;
  color: var(--primary);
  word-break: break-all;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-link.support {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.social-link.youtube {
  background: linear-gradient(135deg, #FF0000, #FF3333);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(200%);
  transition: transform 0.3s ease;
  z-index: 999;
  border-left: 4px solid var(--success);
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .toast {
    left: auto;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
  }
  
  .toast.show {
    transform: translateX(0);
  }
}

.toast.show {
  transform: translateY(0);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warning);
}

.toast.info {
  border-left-color: var(--info);
}

.bottom-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .bottom-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.d-none {
  display: none !important;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}