/* Alerts Page Styles */

.alerts-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.alerts-header {
  margin-bottom: 2rem;
}

.alerts-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.alerts-subtitle {
  color: var(--secondary-text);
  font-size: 1rem;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn.primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.action-btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary-btn {
  background: var(--secondary-bg);
  color: var(--text-color);
  border: 2px solid rgba(102, 126, 234, 0.3);
}

html.light .action-btn.secondary-btn {
  border: 2px solid rgba(102, 126, 234, 0.4);
}

.action-btn.secondary-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.action-btn svg {
  flex-shrink: 0;
}

.alerts-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* Section Styles */
.alerts-list-section,
.notifications-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

html.light .alerts-list-section,
html.light .notifications-section {
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.alerts-list-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.alerts-list-section .section-header {
  flex-shrink: 0;
}

.notifications-wrapper {
  margin-top: 2rem;
}

.notifications-section {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow: hidden;
}

.notifications-section .section-header {
  flex-shrink: 0;
}

/* Section Styles */
.alerts-list-section,
.notifications-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

html.light .alerts-list-section,
html.light .notifications-section {
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.alerts-list-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 2rem;
}

.notifications-wrapper {
  margin-top: 0;
}

.notifications-section {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow: hidden;
}

/* Alert Modal Overlay */
.alert-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
  padding-top: calc(80px + 2rem); /* Navbar height + padding */
}

.alert-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Alert Modal */
.alert-modal {
  background: var(--card-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 80px - 4rem); /* Full height minus navbar and padding */
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
  margin-top: auto;
  margin-bottom: auto;
}

.alert-modal::-webkit-scrollbar {
  width: 8px;
}

.alert-modal::-webkit-scrollbar-track {
  background: transparent;
}

.alert-modal::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 4px;
}

.alert-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

.alert-modal-overlay.show .alert-modal {
  transform: scale(1) translateY(0);
}

html.light .alert-modal {
  border: 1px solid rgba(102, 126, 234, 0.4);
}

/* Modal Header */
.alert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: var(--card-bg);
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

html.light .alert-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.alert-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-color);
}

html.light .modal-close-btn {
  background: rgba(0, 0, 0, 0.05);
}

.modal-close-btn:hover {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  transform: rotate(90deg);
}

.modal-close-btn svg {
  transition: transform 0.2s ease;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .section-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.section-subtitle {
  color: var(--secondary-text);
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
}

.alerts-count {
  color: var(--secondary-text);
  font-size: 0.875rem;
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #ef4444;
  border: 1.5px solid #ef4444;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: translateY(-1px);
}

.btn-danger-outline svg {
  width: 16px;
  height: 16px;
}

/* Remove All Confirmation Modal */
.remove-all-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.remove-all-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.remove-all-modal {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(102, 126, 234, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.remove-all-modal-overlay.active .remove-all-modal {
  transform: scale(1);
}

.remove-all-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  color: #ef4444;
}

.remove-all-modal-icon svg {
  width: 32px;
  height: 32px;
}

.remove-all-modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  text-align: center;
}

.remove-all-modal p {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  text-align: center;
}

.remove-all-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.remove-all-modal-actions button {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-all-modal-actions .btn-confirm-danger {
  background: #ef4444;
  color: white;
}

.remove-all-modal-actions .btn-confirm-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.remove-all-modal-actions .btn-cancel {
  background: var(--secondary-bg);
  color: var(--text-color);
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.remove-all-modal-actions .btn-cancel:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.5);
}

/* Alert Type Selector */

.alert-type-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.alert-type-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.alert-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--secondary-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

html.light .alert-type-btn {
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.alert-type-btn svg {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  color: var(--text-color);
  stroke: var(--text-color);
}

html.light .alert-type-btn svg {
  color: var(--text-color);
  stroke: var(--text-color);
}

.alert-type-btn span {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.alert-type-btn small {
  font-size: 0.75rem;
  color: var(--secondary-text);
  font-weight: 400;
}

.alert-type-btn:hover {
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-2px);
}

.alert-type-btn:hover svg {
  opacity: 1;
}

.alert-type-btn.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.alert-type-btn.active svg {
  opacity: 1;
  stroke: #667eea;
  color: #667eea;
}

.alert-type-btn.active span {
  color: #667eea;
}

html.light .alert-type-btn.active span {
  color: #667eea;
}

/* Form Styles */
.alert-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* Asset Type Group - Special Styling */
.asset-type-group {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.15);
  position: relative;
}

html.light .asset-type-group {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(118, 75, 162, 0.04) 100%);
  border-color: rgba(102, 126, 234, 0.2);
}

.asset-type-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* Asset Type Selector - Enhanced with Distinctive Background */
#asset-type {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(102, 126, 234, 0.4);
  border-radius: 12px;
  /* Distinctive gradient background - different from other form elements */
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 1rem center;
  background-size: cover, 20px;
  padding-right: 3rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

html.light #asset-type {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
  background-image: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 1rem center;
  background-size: cover, 20px;
  border-color: rgba(102, 126, 234, 0.5);
}

#asset-type:hover {
  border-color: rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  background-image: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 1rem center;
  background-size: cover, 20px;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

#asset-type:focus {
  outline: none;
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
  background-image: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 1rem center;
  background-size: cover, 20px;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

#asset-type option {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 1rem;
  font-weight: 600;
}

/* Inline label and input for tokens */
#tokens-group {
  flex-direction: column;
  align-items: stretch;
}

#tokens-group label {
  flex-shrink: 0;
  margin-right: 0;
  margin-bottom: 0.5rem;
}

#tokens-group .tokens-input-container {
  width: 100%;
}

#tokens-group .selected-tokens,
#tokens-group .form-hint {
  width: 100%;
}

.form-group label svg {
  opacity: 0.7;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--secondary-text);
  margin: 0;
  font-style: italic;
}

.form-control {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: var(--secondary-bg);
  color: var(--text-color);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

html.light .form-control {
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.form-control:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  background: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
  color: var(--secondary-text);
  opacity: 0.6;
}

/* Sector Search Wrapper */
.sector-search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#sector-select {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

#sector-select::-webkit-scrollbar {
  width: 8px;
}

#sector-select::-webkit-scrollbar-track {
  background: transparent;
}

#sector-select::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 4px;
}

#sector-select::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

#sector-select option {
  padding: 0.875rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

/* Placeholder option - distinctive styling */
#sector-select option[value=""] {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  color: #667eea;
  font-weight: 600;
  font-style: italic;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
  padding: 1rem;
  margin-bottom: 0.5rem;
}

html.light #sector-select option[value=""] {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  color: #667eea;
  border-bottom: 2px solid rgba(102, 126, 234, 0.4);
}

#sector-select option:hover {
  background: rgba(102, 126, 234, 0.1);
}

#sector-select option:checked {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
  font-weight: 600;
  color: #667eea;
}

html.light #sector-select option:checked {
  color: #667eea;
}

/* Tokens Input */
.tokens-input-container {
  position: relative;
  width: 100%;
}

#tokens-input {
  width: 100%;
}

.tokens-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  background: var(--card-bg);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 10px;
  margin-top: 0.5rem;
  z-index: 100;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html.light .tokens-dropdown {
  border: 2px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tokens-dropdown.show {
  display: block;
  animation: dropdownSlideIn 0.2s ease;
}

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

.token-option {
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9375rem;
}

html.light .token-option {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.token-option.no-results {
  cursor: default;
  color: var(--secondary-text);
  text-align: center;
  font-style: italic;
  opacity: 0.7;
}

.token-option.no-results:hover {
  background: transparent;
}

.token-option:last-child {
  border-bottom: none;
}

.token-option:hover {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  padding-left: 1.25rem;
}

.selected-tokens,
.selected-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 10px;
  min-height: 60px;
  max-height: 150px;
  overflow-y: auto;
  border: 2px dashed rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.selected-tokens::-webkit-scrollbar,
.selected-sectors::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.selected-tokens::-webkit-scrollbar-track,
.selected-sectors::-webkit-scrollbar-track {
  background: transparent;
}

.selected-tokens::-webkit-scrollbar-thumb,
.selected-sectors::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 3px;
}

.selected-tokens::-webkit-scrollbar-thumb:hover,
.selected-sectors::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

.selected-tokens:empty::before,
.selected-sectors:empty::before {
  content: 'No selections yet';
  color: var(--secondary-text);
  font-size: 0.875rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0.6;
}

.selected-tokens:not(:empty),
.selected-sectors:not(:empty) {
  border-style: solid;
  background: rgba(102, 126, 234, 0.08);
}

.token-tag,
.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  animation: tagSlideIn 0.3s ease;
}

@keyframes tagSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.token-tag:hover,
.sector-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.token-tag-remove,
.sector-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.token-tag-remove:hover,
.sector-tag-remove:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Sentiment Slider */
.sentiment-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sentiment-slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #e74c3c 0%, #f39c12 50%, #2ecc71 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.sentiment-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sentiment-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: none;
}

.sentiment-value {
  font-weight: 600;
  min-width: 50px;
  text-align: right;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary {
  background: var(--secondary-bg);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(102, 126, 234, 0.1);
}

/* Alerts List */
.alerts-list,
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
  max-height: 500px; /* Reasonable max height for alerts list */
}

.alerts-list::-webkit-scrollbar,
.notifications-list::-webkit-scrollbar {
  width: 8px;
}

.alerts-list::-webkit-scrollbar-track,
.notifications-list::-webkit-scrollbar-track {
  background: transparent;
}

.alerts-list::-webkit-scrollbar-thumb,
.notifications-list::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 4px;
}

.alerts-list::-webkit-scrollbar-thumb:hover,
.notifications-list::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

.alert-card {
  background: var(--secondary-bg);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

html.light .alert-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.alert-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.alert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.alert-type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.alert-type-badge.token {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

.alert-type-badge.sector {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
}

.alert-action-btn {
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--secondary-text);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.alert-action-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.alert-action-btn.delete:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.alert-details {
  color: var(--secondary-text);
  font-size: 0.875rem;
  line-height: 1.6;
}

.alert-details strong {
  color: var(--text-color);
}

.token-count {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

/* Notification Card */
.notification-card {
  background: var(--secondary-bg);
  border-radius: 12px;
  padding: 1rem;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.notification-card::after {
  content: '→';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: #667eea;
  font-size: 1.25rem;
  font-weight: bold;
}

.notification-card.unread {
  background: rgba(102, 126, 234, 0.05);
  border-left-color: #667eea;
}

.notification-card.read {
  opacity: 0.7;
  border-left-color: var(--secondary-text);
}

.notification-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.notification-card:hover::after {
  opacity: 1;
  right: 0.75rem;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.notification-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.notification-time {
  color: var(--secondary-text);
  font-size: 0.75rem;
}

.notification-message {
  color: var(--secondary-text);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.notification-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.notification-action-btn {
  padding: 0.25rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--secondary-text);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.notification-action-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--secondary-text);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(102, 126, 234, 0.1);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--secondary-text);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .alerts-content {
    grid-template-columns: 1fr;
  }
  
  .alert-type-buttons {
    grid-template-columns: 1fr;
  }

  .alerts-list-section {
    height: auto;
    max-height: none;
  }

  .notifications-section {
    max-height: 500px;
  }

  .alerts-list,
  .notifications-list {
    max-height: 400px;
  }

  .alert-modal {
    max-width: 90%;
  }
}

/* Settings Modal Styles */
.settings-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
  padding-top: calc(80px + 2rem);
}

.settings-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.settings-modal {
  background: var(--card-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 80px - 4rem);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.settings-modal::-webkit-scrollbar {
  width: 8px;
}

.settings-modal::-webkit-scrollbar-track {
  background: transparent;
}

.settings-modal::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 4px;
}

.settings-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

.settings-modal-overlay.show .settings-modal {
  transform: scale(1) translateY(0);
}

html.light .settings-modal {
  border: 1px solid rgba(102, 126, 234, 0.4);
}

.settings-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: var(--card-bg);
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

html.light .settings-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.settings-modal-content {
  padding: 2rem;
}

.settings-description {
  color: var(--secondary-text);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Notification Channels (used in settings modal) */
.notification-channels {
  display: grid;
  gap: 1rem;
}

.channel-card {
  background: var(--secondary-bg);
  border-radius: 12px;
  padding: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

html.light .channel-card {
  border: 2px solid rgba(0, 0, 0, 0.05);
}

.channel-card:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.channel-icon.website {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.channel-icon.email {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.channel-icon.sms {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.channel-icon.telegram {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: white;
}

.channel-info {
  flex: 1;
  min-width: 0;
}

.channel-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--text-color);
}

.channel-info p {
  font-size: 0.875rem;
  color: var(--secondary-text);
  margin: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  border-radius: 28px;
}

html.light .toggle-slider {
  background-color: rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.toggle-switch input:disabled + .toggle-slider:before {
  background-color: #ccc;
}

html.light .toggle-switch input:disabled + .toggle-slider:before {
  background-color: #999;
}

/* Channel Setup Forms */
.channel-setup {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.3s ease;
}

html.light .channel-setup {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.setup-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.setup-form .form-control {
  flex: 1;
}

.verification-form {
  margin-bottom: 0.75rem;
}

.verification-text {
  font-size: 0.875rem;
  color: var(--secondary-text);
  margin-bottom: 0.75rem;
}

.verification-input-group {
  display: flex;
  gap: 0.75rem;
}

.verification-input-group .form-control {
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.5rem;
  font-weight: 600;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.telegram-instructions {
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid #667eea;
}

.telegram-instructions p {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-color);
}

.telegram-instructions ol {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: var(--secondary-text);
}

.telegram-instructions li {
  margin-bottom: 0.25rem;
}

.telegram-instructions code {
  background: rgba(102, 126, 234, 0.2);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  color: #667eea;
}

html.light .telegram-instructions code {
  color: #667eea;
}

@media (max-width: 768px) {
  .alerts-container {
    padding: 1rem;
  }

  .alerts-header h1 {
    font-size: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }

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

  .alerts-list-section,
  .notifications-section {
    padding: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .alert-type-btn {
    padding: 1rem;
  }
  
  .alert-type-btn span {
    font-size: 0.875rem;
  }
  
  .alert-type-btn small {
    font-size: 0.7rem;
  }

  .create-alert-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
  }

  .create-alert-fab svg {
    margin: 0;
  }

  .alert-modal-overlay,
  .settings-modal-overlay {
    padding: 1rem;
    padding-top: calc(60px + 1rem);
  }

  .alert-modal,
  .settings-modal {
    max-width: 100%;
    max-height: calc(100vh - 60px - 2rem);
    border-radius: 16px;
  }

  .alert-modal-header {
    padding: 1rem 1.5rem;
  }

  .alert-modal-header h2 {
    font-size: 1.25rem;
  }

  .alert-form {
    padding: 1.5rem;
  }
}


/* Toast Animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}


/* Channel Note */
.channel-note {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

.channel-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.5;
}

.channel-note a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.channel-note a:hover {
  text-decoration: underline;
}

/* Disabled Channel Card */
.channel-card.disabled {
  opacity: 0.6;
  position: relative;
  pointer-events: none;
  cursor: not-allowed;
}

.channel-card.disabled::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  pointer-events: none;
}

html.light .channel-card.disabled::after {
  background: rgba(0, 0, 0, 0.03);
}

.channel-card.disabled .channel-icon {
  opacity: 0.5;
}

.channel-card.disabled .channel-info h3 {
  color: var(--secondary-text);
}

.channel-card.disabled .toggle-switch {
  cursor: not-allowed;
  pointer-events: none;
}

.channel-card.disabled .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading Indicator */
.loading-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #667eea;
  animation: fadeIn 0.3s ease;
}

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

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Select All Option Styling - Subtle */
.select-all-option {
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html.light .select-all-option {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Confirmation Modal */
.confirmation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.confirmation-modal-overlay.show {
  opacity: 1;
}

.confirmation-modal {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 152, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.confirmation-modal-overlay.show .confirmation-modal {
  transform: scale(1) translateY(0);
}

html.light .confirmation-modal {
  border: 1px solid rgba(255, 152, 0, 0.4);
}

.confirmation-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .confirmation-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.warning-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.confirmation-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.confirmation-body {
  padding: 1.5rem 2rem;
}

.warning-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.warning-text strong {
  color: #ff9800;
  font-weight: 700;
}

.warning-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
  border-left: 4px solid #ff9800;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

html.light .warning-box {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 193, 7, 0.08) 100%);
}

.warning-box svg {
  flex-shrink: 0;
  color: #ff9800;
  stroke: #ff9800;
  margin-top: 0.25rem;
}

.warning-box strong {
  display: block;
  color: #ff9800;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.warning-box p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.5;
}

.recommendation {
  font-size: 0.875rem;
  color: var(--secondary-text);
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  margin: 0;
  line-height: 1.6;
}

html.light .recommendation {
  background: rgba(102, 126, 234, 0.04);
}

.recommendation strong {
  color: var(--text-color);
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html.light .confirmation-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: var(--secondary-bg);
  color: var(--text-color);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

html.light .btn-cancel {
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

html.light .btn-cancel:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-confirm {
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

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