:root{
  --ax-bg:#f5f7f8;
  --ax-card:#ffffff;
  --ax-text:#14323a;
  --ax-muted:#6b7f86;
  --ax-border:#d9e3e6;
  --ax-brand:#016C74;
  --ax-brand-dark:#01545a;
  --ax-btn-text:#ffffff;
  --ax-shadow:none;
  --ax-radius:18px;
  --ax-danger:#b42318;
  --ax-danger-bg:#fde8e8;
  --ax-danger-border:#f5c2c7;
  --ax-input-addon:#475467;
  --ax-preview-text:#101828;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  background:var(--ax-bg);
  color:var(--ax-text);
  font-family:'Open Sans', Arial, Helvetica, sans-serif;
}

body{
  min-height:100vh;
}

button,
input{
  font:inherit;
}

img{
  display:block;
  max-width:100%;
}

#app{
  min-height:100vh;
}

.ax_page{
  min-height:100vh;
  padding:0;
  display:block;
  background:#fff;
}

.ax_page_header{
  width:100%;
  background:var(--ax-brand);
  color:#fff;
  padding:16px;
  font-weight:800;
  font-size:17px;
  text-align:center;
  letter-spacing:.2px;
}

.ax_page_body{
  width:100%;
  max-width:480px;
  margin:0 auto;
  padding:14px 14px 18px;
}

.ax_login_page{
  min-height:100vh;
  padding:25vh 16px 16px;
  background:#fff;
}

.ax_login_root{
  width:100%;
  max-width:420px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:28px 0;
}

.ax_login_logo{
  width:280px;
  max-width:80vw;
  height:auto;
  display:block;
  margin:0 auto 48px auto;
}

.ax_actions_col{
  width:100%;
  max-width:340px;
}

.ax_card{
  width:100%;
  max-width:480px;
  background:var(--ax-card);
  border:1px solid var(--ax-border);
  border-radius:var(--ax-radius);
  box-shadow:var(--ax-shadow);
  padding:18px 16px 20px;
}

.ax_card_qr_form{
  border:0;
  box-shadow:none;
}

.ax_title{
  margin-bottom:18px;
  text-align:center;
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}

.ax_field{
  margin-bottom:14px;
}

.ax_label{
  display:block;
  margin-bottom:6px;
  color:var(--ax-muted);
  font-size:15px;
  line-height:1.3;
  font-weight:700;
}

.ax_input{
  width:100%;
  height:48px;
  padding:0 14px;
  border:1px solid var(--ax-border);
  border-radius:14px;
  color:var(--ax-text);
  outline:none;
  font-size:20px;
  background:#fff;
}

.ax_input:focus{
  border-color:var(--ax-brand);
  box-shadow:0 0 0 3px rgba(1,108,116,0.12);
}

.ax_btn{
  appearance:none;
  min-height:48px;
  padding:12px 16px;
  border:0;
  border-radius:14px;
  background:#eef3f4;
  color:var(--ax-text);
  font-weight:700;
  text-align:center;
  cursor:pointer;
}

.ax_btn_full{
  width:100%;
}

.ax_btn_green{
  background:var(--ax-brand);
  color:var(--ax-btn-text);
}

.ax_btn_green:active{
  background:var(--ax-brand-dark);
}

.ax_btn_gray{
  background:#eef3f4;
  color:var(--ax-text);
}

.ax_btn_sm{
  min-height:44px;
  padding:10px 14px;
  font-size:15px;
}

.ax_btn_flex{
  flex:1 1 0;
}

.ax_btn_danger_solid{
  background:var(--ax-danger-bg);
  color:var(--ax-danger);
  border:1px solid var(--ax-danger-border);
}

.ax_selected_account_btn{
  width:100%;
  margin-bottom:16px;
  padding:12px 14px;
  border:1px solid var(--ax-border);
  border-radius:14px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.ax_selected_account_iban{
  color:var(--ax-text);
  font-size:20px;
  line-height:1.3;
  font-weight:700;
}

.ax_selected_account_note{
  margin-top:4px;
  color:var(--ax-muted);
  font-size:15px;
  line-height:1.3;
}

.ax_accounts_list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:14px;
}

.ax_account_item{
  width:100%;
  padding:18px 16px;
  border:1px solid var(--ax-border);
  border-radius:14px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.ax_account_iban{
  color:var(--ax-text);
  font-size:18px;
  line-height:1.2;
  font-weight:700;
}

.ax_account_note{
  margin-top:6px;
  color:var(--ax-muted);
  font-size:15px;
  line-height:1.3;
}

.ax_logo_wrap{
  display:flex;
  justify-content:center;
  margin-bottom:0px;
}

.ax_qr_logo{
  width:100%;
  max-width:240px;
  height:auto;
}

.ax_qr_preview{
  margin-top:18px;
  padding-top:4px;
}

.ax_qr_preview_row{
  margin-bottom:6px;
  color:var(--ax-preview-text);
  font-size:18px;
  line-height:1.25;
  word-break:break-word;
}

.ax_qr_preview_label{
  font-weight:600;
}

.ax_qr_preview_currency{
  font-weight:700;
}

.ax_qr_canvas_wrap{
  display:flex;
  justify-content:center;
  margin-top:12px;
  margin-bottom:18px;
}

.ax_qr_placeholder{
  width:220px;
  height:220px;
  margin:18px auto 16px;
  border:0;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:700;
  color:var(--ax-muted);
  background:#fff;
}

.ax_qr_canvas{
  width:330px;
  height:330px;
  margin:0;
}

.ax_field_row{
  display:flex;
  align-items:center;
  gap:10px;
}

.ax_input_wrap{
  position:relative;
  flex:1;
}

.ax_input_with_currency{
  padding-right:54px;
}

.ax_amount_input{
  font-size:26px;
  font-weight:700;
}

.ax_input_currency{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--ax-input-addon);
  font-size:26px;
  font-weight:700;
  pointer-events:none;
}

.ax_icon_btn{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  cursor:pointer;
  border-radius:12px;
  border:1px solid var(--ax-border);
  background:#fff;
}

.ax_icon_btn_danger{
  width:46px;
  height:46px;
  min-width:46px;
  border:1px solid var(--ax-danger-border);
  border-radius:12px;
  background:var(--ax-danger-bg);
  color:var(--ax-danger);
  font-size:20px;
}

.ax_field_error{
  display:none;
  margin-top:6px;
  color:var(--ax-danger);
  font-size:14px;
  line-height:1.25;
}

.ax_field_error.is_visible{
  display:block;
}

.ax_qr_form_actions{
  display:flex;
  justify-content:center;
  margin-top:20px;
}

.ax_qr_generate_btn{
  width:50%;
  min-width:220px;
}

.ax_accounts_shell{
  width:100%;
  max-width:480px;
  margin:0 auto;
}

.ax_accounts_header{
  background:var(--ax-brand);
  color:#fff;
  border-radius:0;
  padding:16px 18px;
  font-weight:700;
  font-size:20px;
  text-align:center;
}

.ax_accounts_card{
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  padding:28px 16px 20px;
}

.ax_accounts_list_compact{
  gap:0;
  margin-bottom:16px;
}

.ax_account_card_wrap{
  margin-bottom:10px;
}

.ax_account_row{
  display:flex;
  align-items:stretch;
  gap:10px;
}

.ax_account_row.is_active .ax_account_item{
  border-color:var(--ax-brand);
  box-shadow:0 0 0 2px rgba(1,108,116,0.08);
}

.ax_account_btn{
  flex:1;
  margin:0;
}

.ax_account_delete_btn{
  width:46px;
  min-width:46px;
  height:auto;
  border-radius:14px;
}

.ax_accounts_actions{
  display:flex;
  gap:10px;
}

.ax_accounts_actions .ax_btn{
  flex:1;
}

.ax_account_delete_btn_compact{
  align-self:center;
  min-width:44px;
  width:44px;
  height:44px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  flex:0 0 44px;
}

.ax_account_actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.ax_account_edit_btn{
  align-self:center;
  min-width:44px;
  width:44px;
  height:44px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  flex:0 0 44px;
  background:#f3f4f6;
  color:#6b7280;
  border:1px solid #d1d5db;
}

.ax_confirm_box{
  margin-top:10px;
  margin-bottom:10px;
  padding:14px;
  border:1px solid var(--ax-border);
  border-radius:14px;
  background:#fff;
}

.ax_confirm_text{
  margin:0 0 12px;
  color:var(--ax-text);
  font-size:16px;
  line-height:1.3;
  font-weight:700;
}

.ax_actions_row{
  display:flex;
  align-items:center;
  gap:10px;
}

.ax_actions_row_confirm{
  margin-bottom:14px;
}

.ax_topbar{
  width:100%;
  background:var(--ax-brand);
  color:#fff;
  border-radius:18px 18px 0 0;
  padding:16px 20px;
  text-align:center;
}

.ax_topbar_title{
  font-size:20px;
  font-weight:700;
  line-height:1.2;
}

.ax_qr_result_body{
  max-width:480px;
  margin:0 auto;
  padding:8px 16px 28px;
}

.ax_qr_preview{
  margin-top:6px;
  padding-top:0;
}

.ax_qr_preview_row{
  margin-bottom:2px;
  color:var(--ax-preview-text);
  font-size:20px;
  line-height:1.2;
  word-break:break-word;
}

.ax_qr_preview_row_amount{
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}

.ax_qr_preview_row_split{
  display:grid;
  grid-template-columns: 110px 1fr;
  column-gap:10px;
  align-items:start;
}

.ax_qr_preview_row_split .ax_qr_preview_label{
  display:block;
}

.ax_qr_preview_value{
  text-align:left;
}

.ax_install_info{
  margin-top:30px;
  text-align:center;
  font-size:18px;
  line-height:1.5;
  color:#4b5563;
}

@media (max-width: 640px){
  .ax_page_qr_form{
    padding:0;
  }

  .ax_card_qr_form{
    width:100%;
    max-width:none;
    border-radius:0;
    box-shadow:none;
    margin:0;
  }

  .ax_card_qr_form .ax_topbar{
    border-radius:0;
  }
}