.walkin-image-editor {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.walkin-image-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.walkin-image-picker {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    justify-content: center;
    min-width: 112px;
}

.walkin-image-picker input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.walkin-image-camera {
    background: #087f6d;
    border-color: #087f6d;
    color: #fff;
}

.walkin-customer-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef7f4;
    border: 1px solid #d3e6df;
}

.walkin-customer-avatar-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.walkin-customer-avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b6b50;
}

.walkin-image-field > small {
    display: block;
    margin-top: 6px;
    color: #718397;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .walkin-image-editor {
        align-items: flex-start;
    }

    .walkin-image-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 1 1 auto;
    }

    .walkin-image-picker {
        width: 100%;
        min-width: 0;
    }

    .walkin-image-actions > .button.subtle {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .walkin-customer-avatar {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}
