* {
    box-sizing: border-box;
}

:root {
    --primary: #123c69;
    --primary-dark: #0b2948;
    --text: #17212b;
    --muted: #667085;
    --border: #d9dee5;
    --background: #f4f7fa;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);
}

.app {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
}


/* Header */

.header {
    padding: 10px 0 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;

    border-radius: 9px;

    font-size: 15px;
    font-weight: 800;
}

.logo-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo-subtitle {
    margin-top: 2px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
    color: var(--muted);
}


/* Progress */

.progress-container {
    margin-bottom: 18px;
}

.progress-label {
    display: flex;
    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.progress-bar {
    width: 100%;
    height: 5px;

    overflow: hidden;

    background: #e2e7ed;
    border-radius: 20px;
}

.progress-fill {
    width: 25%;
    height: 100%;

    background: var(--primary);
}


/* Card */

.card {
    background: var(--white);

    border: 1px solid #e6e9ed;
    border-radius: 18px;

    padding: 34px;

    box-shadow:
        0 8px 30px rgba(20, 40, 60, 0.06);
}


/* Intro */

.eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--primary);
}

.intro h1 {
    margin: 0 0 12px;

    font-size: 32px;
    line-height: 1.15;
}

.intro p {
    max-width: 620px;

    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: var(--muted);
}


/* Sections */

.section {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #edf0f3;
}

.section h2 {
    margin: 0 0 20px;

    font-size: 19px;
}


/* Fields */

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 700;
}

.optional {
    font-weight: 400;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: white;

    padding: 14px;

    font-family: inherit;
    font-size: 16px;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(18, 60, 105, 0.1);
}

textarea {
    resize: vertical;
    min-height: 110px;
}


/* Two columns */

.two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


/* Footer */

.form-footer {
    margin-top: 35px;
}

.privacy-note {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: var(--muted);
}


/* Button */

.primary-button {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 15px;

    padding: 16px;

    border: none;
    border-radius: 10px;

    background: var(--primary);
    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.15s,
        transform 0.15s;
}

.primary-button:hover {
    background: var(--primary-dark);
}

.primary-button:active {
    transform: scale(0.99);
}


/* Footer */

footer {
    text-align: center;

    padding: 25px 0 10px;
}

footer p {
    margin: 0;

    font-size: 11px;

    color: var(--muted);
}


/* Mobile */

@media (max-width: 600px) {

    .app {
        padding: 14px;
    }

    .card {
        padding: 24px 18px;

        border-radius: 14px;
    }

    .intro h1 {
        font-size: 27px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .logo-name {
        font-size: 16px;
    }

}
/* Photo Section */

.hidden {
    display: none;
}

.photo-notice {
    margin-top: 25px;
    padding: 16px;

    background: #f4f7fa;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.5;
}

.photo-notice strong {
    display: block;
    margin-bottom: 8px;
}

.photo-notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.photo-list {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.photo-item {
    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: white;
}

.photo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.photo-title {
    font-size: 15px;
    font-weight: 700;
}

.photo-status {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.photo-preview {
    width: 100%;
    max-height: 300px;

    object-fit: cover;

    margin-top: 15px;

    border-radius: 9px;
}

.photo-input {
    display: none;
}

.photo-button {
    width: 100%;

    margin-top: 12px;

    padding: 13px;

    border: 1px solid var(--primary);
    border-radius: 9px;

    background: white;
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.photo-button:hover {
    background: #f1f5f9;
}

.photo-remove {
    width: 100%;

    margin-top: 8px;

    padding: 10px;

    border: none;

    background: transparent;

    color: #777;

    font-size: 13px;

    cursor: pointer;
}

.photo-remove:hover {
    text-decoration: underline;
}
/* Location */

.location-section {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #edf0f3;

    text-align: center;
}

.location-icon {
    font-size: 38px;

    margin-bottom: 10px;
}

.location-section h2 {
    margin-bottom: 8px;
}

.location-section p {
    font-size: 14px;
    line-height: 1.5;

    color: var(--muted);
}

.location-status {
    min-height: 20px;

    margin-top: 12px;

    font-size: 13px !important;
}
/* Review Section */

.review-section {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #edf0f3;
}

.review-header h2 {
    margin: 5px 0 8px;

    font-size: 24px;
}

.review-header p {
    margin: 0;

    font-size: 14px;

    color: var(--muted);
}


.review-group {
    margin-top: 25px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #fafbfc;
}

.review-group h3 {
    margin: 0 0 15px;

    font-size: 15px;
}


.review-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #e9edf1;

    font-size: 14px;
}

.review-row:last-child {
    border-bottom: none;
}

.review-row span {
    color: var(--muted);
}

.review-row strong {
    text-align: right;

    word-break: break-word;
}


.submission-status {
    margin-top: 25px;

    padding: 18px;

    border-radius: 12px;

    background: #f4f7fa;
}


.status-item {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    font-size: 14px;
}

.status-item:last-child {
    margin-bottom: 0;
}


.status-check {
    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-size: 12px;
    font-weight: bold;
}


.submit-area {
    margin-top: 25px;
}

.submit-area > p {
    font-size: 12px;

    line-height: 1.5;

    color: var(--muted);
}


#submitButton {
    margin-top: 12px;
}
/* =========================================================
   LESSON 10 — MOBILE & SELLER UX POLISH
   ========================================================= */

/* Better tap targets */
button,
input,
select,
textarea {
    font-size: 16px;
}

/* Photo cards */
.photo-item {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 12px;
}

/* Photo preview */
.photo-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin: 14px auto;
    display: block;
}

/* Photo buttons */
.photo-button,
.photo-remove {
    min-height: 48px;
    padding: 12px 18px;
    margin-top: 8px;
    width: 100%;
}

/* Location button */
#locationButton {
    min-height: 52px;
    width: 100%;
}

/* Submit button */
#submitButton {
    min-height: 54px;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
}

/* Confirmation screen */
.confirmation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
}

.confirmation-message {
    line-height: 1.6;
}

.confirmation-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
}

.confirmation-note {
    margin-top: 24px;
    font-size: 14px;
}

/* Mobile layout */
@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    .card {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
        padding: 20px 16px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 21px;
    }

    h3 {
        font-size: 18px;
    }

    input,
    select,
    textarea {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
    }

    textarea {
        min-height: 120px;
    }

    .photo-item-header {
        gap: 10px;
        align-items: flex-start;
    }

    .photo-title {
        line-height: 1.4;
    }

    .photo-status {
        white-space: nowrap;
    }

    .photo-preview {
        max-height: 300px;
    }
}