/* Each Android app's own look on its sign-in pages (templates/partials/app_brand.html). Phones and tablets. */
.app-band { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 16px 18px; border-radius: 18px;
            color: #fff; position: relative; overflow: hidden; }
.app-band-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff;
                 box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 6px 16px rgba(0, 0, 0, .18); }
.app-band-text { display: grid; gap: 2px; min-width: 0; }
.app-band-text strong { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.app-band-text span { font-size: 13px; line-height: 1.35; opacity: .92; }

/* IPL Retail (customers): white with the three brand colours, the IPL Retail logo as the icon */
.app-band--customer { background: #fff; color: #15171c; border: 1px solid #ececf1; padding-bottom: 22px;
                      box-shadow: 0 6px 20px rgba(21, 23, 28, .06); }
.app-band--customer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, #e8285c 0 33.3%, #f5a800 33.3% 66.6%, #18b4f0 66.6% 100%); }
.app-band--customer .app-band-icon { box-shadow: 0 0 0 1px #ececf1; }
.app-band--customer .app-band-text span { color: #5b6170; opacity: 1; }

/* IPL Staff: pink */
.app-band--staff { background: linear-gradient(135deg, #e8285c 0%, #c81a4b 100%); }
.app-staff .auth-card .btn-primary { background: #e8285c; border-color: #e8285c; color: #fff; }
.app-staff .auth-card .btn-primary:hover { background: #c81a4b; border-color: #c81a4b; }
.app-staff .auth-card .input:focus { border-color: #e8285c; box-shadow: 0 0 0 3px rgba(232, 40, 92, .2); }

/* IPL Pick n Pack: yellow with dark text (white on yellow is hard to read) */
.app-band--pick { background: linear-gradient(135deg, #f7b500 0%, #f09a00 100%); color: #1c1600; }
.app-band--pick .app-band-icon { box-shadow: 0 0 0 3px rgba(28, 22, 0, .12), 0 6px 16px rgba(0, 0, 0, .15); }
.app-pick .auth-card .btn-primary { background: #f5a800; border-color: #f5a800; color: #1c1600; }
.app-pick .auth-card .btn-primary:hover { background: #e09700; border-color: #e09700; }

/* IPL Chat: blue */
.app-band--chat { background: linear-gradient(135deg, #18a6e6 0%, #0d86c7 100%); }

/* Inside an app the band replaces the logo and the "Staff Portal" strip, so the top of the page isn't doubled */
.app-staff .staff-mobile-bar, .app-pick .staff-mobile-bar, .app-pick .pk-band, .app-pick .pk-chip { display: none !important; }

@media (min-width: 600px) {
  .app-band { padding: 20px 22px; }
  .app-band-icon { width: 64px; height: 64px; border-radius: 18px; }
  .app-band-text strong { font-size: 22px; }
}
:root[data-theme="dark"] .app-band--customer { background: #1b1e25; color: #f3f4f6; border-color: #2a2e38; }
:root[data-theme="dark"] .app-band--customer .app-band-text span { color: #a3a9b6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .app-band--customer { background: #1b1e25; color: #f3f4f6; border-color: #2a2e38; }
  :root:not([data-theme="light"]) .app-band--customer .app-band-text span { color: #a3a9b6; }
}

/* Tablets (owner, 22 Nov 26: "UI keep clean and modern", "Tablet optimisation based on screen size").
   Portrait tablets (600-899 px, e.g. the warehouse Galaxy Tab at ~800 px): the form sits on a soft background in a
   wider card with bigger text, fields and buttons for fingers. Landscape tablets and computers keep the two-panel
   layout with a slightly roomier form. */
@media (min-width: 600px) and (max-width: 899px) {
  .auth-panel, .auth--staff .auth-panel { align-items: center; padding: 56px 40px; background: #f4f5f8; min-height: 100vh; }
  .app-staff .auth-panel { background: #fdf0f3; }
  .app-pick .auth-panel, .auth--pick .auth-panel { background: #fff7e3; }
  .auth-card { max-width: 540px; padding: 40px 44px; border-radius: 26px; background: var(--surface, #fff);
               border: 1px solid var(--border, #eaecf0); box-shadow: 0 24px 60px rgba(16, 24, 40, .08); }
  .auth-card h2 { font-size: 30px; }
  .auth-card .lead, .auth-card .muted { font-size: 15.5px; }
  .auth-card .label { font-size: 15px; }
  .auth-card .input { height: 54px; font-size: 17px; border-radius: 14px; }
  .auth-card .btn { min-height: 54px; font-size: 16.5px; border-radius: 14px; }
  .auth-card .staff-mobile-bar { margin: -40px -44px 28px; padding: 20px 44px; border-radius: 26px 26px 0 0; }
  .app-band { margin-bottom: 30px; }
}
@media (min-width: 900px) {
  .auth-card { max-width: 440px; }
  .auth-card .input { height: 50px; font-size: 16px; }
  .auth-card .btn { min-height: 50px; }
}
:root[data-theme="dark"] .auth-panel { background: var(--surface); }
/* Landscape tablets in the IPL Staff app: the side panel matches the app's pink instead of the browser's navy portal */
.auth.app-staff .auth-art { background: radial-gradient(800px 500px at 110% 110%, rgba(245, 168, 0, .28), transparent 60%),
  linear-gradient(160deg, #e8285c 0%, #b8164a 60%, #7d1236 100%); }
