.hpw-wizard {
    border: 1px solid #ccd0d4;
    padding: 20px;
    margin: 16px 0;
    background: #fff;
}

.hpw-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.hpw-title {
    margin: 0;
    font-size: 20px;
}

.hpw-progress {
    flex: 1;
    min-width: 160px;
    height: 6px;
    border-radius: 4px;
    background: #f0f0f1;
    overflow: hidden;
}

.hpw-progress-bar {
    height: 100%;
    width: 0;
    background: #2271b1;
    transition: width 0.2s ease;
}

.hpw-progress-text {
    font-size: 12px;
    color: #50575e;
}

.hpw-step-title {
    margin: 0 0 4px;
    font-size: 18px;
}

.hpw-step-description {
    margin: 0 0 12px;
    color: #50575e;
}

.hpw-question {
    margin-bottom: 12px;
}

.hpw-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.hpw-required {
    color: #b32d2e;
    margin-left: 2px;
}

.hpw-help {
    font-size: 12px;
    color: #646970;
    margin-top: 4px;
}

.hpw-error-message {
    color: #b32d2e;
    font-size: 12px;
    margin-top: 4px;
}

.hpw-error-summary {
    color: #b32d2e;
    font-weight: 600;
    margin-bottom: 12px;
}

.hpw-questions input[type="text"],
.hpw-questions input[type="email"],
.hpw-questions input[type="tel"],
.hpw-questions input[type="number"],
.hpw-questions input[type="date"],
.hpw-questions select,
.hpw-questions textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.hpw-ai-output {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background: #f6f7f7;
}

.hpw-map-input {
    margin-bottom: 8px;
}

.hpw-map {
    width: 100%;
    height: 260px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    overflow: hidden;
}

.hpw-map-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.hpw-map-locate {
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    color: #2c3338;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.hpw-map-locate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hpw-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hpw-file-uploads,
.hpw-file-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

.hpw-file-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.hpw-file-name {
    flex: 1 1 auto;
}

.hpw-file-status {
    font-size: 12px;
    color: #646970;
}

.hpw-file-progress {
    width: 100%;
    height: 6px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
}

.hpw-file-progress-bar {
    height: 100%;
    width: 0;
    background: #2271b1;
    transition: width 0.2s ease;
}

.hpw-file-rejected .hpw-file-status,
.hpw-file-failed .hpw-file-status {
    color: #b32d2e;
}

.hpw-file-success .hpw-file-status {
    color: #46b450;
}

.hpw-file-uploading .hpw-file-status {
    color: #2271b1;
}

.hpw-file-remove {
    background: none;
    border: none;
    color: #b32d2e;
    cursor: pointer;
    padding: 0;
}

.hpw-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}

.hpw-button {
    background: #2271b1;
    border: 1px solid #2271b1;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.hpw-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hpw-button-secondary {
    background: #f0f0f1;
    border-color: #c3c4c7;
    color: #2c3338;
}

.hpw-button-danger {
    background: #b32d2e;
    border-color: #b32d2e;
    color: #fff;
}

.hpw-success {
    border: 1px solid #46b450;
    background: #f6fffa;
    padding: 16px;
}

.hpw-manage-link a {
    color: #2271b1;
}

.hpw-loading {
    color: #555d66;
}

.hpw-error {
    color: #b32d2e;
}

.hpw-autosave {
    border: 1px solid #ccd0d4;
    background: #f6f7f7;
    padding: 12px;
    margin: 12px 0;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hpw-autosave-status {
    color: #555d66;
}

.hpw-version {
    margin-top: 12px;
    font-size: 11px;
    color: #8c8f94;
    text-align: right;
}
