/* Disclaimer Modal Styles */
.disclaimer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.disclaimer-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.disclaimer-modal-content {
  position: relative;
  background: var(--surface);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 10001;
  border: 1px solid var(--border);
}

.disclaimer-modal-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}

.disclaimer-modal-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  color: var(--text);
}

.disclaimer-date {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.disclaimer-modal-body {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 200px);
}

.disclaimer-section {
  margin-bottom: 2rem;
}

.disclaimer-section:last-of-type {
  margin-bottom: 1.5rem;
}

.disclaimer-section h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  color: var(--accent);
  font-weight: 600;
}

.disclaimer-section p {
  margin: 0 0 0.75rem 0;
  line-height: 1.7;
  color: var(--text);
}

.disclaimer-section ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.disclaimer-section li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.disclaimer-checkbox {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(14, 165, 233, 0.05);
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-radius: 1rem;
}

.disclaimer-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  margin: 0;
}

.disclaimer-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.disclaimer-checkbox-text {
  flex: 1;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.disclaimer-checkbox-label:hover .disclaimer-checkbox-text {
  color: var(--accent);
}

.disclaimer-modal-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  background: var(--bg);
}

.disclaimer-modal-footer .primary-btn {
  min-width: 180px;
  padding: 0.875rem 2rem;
  font-weight: 600;
}

.disclaimer-modal-footer .primary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--muted);
}

.disclaimer-modal-footer .primary-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Scrollbar styling for modal body */
.disclaimer-modal-body::-webkit-scrollbar {
  width: 8px;
}

.disclaimer-modal-body::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 4px;
}

.disclaimer-modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.disclaimer-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

@media (max-width: 768px) {
  .disclaimer-modal {
    padding: 0.5rem;
  }
  
  .disclaimer-modal-content {
    max-height: 95vh;
  }
  
  .disclaimer-modal-header,
  .disclaimer-modal-body,
  .disclaimer-modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .disclaimer-modal-header {
    padding-top: 1.5rem;
  }
  
  .disclaimer-modal-header h2 {
    font-size: 1.5rem;
  }
  
  .disclaimer-modal-body {
    max-height: calc(95vh - 180px);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .disclaimer-checkbox {
    padding: 1rem;
  }
  
  .disclaimer-modal-footer .primary-btn {
    width: 100%;
    min-width: auto;
  }
}

