/* ============================================
   DomReklami Design System (ds-*)
   Brand: Lime Green #A8C744 + Charcoal #2D2D2D
   ============================================ */

/* ----- Buttons ----- */

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.ds-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(168, 199, 68, 0.35);
}

.ds-btn-primary {
  background-color: #A8C744;
  color: #fff;
}

.ds-btn-primary:hover {
  background-color: #96B33C;
}

.ds-btn-primary:active {
  background-color: #7A9430;
}

.ds-btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(191, 218, 92, 0.5);
}

.ds-btn-secondary {
  background-color: #2D2D2D;
  color: #fff;
}

.ds-btn-secondary:hover {
  background-color: #3D3D3D;
}

.ds-btn-secondary:active {
  background-color: #1A1A1A;
}

.ds-btn-outline {
  border-color: #D4D4D4;
  color: #3D3D3D;
  background-color: transparent;
}

.ds-btn-outline:hover {
  background-color: #F5F5F5;
}

.ds-btn-outline:active {
  background-color: #E5E5E5;
}

.ds-btn-telegram {
  background-color: #2AABEE;
  color: #fff;
}

.ds-btn-telegram:hover {
  background-color: #229ED9;
}

.ds-btn-telegram:active {
  background-color: #1a8fc4;
}

.ds-btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.ds-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

/* ----- Inputs ----- */

.ds-input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #2D2D2D;
  background-color: #fff;
  border: 1px solid #D4D4D4;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ds-input:focus {
  border-color: #A8C744;
  box-shadow: 0 0 0 3px rgba(168, 199, 68, 0.25);
}

.ds-input::placeholder {
  color: #A3A3A3;
}

.ds-select {
  display: block;
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #2D2D2D;
  background-color: #fff;
  border: 1px solid #D4D4D4;
  border-radius: 0.5rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ds-select:focus {
  border-color: #A8C744;
  box-shadow: 0 0 0 3px rgba(168, 199, 68, 0.25);
}

.ds-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D3D3D;
  margin-bottom: 0.25rem;
}

/* ----- Cards ----- */

.ds-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E5E5;
  padding: 1.5rem;
}

.ds-card-bordered {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 2px solid #D4D4D4;
  padding: 1.5rem;
}

/* ----- Media Type Card ----- */

.media-type-card {
  flex-shrink: 0;
  min-width: 180px;
  max-width: 240px;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #E5E5E5;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.media-type-card:hover {
  border-color: #D4D4D4;
  background-color: #FAFAFA;
}

.media-type-card.selected {
  border-color: #A8C744;
  background-color: #F5F9E8;
  box-shadow: 0 0 0 3px rgba(168, 199, 68, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.media-type-card__name {
  font-weight: 600;
  color: #2D2D2D;
}

.media-type-card__desc {
  font-size: 0.875rem;
  color: #737373;
  margin-top: 0.25rem;
}

.media-type-card__price {
  font-weight: 700;
  color: #96B33C;
  margin-top: 0.5rem;
}

/* ----- Badges ----- */

.ds-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.125rem 0.625rem;
}

.ds-badge-success {
  background-color: #E8F1CC;
  color: #5E7324;
}

.ds-badge-warning {
  background-color: #FEF3C7;
  color: #92400E;
}

.ds-badge-error {
  background-color: #FEE2E2;
  color: #991B1B;
}

/* ----- Alerts ----- */

.ds-alert {
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.ds-alert-info {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.ds-alert-success {
  background-color: #F5F9E8;
  border: 1px solid #D4E6A0;
  color: #5E7324;
}

.ds-alert-warning {
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.ds-alert-error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ----- Divider ----- */

.ds-divider {
  position: relative;
  margin: 1.5rem 0;
}

.ds-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #E5E5E5;
}

.ds-divider span {
  position: relative;
  display: inline-flex;
  padding: 0 0.75rem;
  background-color: #fff;
  color: #737373;
  font-size: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
}
