/* Bitrix24 forms */

.b24-form {
    font-family: var(--font-family, system-ui, sans-serif) !important;
  }
  
  /* Button layout */
  .b24-form .b24-form-btn-container,
  .b24-form .b24-form-btn-block {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Base button */
  .b24-form .b24-form-btn,
  .b24-form button.b24-form-btn {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  
    min-height: 48px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 9999px !important;
  
    font-family: var(--font-family, system-ui, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  
    cursor: pointer !important;
    box-shadow: none !important;
    transform: none !important;
  
    transition:
      background-color .15s ease,
      color .15s ease,
      transform .08s ease,
      box-shadow .08s ease !important;
  }
  
  /* Primary / blue */
  .b24-theme-primary .b24-form .b24-form-btn,
  .b24-theme-primary .b24-form button.b24-form-btn {
    background: #003c8f !important;
    color: #ffffff !important;
  }
  
  .b24-theme-primary .b24-form .b24-form-btn:hover,
  .b24-theme-primary .b24-form button.b24-form-btn:hover {
    background: #002f72 !important;
    color: #ffffff !important;
  }
  
  /* Accent / green */
  .b24-theme-accent .b24-form .b24-form-btn,
  .b24-theme-accent .b24-form button.b24-form-btn {
    background: #a9e32b !important;
    color: #003c8f !important;
  }
  
  .b24-theme-accent .b24-form .b24-form-btn:hover,
  .b24-theme-accent .b24-form button.b24-form-btn:hover {
    background: #b8eb4a !important;
    color: #003c8f !important;
  }
  
  /* Focus */
  .b24-form .b24-form-btn:focus-visible,
  .b24-form button.b24-form-btn:focus-visible {
    outline: 3px solid rgba(0, 60, 143, .22) !important;
    outline-offset: 3px !important;
  }
  
  /* Disabled / loading */
  .b24-form .b24-form-btn:disabled,
  .b24-form button.b24-form-btn:disabled,
  .b24-form .b24-form-btn[disabled],
  .b24-form button.b24-form-btn[disabled] {
    opacity: .55 !important;
    cursor: not-allowed !important;
    transform: none !important;
  }
  
  /* Secondary Bitrix buttons */
  .b24-form .b24-form-btn-border,
  .b24-form button.b24-form-btn-border {
    background: #ffffff !important;
    color: #003c8f !important;
    border: 2px solid #003c8f !important;
  }
  
  .b24-form .b24-form-btn-border:hover,
  .b24-form button.b24-form-btn-border:hover {
    background: #e8f1ff !important;
    color: #003c8f !important;
  }
  
  .b24-form .b24-form-btn-border:active,
  .b24-form button.b24-form-btn-border:active {
    background: #dbeaff !important;
    transform: translateY(1px) !important;
  }
  
  /* Press state — keep at the very end */
  .b24-theme-primary .b24-form .b24-form-btn:active,
  .b24-theme-primary .b24-form button.b24-form-btn:active {
    background: #002a66 !important;
    color: #ffffff !important;
    transform: translateY(1px) !important;
    box-shadow: none !important;
  }
  
  .b24-theme-accent .b24-form .b24-form-btn:active,
  .b24-theme-accent .b24-form button.b24-form-btn:active {
    background: #96cc22 !important;
    color: #003c8f !important;
    transform: translateY(1px) !important;
    box-shadow: none !important;
  }
  
  .b24-form .b24-form-btn:active,
  .b24-form button.b24-form-btn:active {
    transform: translateY(1px) !important;
    box-shadow: none !important;
  }