/* ===== Telegram Form – Red Theme (Final) ===== */

.telegram-form{
  --red-main: #c30404;
  --red-dark: #a50303;
  --red-soft: rgba(195, 4, 4, 0.18);
  --red-focus: rgba(195, 4, 4, 0.35);

  max-width: 420px;
  margin: 20px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* Inputs */
.telegram-form .telegram-input{
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  background: #fafafa;
  color: #333;
  transition: all 0.25s ease;
}

.telegram-form .telegram-input:focus{
  outline: none;
  background: #fff;
  border-color: var(--red-main);
  box-shadow: 0 0 0 3px var(--red-soft);
}

/* Button */
.telegram-form .telegram-button{
  width: 100%;
  padding: 12px 16px;

  color: #ffffff !important;
  background: var(--red-main) !important;
  border: 1px solid var(--red-main) !important;

  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* Hover */
.telegram-form .telegram-button:hover{
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  box-shadow: 0 8px 22px var(--red-soft);
}

/* Focus (Keyboard accessibility) */
.telegram-form .telegram-button:focus{
  outline: none;
  box-shadow: 0 0 0 3px var(--red-focus);
}

/* Active */
.telegram-form .telegram-button:active{
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  transform: scale(0.97);
}

/* Disabled */
.telegram-form .telegram-button:disabled{
  background: #c9c9c9 !important;
  border-color: #c9c9c9 !important;
  color: #ffffff !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Messages */
.aseman-msg{
  margin-top: 12px;
  font-size: 14px;
}

.aseman-msg--success{
  color: #2e7d32;
}

.aseman-msg--error{
  color: var(--red-main);
}
