/* =========================================================
   Public "Developer Request" form (3 steps)
   Theme: primary #26ae61, heading #001935 (matches style.css)
   ========================================================= */

:root {
    --dr-primary: #26ae61;
    --dr-primary-dark: #1e8449;
    --dr-primary-soft: #eaf7f0;
    --dr-heading: #001935;
    --dr-text: #4b5563;
    --dr-muted: #6b7280;
    --dr-border: #e3e8ee;
    --dr-soft: #f6f8fa;
    --dr-danger: #dc3545;
}

.dr-page {
    padding: 50px 0 80px;
    background: var(--dr-soft);
}

/* page heading */
.dr-head {
    max-width: 720px;
    margin-bottom: 32px;
}

.dr-head-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--dr-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.dr-head-title {
    margin: 0 0 10px;
    color: var(--dr-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.dr-head-text {
    color: var(--dr-text);
    font-size: 15.5px;
    line-height: 1.7;
}

/* main card */
.dr-card {
    border: 1px solid var(--dr-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 42, 71, .06);
}

/* stepper */
.dr-steps {
    display: flex;
    margin: 0;
    padding: 24px 28px;
    border-bottom: 1px solid var(--dr-border);
    list-style: none;
    counter-reset: dr-step;
}

.dr-steps li {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* connector line between steps */
.dr-steps li:not(:last-child)::after {
    content: '';
    flex: 1 1 auto;
    height: 2px;
    margin: 0 14px;
    border-radius: 2px;
    background: var(--dr-border);
}

.dr-steps li.is-done:not(:last-child)::after {
    background: var(--dr-primary);
}

.dr-step-no {
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--dr-border);
    border-radius: 50%;
    background: #fff;
    color: var(--dr-muted);
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 17px;
    font-weight: 700;
    transition: all .2s ease;
}

.dr-step-text {
    min-width: 0;
    line-height: 1.25;
}

.dr-step-text strong {
    display: block;
    color: var(--dr-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.dr-step-text small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    white-space: nowrap;
}

.dr-steps li.is-active .dr-step-no {
    border-color: var(--dr-primary);
    background: var(--dr-primary);
    color: #fff;
}

.dr-steps li.is-active .dr-step-text strong {
    color: var(--dr-heading);
}

.dr-steps li.is-done .dr-step-no {
    border-color: var(--dr-primary);
    background: var(--dr-primary-soft);
    color: var(--dr-primary-dark);
}

.dr-steps li.is-done .dr-step-text strong {
    color: var(--dr-primary-dark);
}

/* step panels */
.dr-body {
    padding: 28px;
}

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

.dr-panel-title {
    margin: 0 0 4px;
    color: var(--dr-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.dr-panel-sub {
    margin-bottom: 22px;
    color: var(--dr-muted);
    font-size: 14px;
}

.dr-form .form-label {
    margin-bottom: 6px;
    color: var(--dr-heading);
    font-size: 14px;
    font-weight: 600;
}

.dr-form .form-label .req {
    color: var(--dr-danger);
}

.dr-form .form-label .opt {
    color: var(--dr-muted);
    font-size: 12px;
    font-weight: 400;
}

.dr-form .form-control {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d5dce4;
    border-radius: 10px;
    color: var(--dr-heading);
    font-size: 15px;
    box-shadow: none;
}

.dr-form textarea.form-control {
    min-height: auto;
    resize: vertical;
}

.dr-form .form-control:focus {
    border-color: var(--dr-primary);
    box-shadow: 0 0 0 3px rgba(38, 174, 97, .15);
}

/* the site makes every placeholder white (custom-mrt-dev.css) */
.dr-form .form-control::placeholder {
    color: #9ca3af !important;
}

.dr-form .form-control.is-invalid {
    border-color: var(--dr-danger);
}

.dr-hint {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    color: var(--dr-muted);
    font-size: 12.5px;
}

.dr-count {
    white-space: nowrap;
}

.dr-count.is-short {
    color: #b7791f;
    font-weight: 600;
}

.dr-count.is-over {
    color: var(--dr-danger);
    font-weight: 600;
}

.dr-error {
    display: block;
    margin-top: 6px;
    color: var(--dr-danger);
    font-size: 13px;
}

/* image upload boxes */
.dr-upload {
    padding: 18px;
    border: 1px solid var(--dr-border);
    border-radius: 12px;
    background: #fcfdfd;
}

.dr-upload.is-invalid {
    border-color: var(--dr-danger);
}

.dr-upload .image-uploader {
    min-height: 140px;
    border-radius: 10px;
    border-color: #cfd8e2;
    background: #fff;
}

.dr-upload .image-uploader .upload-text span {
    color: var(--dr-muted);
    font-size: 14px;
}

/* honeypot: off screen, not display:none (some bots skip hidden fields) */
.dr-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* footer buttons */
.dr-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--dr-border);
    background: #fbfcfd;
    border-radius: 0 0 16px 16px;
}

.dr-actions-note {
    color: var(--dr-muted);
    font-size: 13px;
}

.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.dr-btn-primary {
    background: var(--dr-primary);
    color: #fff;
}

.dr-btn-primary:hover,
.dr-btn-primary:focus {
    background: var(--dr-primary-dark);
    color: #fff;
}

.dr-btn-primary:disabled {
    opacity: .7;
    cursor: wait;
}

.dr-btn-light {
    border-color: #d5dce4;
    background: #fff;
    color: var(--dr-heading);
}

.dr-btn-light:hover {
    border-color: var(--dr-heading);
    color: var(--dr-heading);
}

.dr-btn[hidden] {
    display: none;
}

/* side information */
.dr-aside {
    padding: 24px;
    border: 1px solid var(--dr-border);
    border-radius: 16px;
    background: #fff;
}

.dr-aside + .dr-aside {
    margin-top: 20px;
}

.dr-aside-title {
    margin: 0 0 16px;
    color: var(--dr-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.dr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dr-list li {
    display: flex;
    gap: 12px;
    color: var(--dr-text);
    font-size: 14px;
    line-height: 1.55;
}

.dr-list li + li {
    margin-top: 14px;
}

.dr-list i {
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--dr-primary-soft);
    color: var(--dr-primary);
    font-size: 14px;
}

.dr-list strong {
    display: block;
    color: var(--dr-heading);
    font-size: 14.5px;
}

.dr-timeline li {
    position: relative;
}

.dr-timeline li span.dr-dot {
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dr-heading);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* thank-you state */
.dr-done {
    max-width: 640px;
    margin: 0 auto;
    padding: 46px 36px;
    text-align: center;
}

.dr-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--dr-primary-soft);
    color: var(--dr-primary);
    font-size: 30px;
}

.dr-done-title {
    margin: 0 0 10px;
    color: var(--dr-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.dr-done-text {
    margin-bottom: 26px;
    color: var(--dr-text);
    font-size: 15.5px;
    line-height: 1.7;
}

.dr-done-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .dr-aside-wrap {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .dr-page {
        padding: 30px 0 60px;
    }

    .dr-head-title {
        font-size: 1.7rem;
    }

    .dr-steps {
        padding: 18px 16px;
    }

    /* numbers only on phones; each panel's own heading names the step */
    .dr-step-text {
        display: none;
    }

    .dr-steps li:not(:last-child)::after {
        margin: 0 8px;
    }

    .dr-body {
        padding: 22px 16px;
    }

    .dr-actions {
        flex-wrap: wrap;
        padding: 16px;
    }

    .dr-actions-note {
        order: 3;
        flex-basis: 100%;
        text-align: center;
    }

    .dr-actions .dr-btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .dr-done {
        padding: 34px 18px;
    }
}
