.enquiry-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin: 0 0 24px;
    max-width: 820px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Step-by-step form */

.wizard-progress {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wizard-bar {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
}

.wizard-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8a8a8a;
}

.wizard-step.is-done .wizard-bar,
.wizard-step.is-current .wizard-bar {
    background: linear-gradient(90deg, #c41e3a, #d4a017);
}

.wizard-step.is-done .wizard-label {
    color: #d4a017;
}

.wizard-step.is-current .wizard-label {
    color: #ffffff;
}

.wizard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wizard-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wizard-panel[hidden] {
    display: none;
}

.wizard-heading {
    margin: 0;
    padding: 0;
    font-size: 1.35rem;
    color: #ffffff;
}

.wizard-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.wizard-chosen {
    padding: 5px 12px;
    border-radius: 14px;
    border: 1px solid rgba(212, 160, 23, 0.5);
    background: rgba(212, 160, 23, 0.12);
    color: #e8c25a;
    font-size: 0.8rem;
    font-weight: 600;
}

.enquiry-topics {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enquiry-topics .wizard-heading {
    margin-bottom: 6px;
}

.enquiry-topic {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    min-height: 56px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.enquiry-topic:hover {
    border-color: rgba(212, 160, 23, 0.55);
}

.enquiry-topic input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.enquiry-topic-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.enquiry-topic-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.enquiry-topic-text strong {
    font-size: 1rem;
    color: #ffffff;
}

.enquiry-topic-text span {
    font-size: 0.875rem;
    color: #b0b0b0;
}

.enquiry-topic:has(input:checked) {
    border-color: #d4a017;
    background: rgba(196, 30, 58, 0.16);
}

.enquiry-topic:has(input:checked) .enquiry-topic-dot {
    border: 5px solid #d4a017;
    background: #18181b;
}

.enquiry-topic:has(input:focus-visible) {
    outline: 2px solid #d4a017;
    outline-offset: 3px;
}

/* Sale enquiry from the For Sale page: only Buying or Selling is available */
.enquiry-topic:has(input:disabled) {
    opacity: 0.4;
    cursor: not-allowed;
}

.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-nav .submit-btn {
    align-self: auto;
}

.wizard-back {
    margin-right: auto;
    padding: 12px 22px;
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #e0d6c8;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.wizard-back[hidden],
.wizard-nav .submit-btn[hidden] {
    display: none;
}

.sale-enquiry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.sale-enquiry-card[hidden] {
    display: none;
}

.sale-enquiry-name {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.sale-enquiry-soldout {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 8px 10px 0;
    border-radius: 12px;
    border: 1px solid rgba(196, 30, 58, 0.6);
    background: rgba(196, 30, 58, 0.15);
    color: #ff9aa8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sale-enquiry-soldout[hidden] {
    display: none;
}

.sale-enquiry-price {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #c41e3a, #d4a017);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sale-enquiry-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d0d0d0;
    margin: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
}

.required-asterisk {
    color: #ff4d4d;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c41e3a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #18181b;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #c41e3a, #d4a017);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .wizard-card {
        padding: 20px;
    }

    .wizard-nav .submit-btn {
        flex: 1;
    }
}
