/* ProcurePulse sign-in: photo panel listing the suite, emerald / saffron identity (overrides the shared HRMS auth.css). */
:root {
  --night: #0B231F; --indigo: #0F3E35; --blue: #0E7C66; --marigold: #F2A007;
  --mist: #EEF4F1; --ink: #0F1F1B; --muted: #5C6E67; --line: #D6E1DC; --field: #F5F8F6;
  --display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #E8F3EF; --muted: #9CB8AE; --line: #21403A; --surface: #0B1A17; --field: #10241F; --mist: #0A1714; } }
:root[data-theme="dark"] { --ink: #E8F3EF; --muted: #9CB8AE; --line: #21403A; --surface: #0B1A17; --field: #10241F; --mist: #0A1714; }

.auth { grid-template-columns: minmax(0, 60fr) minmax(400px, 40fr); }
.control input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14, 124, 102, .15); }
.btn { background: linear-gradient(180deg, #11937A, #0E7C66) !important; box-shadow: 0 10px 22px -10px rgba(14, 124, 102, .7) !important; }
.btn:hover { background: #0A6352 !important; }
.form-wrap h1, h1[data-greet] { font-family: var(--display); }

/* ---- photo panel ---- */
.erp-art { position: relative; overflow: hidden; display: flex; padding: 0 !important; background: var(--night) !important; color: #EAF6F2; }
.erp-art .ea-photo { position: absolute; inset: 0; background: url('../img/login/warehouse.jpg') center 30% / cover no-repeat; transform: scale(1.04); filter: saturate(.85) contrast(1.05); }
@media (prefers-reduced-motion: no-preference) { .erp-art .ea-photo { animation: eaZoom 28s ease-in-out infinite alternate; } }
@keyframes eaZoom { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.erp-art::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 100% 0%, rgba(242, 160, 7, .28), transparent 60%),
  linear-gradient(160deg, rgba(12, 58, 50, .88) 0%, rgba(16, 76, 65, .8) 45%, rgba(20, 96, 82, .72) 100%); }
.ea-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(14px, 2.2vh, 26px); width: 100%; padding: clamp(24px, 4vh, 44px) clamp(24px, 3.4vw, 56px); min-height: 100vh; }
.ea-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ea-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFD27A;
  background: rgba(242, 160, 7, .12); border: 1px solid rgba(242, 160, 7, .35); padding: 7px 12px; border-radius: 999px; }
.ea-clock { font-size: 13px; color: #A8D5C8; }
.ea-clock b { color: #fff; font-family: var(--display); font-weight: 600; }
.ea-hero h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 10px; color: #fff; max-width: 760px; }
.ea-hero h2 em { font-style: normal; color: #FFD27A; }
.ea-hero p { margin: 0; color: #BFDDD3; font-size: clamp(13.5px, 1vw, 15.5px); line-height: 1.55; max-width: 640px; }
.ea-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.1vh, 12px); flex: 1; align-content: start; }
.ea-f { display: flex; gap: 11px; align-items: flex-start; padding: clamp(10px, 1.4vh, 14px) 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.ea-f:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 210, 122, .45); transform: translateY(-2px); }
.ea-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: #0B231F; background: linear-gradient(135deg, #FFD27A, #F2A007); box-shadow: 0 6px 14px -6px rgba(242, 160, 7, .8); }
.ea-f:nth-child(3n+2) .ea-ic { background: linear-gradient(135deg, #7BE3C6, #14A889); }
.ea-f:nth-child(3n) .ea-ic { background: linear-gradient(135deg, #A7D8FF, #4C9BE8); }
.ea-f b { display: block; font-family: var(--display); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.25; }
.ea-f small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: #B5D6CB; }
@media (prefers-reduced-motion: no-preference) { .ea-f { opacity: 0; animation: eaIn .5s ease-out forwards; animation-delay: calc(var(--i) * 55ms + 150ms); } }
@keyframes eaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ea-erp { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #CFE6DF; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ea-erp i { font-size: 20px; color: #FFD27A; }
.ea-erp b { color: #fff; font-weight: 600; }

@media (max-height: 820px) { .ea-f small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } }
@media (max-width: 1280px) { .ea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .auth { grid-template-columns: 1fr; }
  .erp-art { order: 2; }
  .ea-inner { min-height: 0; }
}
@media (max-width: 560px) { .ea-grid { grid-template-columns: 1fr; } }

/* form card in the ProcurePulse palette */
h1[data-greet], .form-card h1 { color: #0E7C66 !important; font-family: var(--display); }
.form-card { border-color: #DCE7E2; }
.form-card::before { background: linear-gradient(90deg, #0E7C66, #14A889 45%, #F2A007) !important; }
.field-head a, .link, .auth-foot a, .form-card a:not(.btn):not(.powered):not(.brand) { color: #0B6E5A; }
.trust li { border-color: #D6E1DC !important; color: #4E6159; }
.trust li i { color: #0E7C66; }
.auth-form { background: radial-gradient(60% 50% at 100% 0%, rgba(242, 160, 7, .08), transparent 60%), radial-gradient(50% 40% at 0% 100%, rgba(14, 124, 102, .08), transparent 60%), var(--surface); }
.blob { display: none; }
:root[data-theme="dark"] .form-card { background: rgba(11, 26, 23, .92); border-color: #21403A; }

/* brighter text on the photo panel */
.ea-hero p, .ea-clock, .ea-erp { color: #EAF8F3 !important; }
.ea-f small { color: #DDF1EA !important; }
.ea-f { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.form-wrap .lead, .card-copy, .fine, .auth-foot { color: #3C5149 !important; }
.field-head label, .field label { color: #13241D; font-weight: 600; }
.form-card h1, .form-card h1[data-greet] { background: linear-gradient(90deg, #0E7C66, #13A285 60%, #E89500) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; color: #0E7C66 !important; }

/* layout tweaks: feature cards sit lower, larger clock, subtitle shown as written */
.ea-grid { margin-top: clamp(18px, 4vh, 44px); }
.ea-clock { font-size: 17px; color: #F2FBF7 !important; letter-spacing: .01em; }
.ea-clock b { font-size: 21px; margin-left: 4px; }
.brand-sub { text-transform: none !important; letter-spacing: .02em !important; font-size: 14px !important; font-weight: 600; color: #2E5C50 !important; }

/* headline and feature cards sit lower in the photo panel */
.ea-hero { margin-top: clamp(24px, 7vh, 80px); }
.ea-grid { margin-top: clamp(26px, 7vh, 80px) !important; }

/* supplier registration capsule (third line under the sign-in card) */
.auth-supplier { margin: 10px 0 0; text-align: center; }
.sup-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none;
  color: #0B5E4E !important; background: #E3F3EE; border: 1px solid #A9D9CB; box-shadow: 0 6px 14px -10px rgba(14, 124, 102, .6); transition: background .15s, transform .15s; }
.sup-pill:hover { background: #0E7C66; color: #fff !important; border-color: #0E7C66; transform: translateY(-1px); }
.sup-pill i { font-size: 16px; }
:root[data-theme="dark"] .sup-pill { background: #10302A; border-color: #24524A; color: #8FE6CF !important; }
