/* HARF Tips Plugin Styles */

/* Tip button in video actions */
.harf-tip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #1B8A4E;
  border-radius: 4px;
  background: transparent;
  color: #1B8A4E;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.harf-tip-btn:hover {
  background: #1B8A4E;
  color: white;
}

.harf-icon {
  font-size: 16px;
  color: #D4A843;
}

.harf-tip-btn:hover .harf-icon {
  color: #E8C96A;
}

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

.harf-tip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.harf-tip-dialog {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 28px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.harf-tip-dialog h3 {
  margin: 0 0 8px;
  color: #1B8A4E;
  font-size: 20px;
}

.harf-tip-dialog p {
  margin: 0 0 16px;
  color: #666;
  font-size: 14px;
}

/* Amount buttons */
.harf-tip-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.harf-amount {
  padding: 12px;
  border: 2px solid #1B8A4E;
  border-radius: 8px;
  background: white;
  color: #1B8A4E;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.harf-amount:hover {
  background: #1B8A4E;
  color: white;
}

.harf-tip-note {
  font-size: 12px !important;
  color: #999 !important;
}

/* Actions */
.harf-tip-actions {
  margin-top: 12px;
}

.harf-cancel {
  padding: 8px 24px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: transparent;
  color: #666;
  cursor: pointer;
}

.harf-cancel:hover {
  background: #f0f0f0;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .harf-tip-dialog {
    background: #1a2332;
    color: #f1f5f9;
  }

  .harf-tip-dialog p {
    color: #94a3b8;
  }

  .harf-amount {
    background: #1a2332;
    border-color: #2EAD68;
    color: #2EAD68;
  }

  .harf-amount:hover {
    background: #2EAD68;
    color: white;
  }

  .harf-cancel {
    border-color: #475569;
    color: #94a3b8;
  }
}
