* {
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #16a34a;
    --success-dark: #15803d;
    --success-light: #f0fdf4;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --purple: #7c3aed;
    --purple-light: #f5f3ff;
    --gold: #d89b00;
    --gold-light: #fff8df;
    --text: #172033;
    --text-soft: #334155;
    --muted: #64748b;
    --border: #dbe2ea;
    --border-light: #e8edf3;
    --background: #f4f7fb;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 55px rgba(15, 23, 42, 0.12);
}

/* ================================================= */
/* BODY */
/* ================================================= */

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 35%),
        var(--background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ================================================= */
/* APP CONTAINER */
/* ================================================= */

.app-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 18px 60px;
}

/* ================================================= */
/* CARD */
/* ================================================= */

.card {
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    animation: cardEnter 0.25s ease-out;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================= */
/* HIDDEN */
/* ================================================= */

.hidden {
    display: none !important;
}

/* ================================================= */
/* LOGIN */
/* ================================================= */

.login-card {
    margin-top: 4vh;
}

.brand-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.brand-mark span {
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-3px);
}

/* ================================================= */
/* EYEBROW */
/* ================================================= */

.eyebrow {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
}

.success-eyebrow {
    color: var(--success);
}

/* ================================================= */
/* HEADINGS */
/* ================================================= */

h1,
h2 {
    margin: 0 0 8px;
    color: var(--text);
    text-align: center;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 29px;
    font-weight: 750;
}

h2 {
    font-size: 25px;
    font-weight: 750;
}

.subtitle {
    max-width: 450px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

/* ================================================= */
/* TOP ICON */
/* ================================================= */

.top-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 27px;
}

.blue-icon {
    background: var(--primary-light);
}

.green-icon {
    background: var(--success-light);
    color: var(--success);
}

.purple-icon {
    background: var(--purple-light);
}

/* ================================================= */
/* FORM GROUP */
/* ================================================= */

.form-group {
    position: relative;
    margin-bottom: 19px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.required-mark {
    margin-left: 2px;
    color: var(--danger);
}

/* ================================================= */
/* INPUT SHELL */
/* ================================================= */

.input-shell {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 14px;
    z-index: 2;
    font-size: 16px;
    pointer-events: none;
}

.input-shell input {
    padding-left: 43px;
}

/* ================================================= */
/* INPUTS */
/* ================================================= */

input,
textarea,
select {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    outline: none;
    background: white;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

input::placeholder {
    color: #9aa5b5;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

select {
    cursor: pointer;
}

/* ================================================= */
/* FIELD HELP */
/* ================================================= */

.field-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

/* ================================================= */
/* INFO BANNER */
/* ================================================= */

.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px 13px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12px;
    line-height: 1.5;
}

.info-banner-icon {
    flex-shrink: 0;
    font-size: 15px;
}

/* ================================================= */
/* BUTTON */
/* ================================================= */

button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

button:active {
    transform: scale(0.985);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ================================================= */
/* PRIMARY BUTTON */
/* ================================================= */

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.primary-button:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}

.button-arrow {
    font-size: 19px;
    transition: transform 0.2s ease;
}

.primary-button:hover .button-arrow {
    transform: translateX(3px);
}

/* ================================================= */
/* SECONDARY */
/* ================================================= */

.secondary-button {
    margin-top: 20px;
    background: #f1f5f9;
    color: var(--text-soft);
}

.secondary-button:hover {
    background: #e2e8f0;
}

/* ================================================= */
/* LOGOUT */
/* ================================================= */

/* Tombol ikon (dipakai logout & kembali) */

.icon-button {
    position: absolute;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Logout: pojok kanan atas */

.logout-button {
    top: 46px;
    right: 36px;
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid #fecaca;
}

.logout-button:hover {
    background: #fee2e2;
}

/* Kembali: pojok kiri atas Form Customer */

.back-button {
    top: 18px;
    left: 18px;
    background: #f1f5f9;
    color: var(--text-soft);
    border: 1px solid var(--border-light);
}

.back-button:hover {
    background: #e2e8f0;
}

/* ================================================= */
/* MESSAGE */
/* ================================================= */

.message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    display: none;
    font-size: 13px;
    line-height: 1.55;
}

.message.show {
    display: block;
}

.message.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.message.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.message.info {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

/* ================================================= */
/* FORM HEADER */
/* ================================================= */

.form-card {
    position: relative;
}

.form-header {
    margin-bottom: 4px;
}

/* ================================================= */
/* PROGRESS */
/* ================================================= */

.form-progress {
    margin: 22px 0;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.progress-header strong {
    color: var(--text-soft);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eef6;
}

.progress-value {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #6366f1);
}

/* ================================================= */
/* VERIFIED PHONE */
/* ================================================= */

.verified-phone {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    padding: 13px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdf4, #f7fff9);
}

.verified-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #dcfce7;
    color: var(--success);
    font-size: 17px;
    font-weight: 800;
}

.verified-content {
    min-width: 0;
    flex: 1;
}

.verified-content span {
    display: block;
    margin-bottom: 2px;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.verified-content strong {
    display: block;
    color: #166534;
    font-size: 15px;
}

.verified-badge {
    padding: 5px 8px;
    border-radius: 7px;
    background: #dcfce7;
    color: #15803d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* ================================================= */
/* QUESTION CARD */
/* ================================================= */

.question-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.question-card:focus-within {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.07);
}

.question-number {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.question-content {
    min-width: 0;
    flex: 1;
}

.question-content label {
    margin-bottom: 8px;
}

/* ================================================= */
/* PREMIUM CUSTOM DROPDOWN */
/* ================================================= */

.premium-select {
    position: relative;
    width: 100%;
}

.premium-select-trigger {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}

.premium-select-trigger:hover {
    border-color: #b7c2d0;
    background: #fbfdff;
}

.premium-select.open .premium-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.premium-select-value {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.premium-select-value:empty {
    color: #9aa5b5;
}

.premium-select-arrow {
    flex-shrink: 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.premium-select.open .premium-select-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ================================================= */
/* PREMIUM DROPDOWN */
/* ================================================= */

.premium-dropdown {
    position: absolute;
    z-index: 2100;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #dbe2ea;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    animation: premiumDropdownEnter 0.15s ease-out;
}

@keyframes premiumDropdownEnter {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================= */
/* DROPDOWN HEADER */
/* ================================================= */

.premium-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 13px;
    border-bottom: 1px solid #edf1f5;
    background: #f8fafc;
}

.premium-dropdown-header span {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
}

.premium-dropdown-header small {
    color: var(--muted);
    font-size: 10px;
}

/* ================================================= */
/* PREMIUM OPTIONS */
/* ================================================= */

.premium-options {
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
}

.premium-options::-webkit-scrollbar {
    width: 6px;
}

.premium-options::-webkit-scrollbar-track {
    background: transparent;
}

.premium-options::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #cbd5e1;
}

.premium-option {
    width: 100%;
    min-height: 55px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}

.premium-option:hover {
    background: #eff6ff;
}

.premium-option:active {
    transform: scale(0.99);
    background: #dbeafe;
}

.premium-option.selected {
    background: #eff6ff;
}

/* ================================================= */
/* OPTION ICON */
/* ================================================= */

.premium-option-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 18px;
}

.area-icon {
    background: #eff6ff;
}

.point-icon {
    background: var(--gold-light);
}

/* ================================================= */
/* OPTION TEXT */
/* ================================================= */

.premium-option-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.premium-option-text strong {
    overflow: hidden;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.premium-option-text small {
    color: var(--muted);
    font-size: 10px;
}

/* ================================================= */
/* OPTION CHECK */
/* ================================================= */

.premium-option-check {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: transparent;
    font-size: 13px;
    font-weight: 800;
}

.premium-option.selected .premium-option-check {
    background: #dbeafe;
    color: var(--primary);
}

/* ================================================= */
/* COMPATIBILITY SELECT */
/* ================================================= */

.compatibility-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ================================================= */
/* READONLY PHONE */
/* ================================================= */

.readonly-answer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
    font-size: 15px;
    font-weight: 700;
}

.readonly-phone-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #dcfce7;
    font-size: 14px;
}

.readonly-answer > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.readonly-check {
    color: var(--success);
    font-size: 17px;
}

/* ================================================= */
/* SEARCHABLE STORE */
/* ================================================= */

.store-select {
    position: relative;
    width: 100%;
}

.store-input {
    width: 100%;
    min-height: 50px;
    padding: 13px 44px 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-input:hover {
    border-color: #b7c2d0;
}

.store-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.store-input::placeholder {
    color: #9aa5b5;
}

.store-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    pointer-events: none;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.store-select.open .store-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

/* ================================================= */
/* STORE DROPDOWN */
/* ================================================= */

.store-dropdown {
    position: absolute;
    z-index: 2000;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #dbe2ea;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow-lg);
    animation: dropdownEnter 0.15s ease-out;
}

@keyframes dropdownEnter {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================= */
/* STORE SEARCH */
/* ================================================= */

.store-search-wrapper {
    position: relative;
    padding: 9px;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
}

.store-search {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px 10px 39px;
    border: 1px solid #d5dde7;
    border-radius: 10px;
    background: white;
    color: var(--text);
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.store-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.store-search-icon {
    position: absolute;
    top: 50%;
    left: 21px;
    transform: translateY(-50%);
    font-size: 15px;
    pointer-events: none;
}

/* ================================================= */
/* STORE OPTIONS */
/* ================================================= */

.store-options {
    max-height: 285px;
    overflow-y: auto;
    padding: 6px;
    overscroll-behavior: contain;
}

.store-options::-webkit-scrollbar {
    width: 6px;
}

.store-options::-webkit-scrollbar-track {
    background: transparent;
}

.store-options::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #cbd5e1;
}

.store-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.store-option:hover {
    background: #eff6ff;
}

.store-option:active {
    background: #dbeafe;
}

.store-option-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff;
    font-size: 17px;
}

.store-option-text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-option-arrow {
    color: #94a3b8;
    font-size: 21px;
    line-height: 1;
}

.store-option:hover .store-option-arrow {
    color: var(--primary);
}

/* ================================================= */
/* STORE NO RESULT */
/* ================================================= */

.store-no-result {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.no-result-icon {
    margin-bottom: 4px;
    font-size: 25px;
}

.store-no-result strong {
    color: var(--text);
    font-size: 13px;
}

.store-no-result small {
    font-size: 11px;
}

/* ================================================= */
/* MERCHANDISE */
/* ================================================= */

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.choice-card {
    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.choice-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.choice-card input:checked + .choice-inner {
    border-color: rgba(37, 99, 235, 0.45);
    background: #eff6ff;
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.07);
}

.choice-card input:checked + .choice-inner .choice-icon {
    background: #dbeafe;
    color: var(--primary);
}

/* ================================================= */
/* PHOTO UPLOAD */
/* ================================================= */

.photo-upload-wrapper {
    position: relative;
}

.photo-upload-wrapper input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.photo-upload-card {
    width: 100%;
    min-height: 180px;
    margin: 0;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #b8c5d6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff, #f8fafc);
    color: var(--text);
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.15s ease;
}

.photo-upload-card:hover {
    border-color: var(--primary);
    background: #f8fbff;
}

.photo-upload-card:active {
    transform: scale(0.99);
}

.photo-upload-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    font-size: 25px;
}

.photo-upload-card strong {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 14px;
}

.photo-upload-card span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11.5px;
}

.photo-upload-card small {
    color: #94a3b8;
    font-size: 10px;
}

/* ================================================= */
/* PHOTO PREVIEW */
/* ================================================= */

.photo-preview-container {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #dbe2ea;
    border-radius: 15px;
    background: #f8fafc;
}

.photo-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e5eaf0;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
}

.photo-ready-badge {
    padding: 4px 7px;
    border-radius: 6px;
    background: #dcfce7;
    color: #15803d;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.photo-preview {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    background: #f1f5f9;
}

/* ================================================= */
/* SUBMIT */
/* ================================================= */

.submit-area {
    margin-top: 22px;
}

.submit-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.5;
    text-align: center;
}

.submit-note span:last-child {
    flex: 1;
}

.submit-button {
    min-height: 55px;
    font-size: 15px;
}

/* ================================================= */
/* RECORD BOX */
/* ================================================= */

.record-box {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    background: #fafcff;
}

.record-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px;
    border-bottom: 1px solid var(--border-light);
}

.record-row:last-child {
    border-bottom: none;
}

.record-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.record-icon {
    font-size: 14px;
}

.record-row strong {
    color: var(--text);
    font-size: 13px;
    text-align: right;
    word-break: break-word;
}

/* ================================================= */
/* MOBILE */
/* ================================================= */

@media (max-width: 600px) {
    .app-container {
        padding: 14px 12px 40px;
    }

    .card {
        padding: 22px 17px;
        border-radius: 20px;
    }

    .login-card {
        margin-top: 2vh;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 13px;
    }

    .question-card {
        gap: 10px;
        padding: 13px;
    }

    .question-number {
        width: 31px;
        height: 31px;
        border-radius: 9px;
        font-size: 10px;
    }

    .premium-options {
        max-height: 320px;
    }

    .premium-option {
        min-height: 52px;
    }

    .store-options {
        max-height: 320px;
    }

    .store-option {
        min-height: 49px;
    }

    .photo-upload-card {
        min-height: 165px;
    }

    .verified-phone {
        padding: 12px;
    }

    .verified-badge {
        display: none;
    }
}

/* ================================================= */
/* VERY SMALL MOBILE */
/* ================================================= */

@media (max-width: 360px) {
    .app-container {
        padding: 10px 8px 30px;
    }

    .card {
        padding: 20px 14px;
    }

    .question-card {
        padding: 11px;
    }

    .question-number {
        width: 29px;
        height: 29px;
    }

    .verified-content strong {
        font-size: 14px;
    }

    .choice-inner {
        font-size: 13px;
    }

    .premium-option-text strong {
        font-size: 12px;
    }
}

/* ================================================= */
/* POSISI TOMBOL IKON (RESPONSIVE) */
/* ================================================= */

@media (max-width: 600px) {
    .logout-button {
        top: 28px;
        right: 26px;
    }

    .back-button {
        top: 14px;
        left: 14px;
    }
}

@media (max-width: 360px) {
    .logout-button {
        top: 24px;
        right: 22px;
    }

    .back-button {
        top: 14px;
        left: 12px;
    }
}

/* ================================================= */
/* PASSWORD: IKON MATA (TAHAN UNTUK LIHAT) */
/* ================================================= */

.password-shell input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 6px;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    box-shadow: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.password-toggle:hover {
    background: #f1f5f9;
    color: var(--text-soft);
}

.password-toggle:active,
.password-toggle.active {
    transform: none;
    background: var(--primary-light);
    color: var(--primary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.active .eye-open {
    display: none;
}

.password-toggle.active .eye-closed {
    display: block;
}