/* ==========================================================================
   BIRBANK (az.kapitalbank.mbanking) 1:1 APK XML DESIGN TOKENS
   Source: /artifacts/birbank/decompiled/res/values/colors.xml & dimens.xml
   ========================================================================== */
:root {
  /* Colors (res/values/colors.xml) */
  --apk-bg-primary: #FFFFFF;                      /* 0x7f060643 */
  --apk-bg-secondary: #F7F6F6;                    /* 0x7f060647 (?0x7f040061 / ?0x7f040917) */
  --apk-brand-red: #ED1E40;                       /* 0x7f060676 (?0x7f04091c) */
  --apk-brand-red-pressed: #D9092C;
  --apk-btn-disabled-bg: #F3F3F5;                 /* 0x7f0604b0 */
  --apk-btn-disabled-fg: rgba(21, 20, 20, 0.25);  /* #40151414 */
  --apk-text-primary: rgba(21, 20, 20, 0.90);     /* 0x7f060698 (#E6151414) */
  --apk-text-secondary: rgba(21, 20, 20, 0.50);   /* 0x7f06069e (#80151414) */
  --apk-text-tertiary: rgba(21, 20, 20, 0.35);    /* 0x7f0606a0 (#59151414) */
  --apk-text-crimson: #DD3826;                    /* 0x7f06069c (?0x7f040845 / ?0x7f040920) */
  --apk-text-green: #19B216;                      /* 0x7f060699 (?0x7f040847) */
  --apk-card-shadow: #DEDBDB;                     /* 0x7f06067b (?0x7f040801) */
  --apk-sima-overlay: rgba(0, 0, 0, 0.48);        /* 0x7f06063e + camera dim */
  --apk-sima-arc-red: #FF0000;                    /* 0x7f06063f (#FFFF0000) */

  /* Dimensions (1dp = 1px in 360x800 viewport) */
  --apk-screen-w: 360px;
  --apk-screen-h: 800px;
  --apk-status-h: 24px;
  --apk-toolbar-h: 56px;                          /* ?0x7f040007 actionBarSize */
  --apk-pad-h: 16px;                              /* 0x7f0705e9 / 0x7f070a22 */
  --apk-card-h: 64px;                             /* 0x7f0d0227 MaterialCardView height */
  --apk-card-radius: 12px;                        /* 0x7f0705c9 / 0x7f07048d */
  --apk-icon-box-size: 48px;                      /* 0x7f0a080b 48x48dp */
  --apk-icon-box-radius: 12px;                    /* 0x7f0803ad corners=12dp */
  --apk-btn-h: 52px;                              /* o.getS1440pSizeMap */
  --apk-btn-radius: 12px;

  /* Fonts */
  --font-roboto: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-vox-wide: 'Arial Black', 'Montserrat', 'Roboto', sans-serif; /* 0x7f09001a VoxRoundWide-Bold fallback */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  background: #141619;
  font-family: var(--font-roboto);
  color: var(--apk-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.workbench {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 820px;
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   360x800 ANDROID DEVICE SHELL (PURE APK VIEWPORT)
   ========================================================================== */
.device-shell {
  width: var(--apk-screen-w);
  height: var(--apk-screen-h);
  background: var(--apk-bg-primary);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 8px #26292E;
  flex-shrink: 0;
}

/* Android System Status Bar (24dp) */
.android-status-bar {
  height: var(--apk-status-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--apk-text-primary);
  background: var(--apk-bg-primary);
  z-index: 20;
  flex-shrink: 0;
}

.device-shell.sima-fullscreen-mode .android-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: #FFFFFF;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 0x7f0d001f.xml & 0x7f0d0035.xml: o.getFallbackFor (Toolbar 56dp) */
.apk-toolbar {
  height: var(--apk-toolbar-h);
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
  z-index: 15;
}

.apk-toolbar-back,
.apk-toolbar-info {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apk-text-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.apk-toolbar-info {
  margin-left: auto;
}

.apk-toolbar-back:active,
.apk-toolbar-info:active {
  background: rgba(21, 20, 20, 0.06);
}

/* o.getFallbackFor: Toolbar title (17sp Roboto-Medium #151414E6) */
.apk-toolbar-title {
  margin-left: 8px;
  font-family: var(--font-roboto);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  color: var(--apk-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Fragment Container (@id/0x7f0a0657 in 0x7f0d001f.xml) */
.fragment-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--apk-bg-primary);
}

.apk-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--apk-bg-primary);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.apk-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.apk-scroll-area {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.apk-constraint-content {
  padding: 0 var(--apk-pad-h);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ==========================================================================
   APK TYPOGRAPHY STYLES (res/values/styles.xml)
   ========================================================================== */
/* @style/0x7f140222 & 0x7f14021d: 17sp Roboto-Medium (#151414E6), marginTop=8dp */
.apk-tv-title-17 {
  margin-top: 8px;
  font-family: var(--font-roboto);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: var(--apk-text-primary);
}

/* @style/0x7f140199: 14sp Roboto-Regular (#151414E6), marginTop=8dp */
.apk-tv-description {
  margin-top: 8px;
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--apk-text-primary);
}

/* ==========================================================================
   o.clearSurfaces (layout/APKTOOL_RENAMED_0x7f0d0227.xml & 0x7f0d082c.xml)
   MaterialCardView: height=64dp, radius=12dp, cardElevation=3dp, shadow=#DEDBDB
   ========================================================================== */
.clear-surfaces-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.clear-surfaces-card {
  width: 100%;
  min-height: var(--apk-card-h);
  background: var(--apk-bg-primary);
  border-radius: var(--apk-card-radius);
  border: 1px solid rgba(222, 219, 219, 0.55);
  box-shadow: 0 3px 8px rgba(222, 219, 219, 0.75), 0 1px 2px rgba(21, 20, 20, 0.04);
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.clear-surfaces-card:focus-within {
  border-color: rgba(237, 30, 64, 0.45);
  box-shadow: 0 4px 12px rgba(222, 219, 219, 0.95);
}

.clear-surfaces-card.has-error {
  border-color: var(--apk-text-crimson);
}

/* @id/0x7f0a080b: 48x48dp FrameLayout, marginStart=12dp, bg=@drawable/0x7f0803ad (#F7F6F6, radius=12dp) */
.clear-surfaces-icon-box {
  width: var(--apk-icon-box-size);
  height: var(--apk-icon-box-size);
  margin-left: 12px;
  border-radius: var(--apk-icon-box-radius);
  background: var(--apk-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* @id/0x7f0a0809: TextInputLayout + o.BarcodeModelCompanion */
.clear-surfaces-til {
  flex: 1;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.clear-surfaces-hint {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--apk-text-secondary);
  margin-bottom: 2px;
}

.clear-surfaces-input-row {
  display: flex;
  align-items: center;
}

/* @style/0x7f140175: 16sp Roboto-Regular, textColor=?0x7f040841 (#151414E6), caret=#ED1E40 */
.clear-surfaces-edittext {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--apk-text-primary);
  caret-color: var(--apk-brand-red);
}

.clear-surfaces-edittext::placeholder {
  color: var(--apk-text-tertiary);
}

.pin-masked-input {
  letter-spacing: 6px;
  font-weight: 700;
}

.clear-surfaces-eye {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* @id/0x7f0a0807: Error TextView directly below MaterialCardView (12sp, ?0x7f040920 #DD3826, marginHorizontal=6dp) */
.clear-surfaces-error {
  margin-top: 6px;
  margin-left: 6px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--apk-text-crimson);
}

/* @id/0x7f0a1241: "<u>Şifri unutmuşam</u>" (14sp, #DD3826, padding=12dp, marginTop=12dp) */
.apk-forgot-password {
  margin-top: 12px;
  align-self: flex-start;
  margin-left: -12px;
  padding: 12px;
  border: none;
  background: transparent;
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  color: var(--apk-text-crimson);
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   BOTTOM SURFACE & PRIMARY BUTTON (o.getS1440pSizeMap / btnContinue)
   ========================================================================== */
/* View background="?0x7f040061" (#F7F6F6) in 0x7f0d0367.xml & 0x7f0d02ba.xml */
.apk-bottom-footer {
  background: var(--apk-bg-secondary);
  padding: 12px var(--apk-pad-h) 24px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* 0x7f0d02ba.xml: btnContinue has android:layout_marginBottom="48.0dp" */
.apk-pin-footer,
.apk-sima-complete-footer {
  padding-top: 16px;
  padding-bottom: 48px;
}

/* @id/0x7f0a13d6: terms text (paddingTop=4dp, paddingBottom=20dp) */
.apk-terms-text {
  padding-top: 4px;
  padding-bottom: 20px;
  font-size: 12px;
  line-height: 16px;
  color: var(--apk-text-secondary);
}

.apk-terms-text span {
  color: var(--apk-text-crimson);
  text-decoration: underline;
}

/* @id/btnContinue (o.getS1440pSizeMap): height=52dp, radius=12dp, bg=#ED1E40 */
.apk-btn-continue {
  width: 100%;
  height: var(--apk-btn-h);
  border: none;
  border-radius: var(--apk-btn-radius);
  background: var(--apk-brand-red);
  color: #FFFFFF;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 120ms ease, transform 80ms ease;
}

.apk-btn-continue:active:not(:disabled) {
  background: var(--apk-brand-red-pressed);
  transform: scale(0.99);
}

.apk-btn-continue:disabled {
  background: var(--apk-btn-disabled-bg);
  color: var(--apk-btn-disabled-fg);
  cursor: not-allowed;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: apkSpin 0.65s linear infinite;
}

/* ==========================================================================
   EKRAN 2: SMS OTP (layout/APKTOOL_RENAMED_0x7f0d0383.xml & DesignOtpView)
   ========================================================================== */
.apk-otp-layout {
  justify-content: space-between;
}

/* @id/0x7f0a0cae: marginTop=72.0dp, marginBottom=32.0dp */
.apk-otp-view {
  margin-top: 72px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* DesignOtpView (classes4.dex): bottomStrokeColor #15141459 / #151414E6 / #ED1E40 / #DD3826 */
.design-otp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 304px;
  gap: 10px;
}

.design-otp-cell {
  width: 42px;
  height: 48px;
  border: none;
  border-bottom: 2px solid var(--apk-text-tertiary);
  background: transparent;
  text-align: center;
  font-family: var(--font-roboto);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--apk-text-primary);
  caret-color: var(--apk-brand-red);
  outline: none;
  border-radius: 0;
  transition: border-color 120ms ease;
}

.design-otp-cell.filled {
  border-bottom-color: var(--apk-text-primary);
}

.design-otp-cell:focus {
  border-bottom-color: var(--apk-brand-red);
  border-bottom-width: 2.5px;
}

.design-otp-cell.error {
  border-bottom-color: var(--apk-text-crimson);
  color: var(--apk-text-crimson);
}

/* @id/0x7f0a055c (0x7f0d0238.xml): Error box marginTop=32dp, padding=12dp */
.apk-otp-error-box {
  margin-top: 24px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(221, 56, 38, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--apk-text-crimson);
}

/* @id/0x7f0a0642: tvWaitForResendOtp + tvResendOtpTimeLeft (marginTop=24dp) */
.apk-otp-resend-flow {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.tv-wait-resend {
  font-size: 14px;
  font-weight: 400;
  color: var(--apk-text-secondary);
}

.tv-resend-time-left {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--apk-text-crimson);
}

/* @id/0x7f0a136c: Bold #DD3826 resend button */
.apk-otp-resend-action-wrap {
  margin-top: 12px;
}

.apk-btn-resend-otp {
  padding: 8px;
  margin-left: -8px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 700;
  color: var(--apk-text-crimson);
  cursor: pointer;
}

/* @id/0x7f0a118b: "<u>Telefon nömrəni dəyişmək</u>" (14sp, #DD3826, padding=12dp, marginBottom=32dp) */
.apk-otp-bottom-link-wrap {
  margin-bottom: 32px;
}

.apk-change-phone-link {
  padding: 12px;
  margin-left: -12px;
  border: none;
  background: transparent;
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  color: var(--apk-text-crimson);
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   EKRAN 3: GİRİŞ KODUNUN TƏYİN EDİLMƏSİ (layout/APKTOOL_RENAMED_0x7f0d0390.xml)
   - FmtPinSetupBinding (o.r8lambdaxsUrvpLm1IG80dVjbnIGl28ZXk)
   - 4-dot PIN indicator (o.progress_delegatelambda0)
   - 3x4 Numpad (az.kapitalbank.core_design.KeyboardView)
   ========================================================================== */
.apk-pin-setup-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 var(--apk-pad-h) 20px;
  background: var(--apk-bg-primary);
}

.apk-pin-setup-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}

/* @id/tvDescription (2131366375): 14sp Roboto-Regular #151414E6 */
.apk-pin-setup-desc {
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--apk-text-primary);
  max-width: 296px;
}

.apk-pin-dots-block {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* @id/tvEnterPin (2131366160) & @id/tvRepeatPin (2131366161): 14sp Roboto-Regular #15141480 */
.apk-pin-dots-label {
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--apk-text-secondary);
}

/* o.progress_delegatelambda0 (2131363758 & 2131363759): 4 dots row */
.apk-pin-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 20px;
}

.apk-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(21, 20, 20, 0.16);
  transition: background-color 120ms ease, transform 120ms ease;
}

.apk-pin-dot.filled {
  background: var(--apk-brand-red);
  transform: scale(1.08);
}

.apk-pin-dot.error {
  background: var(--apk-text-crimson);
}

/* @id/tvError (component3): 13sp Roboto-Regular #DD3826 */
.apk-pin-error-text {
  margin-top: 18px;
  font-family: var(--font-roboto);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--apk-text-crimson);
}

/* @id/keyboardView (2131364416: az.kapitalbank.core_design.KeyboardView 3x4 Canvas Numpad) */
.apk-keyboard-view {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 64px;
  gap: 6px 12px;
  padding: 8px 4px 4px;
  user-select: none;
}

.apk-key-btn {
  border: none;
  background: transparent;
  border-radius: 32px;
  font-family: var(--font-roboto);
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  color: var(--apk-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 100ms ease, transform 80ms ease;
}

.apk-key-btn:active {
  background: var(--apk-bg-secondary);
  transform: scale(0.95);
}

.apk-key-action {
  font-size: 13px;
  font-weight: 500;
  color: var(--apk-text-secondary);
}

.apk-key-backspace {
  color: var(--apk-text-primary);
}

/* ==========================================================================
   EKRAN 4: SİMA / DİGİTAL VERIFICATION (DVS)
   - layout/APKTOOL_RENAMED_0x7f0d03e9.xml + 0x7f0d01a3.xml (VideoVerificationFragment)
   - layout/APKTOOL_RENAMED_0x7f0d07c6.xml (CameraShutterView / o.confirmValueChangelambda0)
   - layout/APKTOOL_RENAMED_0x7f0d03eb.xml (VideoConfirmationFragment)
   - layout/APKTOOL_RENAMED_0x7f0d0122.xml (BottomSheetHowToMakePhoto)
   - layout/APKTOOL_RENAMED_0x7f0d03ec.xml (Completion Screen)
   ========================================================================== */
.sima-camera-stage,
.sima-confirm-stage {
  position: absolute;
  inset: 0;
  background: #1B2028;
  overflow: hidden;
}

.sima-camera-feed,
.sima-confirm-video-preview {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #384352 0%, #1F252E 58%, #12161B 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 235px;
}

.sima-camera-stage.has-speech-text .sima-camera-feed {
  padding-top: 185px;
}

.sima-face-silhouette {
  animation: simaBreath 2.4s ease-in-out infinite;
}

.sima-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* @id/0x7f0a1305: @string/0x7f131097 "Üzünüzü ekrandakı çərçivəyə yerləşdirin və düyməyə basın"
   16sp Roboto-Regular #FFFFFF, marginHorizontal=16dp, above oval */
.sima-tv-instruction {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #FFFFFF;
  z-index: 8;
  transition: top 180ms ease;
}

.sima-camera-stage.has-speech-text .sima-tv-instruction {
  top: 44px;
}

/* @id/0x7f0a06a3: Speech prompt group (getSafetyCheck.java:608 -> visible when confirmationText.length() > 0) */
.sima-speech-group {
  position: absolute;
  top: 432px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 8;
}

/* @id/tvTitle in 0x7f0d01a3.xml: @style/0x7f140178 (16sp Roboto-Medium #FFFFFF, elevation=2dp) */
.sima-speech-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #FFFFFF;
  text-align: center;
}

/* @id/viewDescription (@drawable/0x7f0802cd: #F7F6F6, radius=10dp) + @id/tvDescription (16sp #151414E6) */
.sima-speech-box {
  margin-top: 8px;
  width: 100%;
  background: var(--apk-bg-secondary);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.sima-speech-box p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--apk-text-primary);
}

/* @id/0x7f0a0288: o.confirmValueChangelambda0 (0x7f0d07c6.xml, marginBottom=80dp)
   Outer CircularProgressIndicator: indicatorSize=75dp (#FFFFFF)
   Inner PersonalizedPartnerBenefitItemDto: 60x60dp -> animates to 45x45dp in 500ms (#ED1E40) */
.sima-shutter-wrap {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 9;
}

.sima-shutter-btn {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sima-shutter-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--apk-brand-red);
  transition: width 500ms ease, height 500ms ease, border-radius 500ms ease;
}

/* confirmValueChangelambda0.java:59 -> ValueAnimator.ofInt(height, 45dp) duration=500L */
.sima-shutter-btn.recording .sima-shutter-inner {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

/* STATE B: layout/APKTOOL_RENAMED_0x7f0d03eb.xml (VideoConfirmationFragment) */
.sima-confirm-video-preview {
  padding-top: 215px;
}

.sima-confirm-play-badge {
  position: absolute;
  top: 288px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
}

.sima-confirm-title {
  position: absolute;
  top: 66px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #FFFFFF;
  z-index: 8;
}

.sima-confirm-title.is-error {
  color: var(--apk-text-crimson);
  background: rgba(255, 255, 255, 0.94);
  padding: 10px 14px;
  border-radius: 10px;
  top: 52px;
}

/* @id/0x7f0a1372: @string/0x7f1310b7 "Yenidən çək" + @drawable/0x7f08099d */
.sima-retake-link {
  position: absolute;
  top: 504px;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-size: 15px;
  font-weight: 500;
  color: var(--apk-brand-red);
  cursor: pointer;
  z-index: 8;
}

.sima-confirm-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9;
}

/* BottomSheetHowToMakePhoto: layout/APKTOOL_RENAMED_0x7f0d0122.xml */
.apk-bottomsheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: flex-end;
  z-index: 30;
}

.apk-bottomsheet-card {
  width: 100%;
  background: var(--apk-bg-primary);
  border-radius: 20px 20px 0 0;
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
}

.apk-bottomsheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(21, 20, 20, 0.2);
  align-self: center;
  margin-bottom: 14px;
}

.apk-bottomsheet-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--apk-text-primary);
  margin-bottom: 16px;
}

.apk-howto-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.apk-howto-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--apk-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apk-howto-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--apk-text-primary);
}

.apk-howto-item-sub {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--apk-text-secondary);
}

.qa-action-btn.active {
  background: var(--apk-brand-red);
  border-color: var(--apk-brand-red);
  color: #FFFFFF;
}

/* STATE B: layout/APKTOOL_RENAMED_0x7f0d03ec.xml (Completion Screen) */
.sima-complete-stage {
  position: absolute;
  inset: 0;
  background: var(--apk-bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* o.chooseActivity vertical flow: marginHorizontal=48dp, verticalBias=0.25 */
.sima-complete-flow {
  margin-top: 110px;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* @id/tvTitle: 18sp Roboto-Medium #151414E6 */
.sima-complete-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--apk-text-primary);
}

/* @id/tvDescription: 14sp Roboto-Regular #151414E6 */
.sima-complete-desc {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--apk-text-primary);
}

/* @id/ivComplete: paddingTop=20dp, @drawable/0x7f0809d8 (90x90dp) */
.sima-complete-icon {
  padding-top: 20px;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.hidden {
  display: none !important;
}

@keyframes apkSpin {
  to { transform: rotate(360deg); }
}

@keyframes apkShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.shake {
  animation: apkShake 360ms ease;
}

@keyframes simaBreath {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.03); opacity: 1; }
}

/* ==========================================================================
   EXTERNAL QA INSPECTOR PANEL (OUTSIDE 360x800 APK FRAME)
   ========================================================================== */
.qa-inspector {
  width: 360px;
  background: #1E2229;
  border: 1px solid #2E3440;
  border-radius: 16px;
  padding: 18px;
  color: #ECEFF4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qa-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #19B216;
}

.qa-title-row h2 {
  font-size: 14px;
  font-weight: 700;
}

.qa-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #A3B1C2;
}

.qa-desc code {
  color: #FF8A9E;
  font-family: monospace;
}

.qa-step-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.qa-step-btn {
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid #343C4A;
  background: #252B35;
  color: #D8DEE9;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.qa-step-btn.active {
  background: var(--apk-brand-red);
  border-color: var(--apk-brand-red);
  color: #FFFFFF;
}

.qa-card {
  background: #16191F;
  border: 1px solid #2A303C;
  border-radius: 10px;
  padding: 10px 12px;
}

.qa-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #8892B0;
  margin-bottom: 8px;
}

.qa-kv {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
  color: #CBD5E1;
}

.qa-kv code {
  color: #7EE787;
  font-weight: 700;
}

.qa-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.qa-action-btn {
  padding: 7px 8px;
  border-radius: 7px;
  border: 1px solid #343C4A;
  background: #232832;
  color: #E2E8F0;
  font-size: 11px;
  cursor: pointer;
}

.qa-action-btn:hover {
  border-color: #ED1E40;
}

.qa-log {
  font-family: monospace;
  font-size: 11px;
  line-height: 1.4;
  color: #A5D6FF;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 120px;
  overflow-y: auto;
}

@media (max-width: 780px) {
  .workbench {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  body {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
  }

  .workbench {
    width: 100%;
    max-width: none;
    gap: 0;
  }

  .device-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .apk-bottom-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .apk-btn-continue {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }
}
