/* Elite Mall Corporate Mail Provisioning R1 — modern /apply surface only. */
.store-application-v4 .emcore-main { padding-top: 16px; }
.store-application-v4 .panel {
    background: #fff;
    border: 1px solid var(--emcore-line);
    border-radius: 20px;
    padding: clamp(20px, 2.4vw, 32px);
    box-shadow: var(--emcore-shadow);
}
.store-application-v4 .panel .panel {
    box-shadow: none;
    border-radius: 16px;
    background: #fbfbfc;
}
.store-application-v4 .application-hero,
.store-application-v4 .retail-hero.application-hero {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border: 0;
    background: linear-gradient(120deg, #161616 0%, #432515 62%, #8a3d08 100%);
}
.store-application-v4 .application-hero::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -90px;
    top: -170px;
    border-radius: 50%;
    background: rgba(255, 177, 127, .18);
}
.store-application-v4 .application-hero > * { position: relative; z-index: 1; }
.store-application-v4 .application-hero h1 {
    margin: 3px 0 8px;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -.045em;
}
.store-application-v4 .application-hero .muted { color: rgba(255,255,255,.78); }
.store-application-v4 .eyebrow {
    margin: 0;
    color: #ffb17f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.store-application-v4 .grid {
    display: grid;
    gap: 18px;
}
.store-application-v4 .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store-application-v4 h2,
.store-application-v4 h3,
.store-application-v4 h4 { margin-top: 0; color: var(--emcore-ink); letter-spacing: -.025em; }
.store-application-v4 h2 { font-size: clamp(22px, 2.2vw, 30px); }
.store-application-v4 h3 { font-size: 20px; }
.store-application-v4 p { margin: 8px 0; }
.store-application-v4 .muted { color: var(--emcore-muted); }
.store-application-v4 .hint {
    margin-top: 6px;
    color: #737b86;
    font-size: 12px;
    line-height: 1.45;
}
.store-application-v4 .form-row { margin-bottom: 16px; }
.store-application-v4 .form-row > label {
    display: block;
    margin-bottom: 7px;
    color: #3c424b;
    font-size: 13px;
    font-weight: 800;
}
.store-application-v4 input,
.store-application-v4 select,
.store-application-v4 textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7dce2;
    border-radius: 11px;
    background: #fff;
    color: var(--emcore-ink);
    padding: 11px 13px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.store-application-v4 textarea { min-height: 108px; resize: vertical; }
.store-application-v4 input:focus,
.store-application-v4 select:focus,
.store-application-v4 textarea:focus {
    border-color: var(--emcore-orange);
    box-shadow: 0 0 0 4px rgba(255,107,26,.12);
}
.store-application-v4 button,
.store-application-v4 .btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--emcore-orange);
    border-radius: 11px;
    padding: 10px 17px;
    background: var(--emcore-orange);
    color: #fff;
    font-weight: 850;
    line-height: 1.1;
}
.store-application-v4 button:hover,
.store-application-v4 .btn:hover { background: var(--emcore-orange-dark); border-color: var(--emcore-orange-dark); }
.store-application-v4 .btn.ghost,
.store-application-v4 button.ghost {
    background: #fff;
    color: #5d351d;
    border-color: #d8dde4;
}
.store-application-v4 .btn.small,
.store-application-v4 button.small { min-height: 36px; padding: 7px 12px; font-size: 12px; }
.store-application-v4 .actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.store-application-v4 .notice,
.store-application-v4 .empty {
    border: 1px solid #f0d2bc;
    border-radius: 13px;
    background: #fff8f2;
    padding: 14px 16px;
}
.store-application-v4 .notice.error { border-color: #f2b8b2; background: #fff5f4; color: #8b1a12; }
.store-application-v4 .empty { color: var(--emcore-muted); border-style: dashed; background: #fafbfc; }
.store-application-v4 .email-suffix-field {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    overflow: hidden;
    border: 1px solid #d7dce2;
    border-radius: 11px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.store-application-v4 .email-suffix-field:focus-within {
    border-color: var(--emcore-orange);
    box-shadow: 0 0 0 4px rgba(255,107,26,.12);
}
.store-application-v4 .email-suffix-field input {
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.store-application-v4 .email-suffix-field input:focus { box-shadow: none; }
.store-application-v4 .email-suffix-field span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-left: 1px solid #e2e5e9;
    background: #f5f6f8;
    color: #444b55;
    font-weight: 800;
    white-space: nowrap;
}
.store-application-v4 .application-password-field {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: stretch;
}
.store-application-v4 .application-password-field input { border-radius: 11px 0 0 11px; }
.store-application-v4 .application-password-toggle {
    min-width: 72px;
    min-height: 48px;
    border-radius: 0 11px 11px 0;
    border-color: #d7dce2;
    background: #f5f6f8;
    color: #3f4650;
    padding-inline: 12px;
}
.store-application-v4 .application-password-toggle:hover { background: #eceff2; color: #15171a; border-color: #c9ced5; }
.store-application-v4 .application-password-match.is-match { color: var(--emcore-green); font-weight: 750; }
.store-application-v4 .application-password-match.is-mismatch { color: var(--emcore-red); font-weight: 750; }
.store-application-v4 .application-optional {
    display: inline-flex;
    margin-left: 5px;
    border-radius: 999px;
    padding: 2px 7px;
    background: #eef1f4;
    color: #626a75;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.store-application-v4 .application-phone-card,
.store-application-v4 .application-trust-card { min-height: 100%; }
.store-application-v4 hr { border: 0; border-top: 1px solid var(--emcore-line); margin: 24px 0; }
.store-application-v4 .flash { border-radius: 12px; }
@media (max-width: 800px) {
    .store-application-v4 .grid-2 { grid-template-columns: 1fr; }
    .store-application-v4 .panel { padding: 20px; border-radius: 16px; }
    .store-application-v4 .application-hero { min-height: 160px; }
    .store-application-v4 .application-hero .actions { align-items: flex-start !important; }
}
@media (max-width: 520px) {
    .store-application-v4 .emcore-main { padding-top: 8px; }
    .store-application-v4 .panel { padding: 17px; }
    .store-application-v4 .email-suffix-field span { padding-inline: 10px; font-size: 12px; }
    .store-application-v4 .actions > * { width: 100%; }
    .store-application-v4 .application-password-toggle { min-width: 64px; }
}
