﻿.ph-vstepper {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.ph-vstep {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 26px;
}

.ph-vstep:last-child {
    padding-bottom: 0;
}

.ph-step-mark {
    position: relative;
    z-index: 1;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--ph-navy-text);
    transition: background .3s, border-color .3s, color .3s;
}

.ph-step-mark__tick {
    display: none;
}

.ph-vstep.is-active .ph-step-mark {
    background: var(--ph-coral);
    border-color: var(--ph-coral);
    color: #fff;
}

.ph-vstep.is-done .ph-step-mark {
    border-color: var(--ph-coral);
    color: var(--ph-coral);
}

.ph-vstep.is-done .ph-step-mark__num {
    display: none;
}

.ph-vstep.is-done .ph-step-mark__tick {
    display: block;
    stroke-dasharray: 24;
    animation: ph-draw .5s ease-out both;
}

.ph-step-line {
    position: absolute;
    top: 34px;
    bottom: 2px;
    left: 15px;
    width: 2px;
    background: rgba(255, 255, 255, .15);
}

.ph-vstep.is-done .ph-step-line {
    background: var(--ph-coral);
}

.ph-vstep__title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 32px;
}

.ph-vstep:not(.is-active):not(.is-done) .ph-vstep__title {
    color: var(--ph-navy-text);
}

.ph-vstep__text {
    font-size: 13px;
    color: var(--ph-navy-text);
}

/* ---------- Brand panel: trial card ---------- */
.ph-trial-card {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.ph-trial-card__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 91, 91, .15);
    color: var(--ph-coral);
}

.ph-trial-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.ph-trial-card__dates {
    font-size: 13px;
    color: var(--ph-navy-text);
}

.ph-summary-card {
    border: 1px solid var(--ph-divider);
    border-radius: var(--ph-radius-card);
    background: #fff;
    padding: 0 0 10px;
    margin-bottom: 16px;
    overflow: hidden;
    font-family: var(--ph-font);
}

.ph-summary-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin-bottom: 8px;
    background: var(--ph-bg, #f8f7fa);
    border-bottom: 1px solid var(--ph-divider);
}

.ph-summary-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ph-ink);
}

.ph-summary-card .summary-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 18px;
    margin: 0;
    font-size: 13px;
}

.ph-summary-card .summary-label {
    color: var(--ph-muted);
}

.ph-summary-card .summary-info {
    color: var(--ph-ink);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.ph-summary-card__edit {
    background: none;
    border: 0;
    padding: 0;
    color: var(--ph-coral);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ph-summary-card__edit:hover {
    color: var(--ph-coral-hover);
    text-decoration: underline;
}

.ph-summary-card__edit:focus-visible {
    outline: none;
    border-radius: 4px;
    box-shadow: var(--ph-focus-ring, 0 0 0 3px rgba(255, 91, 91, .15));
}

@media (prefers-reduced-motion: reduce) {
    .ph-vstep.is-done .ph-step-mark__tick {
        animation: none;
    }

    .ph-progress__seg {
        transition: none;
    }
}

.ph-step-header {
    margin-bottom: 24px;
}

.ph-step-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ph-coral);
    margin-bottom: 6px;
}

.ph-step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ph-heading);
    margin: 0 0 4px;
}

.ph-step-subtitle {
    font-size: 14px;
    color: var(--ph-body);
    margin: 0 0 16px;
}

.ph-progress {
    display: flex;
    gap: 6px;
}

.ph-progress__seg {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background-color: var(--ph-divider);
    transition: background-color .4s;
}

#register-form .content.active {
    animation: ph-slide .35s ease-out both;
}

.ph-progress__seg.is-filled {
    background-color: var(--ph-coral);
}

.ph-signin-prompt {
    margin: 0;
    font-size: 14px;
    color: var(--ph-body);
    text-align: center;
}

.ph-signin-prompt a {
    color: var(--ph-coral);
    text-decoration: underline;
}

.ph-optional {
    font-weight: 400;
    color: var(--ph-muted);
}

.ph-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--ph-muted);
}

.ph-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ph-rule {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    color: var(--ph-faint);
    transition: color .35s;
}

.ph-rule::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}

.ph-rule.is-met {
    color: var(--ph-success);
}

.ph-rule.is-met::before {
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 0;
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: ph-rule-pop .35s ease-out;
}

@keyframes ph-rule-pop {
    from {
        transform: translateY(-50%) scale(.4);
    }

    to {
        transform: translateY(-50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-rule,
    .ph-rule.is-met::before,
    .ph-consent.is-checked .ph-consent__box svg {
        transition: none;
        animation: none;
    }
}

.ph-optional {
    font-weight: 400;
    color: var(--ph-muted);
}

.ph-form-error {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid var(--ph-error);
    border-radius: var(--ph-radius);
    background: var(--ph-error-tint);
    font-size: 13px;
    color: var(--ph-error);
}

#register-form .fv-plugins-message-container {
    display: none;
}

#register-form .is-invalid,
#register-form .is-invalid + .input-group-text,
#register-form .fvRow.fv-plugins-bootstrap5-row-invalid .select2-selection {
    border-color: var(--ph-error) !important;
}

.summary-group {
    display: flex;
}

.summary-label {
    font-weight: bold;
    width: 25%;
    font-size: 0.8125rem;
}

.summary-info {
    width: 75%;
    font-size: 0.8125rem;
}

.summary-existing {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    width: 100%;
    font-weight: bold;
}

.ph-summary-card .summary-label,
.ph-summary-card .summary-info {
    width: auto;
    font-size: 13px;
}

.ph-summary-card .summary-label {
    font-weight: 400;
}

.ph-summary-card .summary-existing {
    margin-left: 0;
    font-weight: 500;
    color: var(--ph-body);
}

.no-scroll {
    overflow: hidden;
}

.form-switch {
    padding-left: 0em;
}

#stepper-div {
    box-shadow: 0 0rem 0rem rgba(75, 70, 92, 0.1);
}

#userTxtBox {
    display: none;
}

.ph-agreements {
    padding: 0;
}

.ph-agreements__title {
    padding: 14px 18px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ph-ink);
}

.ph-agreements__divider {
    height: 1px;
    margin: 0 18px;
    background: var(--ph-divider);
}

.ph-consent {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    cursor: pointer;
    font-family: var(--ph-font);
    transition: background .2s;
}

.ph-consent__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ph-consent__box {
    flex: none;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1.5px solid #c4c2c9;
    border-radius: 6px;
    background: #fff;
    transition: background .2s, border-color .2s;
}

.ph-consent__box svg {
    display: none;
    color: #fff;
}

.ph-consent__text {
    flex: 1;
    font-size: 14px;
    color: var(--ph-ink);
}

.ph-consent__read {
    flex: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--ph-coral);
    text-decoration: none;
}

.ph-consent__read:hover {
    color: var(--ph-coral-hover);
    text-decoration: underline;
}

.ph-consent.is-checked {
    background: var(--ph-coral-wash, #fff8f8);
}

.ph-consent.is-checked .ph-consent__box {
    background: var(--ph-coral);
    border-color: var(--ph-coral);
}

.ph-consent.is-checked .ph-consent__box svg {
    display: block;
    animation: ph-pop .3s ease-out both;
}

.ph-consent__input:focus-visible + .ph-consent__box {
    outline: 2px solid var(--ph-coral);
    outline-offset: 2px;
}

.ph-consent.is-invalid .ph-consent__box {
    border-color: var(--ph-error);
}

.ph-btn.btn-submit.is-pending,
.ph-btn--primary[aria-disabled="true"] {
    opacity: .5;
}

.ph-btn--link {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    height: auto;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-body);
}

.ph-btn--link:hover {
    color: var(--ph-coral);
}

a.ph-btn--link,
a.ph-btn--link:visited {
    color: var(--ph-body);
    text-decoration: none;
}

a.ph-btn--link:hover {
    color: var(--ph-coral);
}

.ph-req {
    color: var(--ph-coral);
}