/* Global Heading Font Weight */
/*h1, h2, h3, h4, h5, h6 {
  font-weight: 400 !important;
}*/

/* Global Checkbox Styling - Force consistency across all browsers and devices */
input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  cursor: pointer;
  accent-color: #FFEBDD !important;
  border-radius: 3px;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

input[type="checkbox"]:checked {
  accent-color: #FFEBDD !important;
  background-color: #FFEBDD !important;
  color: #000 !important;
}

/* Force consistency in all media queries and responsive views */
@media (max-width: 768px) {
  input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    accent-color: #FFEBDD !important;
  }
  
  input[type="checkbox"]:checked {
    accent-color: #FFEBDD !important;
    background-color: #FFEBDD !important;
    color: #000 !important;
  }
}

@media (max-width: 480px) {
  input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    accent-color: #FFEBDD !important;
  }
  
  input[type="checkbox"]:checked {
    accent-color: #FFEBDD !important;
    background-color: #FFEBDD !important;
    color: #000 !important;
  }
}

/* Generator Head Styling */
.generator-head {
  background: none;
  padding: 0;
  margin-bottom: 24px;
}

/* Settings Row Grid Layout */
.settings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.setting-item-wide {
  grid-column: span 2;
}

.label {
  color: #9A9A9A;
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.symbol-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
  overflow: visible;
}

.symbol-row .symbol {
  flex: 1 1 200px;
  min-width: 0;
  color: white;
  font-size: 32px;
  font-weight: 400 !important;
  word-break: break-word;
}


.symbol {
  color: white;
}

.symbol-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 100% !important;
}

.price-gain {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.price-value {
  color: white;
}

.gain-value {
  color: #65FFA8;
}

.gain-value.negative {
  color: #FF4B4E;
}

/* Badges */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.badge {
  min-height: 5px;
  background: rgba(217, 217, 217, 0);
  border-radius: 100px;
  border: 1px rgba(255, 255, 255, 0.2) solid;
  padding: 5px 5px;
  line-height: 1;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 500;
  transition: border-color 0.2s 
ease, color 0.2s 
ease, background-color 0.2s 
ease;
}

.badge--accent {
  border-color: #474747 !important;
    color: #ffffff !important;
    background: rgb(0 0 0 / 0%) !important;
}

.badge--bullish {
  border-color: #65FFA8;
  color: #65FFA8;
  background: rgba(101, 255, 168, 0.08);
}

.badge--bearish {
  border-color: #FF4B4E;
  color: #FF4B4E;
  background: rgba(255, 75, 78, 0.12);
}

.badge--warning {
  border-color: #f6c945;
  color: #f6c945;
  background: rgba(246, 201, 69, 0.12);
}
/* Container */

.aisg-subscription-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
}

.aisg-subscription-link:hover,
.aisg-subscription-link:focus {
  background: #f4f4f4;
  transform: translateY(-1px);
  text-decoration: none;
}

.aisg-subscription-link:disabled,
.aisg-subscription-link[aria-disabled="true"] {
  background: #d6d6d6;
  color: #555555;
  cursor: not-allowed;
  transform: none;
}

.aisg-subscription-link--subscribed {
  background: #e1f7e6;
  color: #1d7a36;
}

.aisg-subscription-link--subscribed:disabled,
.aisg-subscription-link--subscribed[aria-disabled="true"] {
  background: #c7eccf;
  color: #1d7a36;
  border: 1px solid #a9dbb2;
}

.aisg-subscription-link--test {
  background: #15163a;
  color: #cbd4ff;
}

.aisg-subscription-link--test:hover,
.aisg-subscription-link--test:focus {
  background: #1f2160;
  color: #ffffff;
}

/* Custom multi-select styling for News Filter */
.aisg-multiselect-wrapper {
    position: relative;
}

.aisg-multiselect-display {
    user-select: none;
    transition: border-color 0.2s;
}

.aisg-multiselect-display:hover {
    border-color: rgba(255,255,255,0.3);
}

.aisg-multiselect-wrapper.active .aisg-multiselect-display {
    border-color: rgba(255,255,255,0.4);
}

.aisg-multiselect-dropdown {
    animation: fadeIn 0.2s ease;
}

.aisg-multiselect-dropdown::-webkit-scrollbar {
    width: 8px;
}

.aisg-multiselect-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.aisg-multiselect-dropdown::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.aisg-multiselect-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.aisg-multiselect-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #444 transparent;
}

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

.aisg-multiselect-option:hover {
    background: rgba(255,255,255,0.1);
}

.aisg-multiselect-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.aisg-multiselect-option input[type="checkbox"]:checked {
    accent-color: #5cffb4;
}

.select-input {
  font-size: 13px !important;
}

.select-input option {
  background: #1a1a1a;
  color: white;
  font-size: 13px !important;
  padding: 8px 12px;
}

/* Standardize all dropdown contents to 13px everywhere */
.aisg-symbol-suggestions,
.aisg-multiselect-dropdown,
select option {
  font-size: 13px !important;
}

.aisg-symbol-suggestion-item {
  font-size: 13px !important;
  padding: 8px 12px !important;
}

.aisg-symbol-suggestion-item strong {
  font-size: 13px !important;
}

.aisg-multiselect-option {
  font-size: 13px !important;
  padding: 8px 12px !important;
}

/* Mobile responsive - maintain same 13px size */
@media (max-width: 768px) {
  .select-input {
    font-size: 13px !important;
  }
  
  .select-input option {
    font-size: 13px !important;
  }
  
  .aisg-symbol-suggestions,
  .aisg-multiselect-dropdown {
    font-size: 13px !important;
  }
  
  .aisg-symbol-suggestion-item {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
  
  .aisg-symbol-suggestion-item strong {
    font-size: 13px !important;
  }
  
  .aisg-multiselect-option {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

/* Input Row */
.input-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.symbol-input {
  flex: 1 1 0;
  width: auto;
  min-width: 240px;
  height: 44px;
  min-height: 44px;
  background: rgba(217, 217, 217, 0.05);
  border-radius: 5px;
  border: 1px #757575 solid;
  color: white;
  font-size: 15px;
  padding: 0 15px;
  text-transform: uppercase;
}

.symbol-input:focus {
  background: rgba(255, 235, 221, 0.1);
  border-color: #FFEBDD;
  color: #FFEBDD;
}

.symbol-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-transform: none;
}

.symbol-input::-webkit-input-placeholder {
  text-transform: none;
}

.symbol-input::-moz-placeholder {
  text-transform: none;
}

.symbol-input:-ms-input-placeholder {
  text-transform: none;
}

.generate-button {
  flex: 0 0 160px;
  height: 44px;
  background: white;
  border-radius: 5px;
  border: none;
  color: black;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0 18px;
}

.generate-button:hover {
  background: #f0f0f0;
}

.generate-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Credit Counter */
.credit-counter {
  width: 90px;
  height: 36px;
  background: #ffffff0d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  margin-left: auto;
  padding: 0 12px;
}

.credit-counter svg {
  width: 20px;
  height: 20px;
}

.credit-counter .credit-text {
  color: white;
  font-size: 14px;
  font-weight: 400;
}

/* No Credits Warning */
.no-credits-warning {
  background: #ffeb3b;
  color: #000;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 300;
  line-height: 18px;
}

.no-credits-warning a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

/* Signal Card */


.signal-card {
  width: 100%;
  background: #ffffff08;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body {
  border: none !important;
}
.chart-page {
  border: none !important;
}

.tv-profile .tags, .unselectable {
  border: none !important;
}

/* Remove TradingView chart borders - Comprehensive selectors */
#aisg-chart,
#aisg-chart *,
#aisg-chart iframe,
#aisg-chart > div,
#aisg-chart > div > div,
#aisg-chart > div > iframe,
.chart-area,
.chart-area *,
.chart-area iframe,
.chart-area > div,
.tradingview-widget-container,
.tradingview-widget-container *,
.tradingview-widget-container__widget,
.tradingview-widget-container__widget *,
.tradingview-widget-container iframe,
.tv-widget-container,
.tv-widget-container *,
.tv-widget-container iframe {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Remove any TradingView widget borders */
[class*="tradingview"],
[class*="tradingview"] *,
[class*="tv-"],
[class*="tv-"] *,
iframe[src*="tradingview"],
iframe[src*="tradingview.com"],
div[id*="tradingview"],
div[id*="tv-"] {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Target all elements inside chart container */
#aisg-chart iframe,
#aisg-chart div,
.chart-area iframe,
.chart-area div {
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: 0 !important;
}

.signal-generator-bg {
  background-color: #ffffff08 !important;
}

.signal-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: visible;
}

.date-time {
  color: white;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
}

.asset-name {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
}

.symbol-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
  overflow: visible;
}

.symbol-row .symbol {
  flex: 1 1 200px;
  min-width: 0;
  color: white;
  font-size: 32px;
  font-weight: 600;
  word-break: break-word;
}

.symbol {
  color: white;
}


.symbol-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.price-gain {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-icon {
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}

.price-value {
  color: white;
}

.gain-value {
  color: #65FFA8;
}

.gain-value.negative {
  color: #FF4B4E;
}

/* Badges */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Ensure badges in symbol-meta align properly */
.symbol-meta > .badge {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .symbol-meta {
    width: 100%;
    margin-top: 12px;
  }
  
  .symbol-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .symbol-row .symbol {
    width: 100%;
    flex: none;
    font-size: 28px;
  }
  
  .generate-button {
    width: 100% !important;
  }
  
  .input-row {
    flex-direction: column;
  }
  
  .input-row .symbol-input {
    width: 100% !important;
    min-width: 100% !important;
  }
}

.badge {
  min-height: 22px;
  background: rgba(217, 217, 217, 0);
  border-radius: 100px;
  border: 1px rgba(255, 255, 255, 0.2) solid;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.badge--accent {
  border-color: #65FFA8;
  color: #65FFA8;
  background: rgba(101, 255, 168, 0.08);
}

.badge--bullish {
  border-color: #65FFA8;
  color: #65FFA8;
  background: rgba(101, 255, 168, 0.08);
}

.badge--bearish {
  border-color: #FF4B4E;
  color: #FF4B4E;
  background: rgba(255, 75, 78, 0.12);
}

.badge--warning {
  border-color: #f6c945;
  color: #f6c945;
  background: rgba(246, 201, 69, 0.12);
}

/* Dynamic badge colors based on percentage */
.badge--success {
  border-color: #65FFA8;
  color: #65FFA8;
  background: rgba(101, 255, 168, 0.08);
}

.badge--danger {
  border-color: #FF4B4E;
  color: #FF4B4E;
  background: rgba(255, 75, 78, 0.12);
}

/* Smart Money Trend Badge Colors */
.badge--smart-accumulation {
  border-color: #87CEEB;
  color: #87CEEB;
  background: rgba(135, 206, 235, 0.12);
}

.badge--smart-distribution {
  border-color: #DDA0DD;
  color: #DDA0DD;
  background: rgba(221, 160, 221, 0.12);
}

.badge--smart-manipulation {
  border-color: #FFB347;
  color: #FFB347;
  background: rgba(255, 179, 71, 0.12);
}

/* Badge Tooltip */
.badge-tooltip {
  position: relative;
  cursor: help;
  z-index: 1;
}

.badge-tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 12px;
  line-height: 14px;
  max-width: 280px;
  min-width: 200px;
  white-space: normal;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-tooltip-content::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
}

.badge-tooltip:hover .badge-tooltip-content,
.badge-tooltip:focus .badge-tooltip-content,
.badge-tooltip.active .badge-tooltip-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile: show tooltip on click */
@media (max-width: 768px) {
  .badge-tooltip {
    cursor: pointer;
  }
  
  .badge-tooltip-content {
    max-width: 250px;
    min-width: 180px;
  }
}

.badge-tooltip-text {
  margin: 0;
  word-wrap: break-word;
}

/* Trading Cards */
.cards-row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.cards-row + .cards-row {
  margin-top: 16px;
}

.trade-card {
  flex: 1;
  min-width: 180px;
  height: 120px;
  background: rgba(217, 217, 217, 0);
  border-radius: 8px;
  border: 1px rgba(255, 255, 255, 0.18) solid;
  padding: 35px 20px 20px 20px;
  position: relative;
}

#entry-card.long-entry {
  border-color: #65FFA8;
}

#entry-card.short-entry {
  border-color: #FF4B4E;
}

.exit-card {
  border-color: rgba(255, 255, 255, 0.18);
}

.sl-card {
  border-color: #FF4B4E;
}

.tp-card {
  border-color: #65FFA8;
  background: rgba(101, 255, 168, 0.06);
}

.card-label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

#entry-card.long-entry .card-label {
  color: #65FFA8;
}

#entry-card.short-entry .card-label {
  color: #FF4B4E;
}

.exit-card .card-label {
  color: #65FFA8;
}

.sl-card .card-label {
  color: #FF4B4E;
}

.tp-card .card-label {
  color: #65FFA8;
}

.card-value {
  color: white;
  font-size: 24px;
  font-weight: 400;
}

/* Analysis */
.analysis-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analysis-title {
  color: #9A9A9A;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

.analysis-body {
  color: white;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.analysis-body p {
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.analysis-body p:last-child {
  margin-bottom: 0;
}

.analysis-body ul,
.analysis-body ol {
  margin: 16px 0;
  padding-left: 1.5em;
  line-height: 1.8;
  list-style-position: outside;
}

.analysis-body li {
  margin-bottom: 8px;
  padding-left: 0.3em;
  line-height: 1.8;
}

.analysis-body ul {
  list-style-type: disc;
}

.analysis-body ol {
  list-style-type: decimal;
}

/* Chart */
.chart-area {
  height: 500px;
  background: #393939;
  border-radius: 0px;
  overflow: hidden;
  border: none !important;
}

#aisg-chart {
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
}

#aisg-chart iframe,
#aisg-chart > div {
  border: none !important;
  outline: none !important;
}


/* Responsive */
@media (max-width: 900px) {
  .generate-button {
    font-size: 13px;
    padding: 0 15px;
  }

  .settings-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .settings-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .input-row {
    flex-direction: column;
  }

  .symbol-input {
    width: 100%;
    min-width: 0;
  }

  .generate-button {
    width: 100%;
    flex: 1 1 100%;
    padding: 0 18px;
  }
}

@media (max-width: 520px) {
  .generate-button {
    padding: 10px 18px;
  }
}

@media (max-width: 770px) {
  .cards-row {
    flex-direction: column;
  }

  .trade-card {
    width: 100%;
  }
}
.api-button{
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  background-color: #fff;
  cursor: pointer;
  border:none;
}
.api-button:hover{
  color: #fff;
  background-color: #444;
  border:none;
}
.api-button:disabled{
  color: #fff;
  background-color: #444;
  border:none;
}

/* Payment History Pagination */
.aisg-payment-history__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  color: #f6f6f6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.aisg-payment-history__pagination-info {
  color: #9A9A9A;
  font-size: 13px;
}

.aisg-payment-history__pagination-link {
  padding: 16px 16px;
  line-height: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: #f6f6f6;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.aisg-payment-history__pagination-link:hover {
  background: #ffebdd33;
  border-color: #ffebdd91;
  color: #FFEBDD;
}

.aisg-payment-history__pagination-link:disabled,
.aisg-payment-history__pagination-link[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.aisg-history__table th, .aisg-history__table td {
  font-weight: 400;
  color: #FFEBDD;
}

.aisg-history__table thead {
  background: rgb(255 235 221 / 9%);
}

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

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

.aisg-modal-content {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 10001;
}

.aisg-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.aisg-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.aisg-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.aisg-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.aisg-modal-body {
  padding: 24px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  overflow-y: auto;
  flex: 1;
}

.aisg-modal-body p {
  margin: 0 0 12px 0;
}

.aisg-modal-body p:last-child {
  margin-bottom: 0;
}

.aisg-modal-body strong {
  color: #FFEBDD;
  font-weight: 500;
}

.aisg-modal-body ul,
.aisg-modal-body ol {
  margin: 16px 0;
  padding-left: 1.5em;
  line-height: 1.8;
  list-style-position: outside;
}

.aisg-modal-body li {
  margin-bottom: 8px;
  padding-left: 0.3em;
  line-height: 1.8;
}

.aisg-modal-body ul {
  list-style-type: disc;
}

.aisg-modal-body ol {
  list-style-type: decimal;
}

.aisg-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.aisg-modal-button {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.aisg-modal-button:hover {
  background: #f4f4f4;
  transform: translateY(-1px);
}

.aisg-modal-button:active {
  transform: translateY(0);
  background: #e0e0e0;
}

.aisg-modal--error .aisg-modal-title {
  color: #ff6b6b;
}

.aisg-modal--warning .aisg-modal-title {
  color: #ffebdd;
}

.aisg-modal--success .aisg-modal-title {
  color: #51cf66;
}

.aisg-modal--info .aisg-modal-title {
  color: #4dabf7;
}

/* Responsive */
@media (max-width: 768px) {
  .aisg-modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .aisg-modal-header {
    padding: 16px 20px;
  }
  
  .aisg-modal-body {
    padding: 20px;
    font-size: 13px;
  }
  
  .aisg-modal-footer {
    padding: 12px 20px;
  }
}
