/* Membership application, payment and status pages */

.mship {
    --mship-green: #106646;
    --mship-dark: #004129;
    --mship-light: #eef5f1;
    --mship-bg: #f1f5f9;
    --mship-border: #e5e5e5;
    --mship-text: #666666;
    --mship-title: #222222;
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--mship-bg) 0%, #ffffff 420px);
}

/* ---------- Banner ---------- */
.mship-banner { padding: 90px 0 95px; }
.mship-banner h1 {
    font-size: 60px;
    line-height: 1.15;
    margin: 0;
    overflow-wrap: break-word;
}
.mship-banner .mship-banner__tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 6px 0 6px;
    opacity: .9;
}
.mship-banner .mship-banner__tagline::before,
.mship-banner .mship-banner__tagline::after {
    content: "";
    width: 28px;
    height: 2px;
    background: #fff;
}
.mship-banner .mship-banner__intro {
    max-width: 780px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Info panel (left) ---------- */
.mship-panel {
    position: sticky;
    top: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--mship-dark);
    color: rgba(255, 255, 255, .85);
    box-shadow: 0 20px 50px rgba(0, 65, 41, .18);
}
.mship-panel__head {
    position: relative;
    padding: 35px 30px 30px;
    background-size: cover;
    background-position: center;
}
.mship-panel__head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(16, 102, 70, .92) 0%, rgba(0, 65, 41, .97) 100%);
}
.mship-panel__head > * { position: relative; }
.mship-panel__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 18px;
}
.mship-panel__head h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.mship-panel__head p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 15px; line-height: 1.6; }
.mship-panel__head p strong { color: #fff; }

.mship-panel__body { padding: 28px 30px 32px; }
.mship-panel__body h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.mship-checklist { margin: 0 0 30px; padding: 0; }
.mship-checklist li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 12px;
}
.mship-checklist li i { color: #7fd1a8; margin-top: 4px; }

.mship-steps { margin: 0; padding: 0; }
.mship-steps li {
    position: relative;
    padding-left: 52px;
    padding-bottom: 22px;
}
.mship-steps li:last-child { padding-bottom: 0; }
.mship-steps li::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, .15);
}
.mship-steps li:last-child::before { display: none; }
.mship-steps .num {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--mship-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mship-steps strong { display: block; color: #fff; margin-bottom: 4px; }
.mship-steps span.txt { display: block; font-size: 14px; line-height: 1.6; }

/* ---------- Form card (right) ---------- */
.mship-card {
    background: #fff;
    border: 1px solid var(--mship-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(16, 102, 70, .06);
}
.mship-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    color: var(--mship-title);
    margin: 10px 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mship-border);
}
.mship-group-title .ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mship-light);
    color: var(--mship-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.mship-group-title.mt { margin-top: 25px; }

.mship-field { margin-bottom: 22px; }
.mship-field > label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--mship-title);
    margin-bottom: 8px;
}
.mship-field > label .req { color: #d93025; }
.mship-field input[type=text],
.mship-field input[type=email],
.mship-field input[type=url],
.mship-field input[type=tel],
.mship-field textarea,
.mship-field select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    font-size: 15px;
    color: var(--mship-title);
    background: var(--mship-bg);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.mship-field textarea { height: 110px; padding: 14px 18px; resize: vertical; }
.mship-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23106646' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}
.mship-field input:focus,
.mship-field textarea:focus,
.mship-field select:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--mship-green);
    box-shadow: 0 0 0 4px rgba(16, 102, 70, .1);
}
.mship-field .text-danger { display: block; margin-top: 6px; font-size: 13px; }

/* Pill radios */
.mship-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.mship-pills label { margin: 0; cursor: pointer; }
.mship-pills input { position: absolute; opacity: 0; pointer-events: none; }
.mship-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 30px;
    background: var(--mship-bg);
    border: 1px solid transparent;
    font-size: 14px;
    color: var(--mship-title);
    transition: all .2s;
}
.mship-pills span::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #b9c4cc;
    background: #fff;
    transition: all .2s;
}
.mship-pills input:checked + span {
    background: var(--mship-light);
    border-color: var(--mship-green);
    color: var(--mship-dark);
    font-weight: 600;
}
.mship-pills input:checked + span::before {
    border-color: var(--mship-green);
    box-shadow: inset 0 0 0 3px #fff;
    background: var(--mship-green);
}
.mship-pills input:focus-visible + span { box-shadow: 0 0 0 4px rgba(16, 102, 70, .15); }

/* Photo upload */
.mship-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 2px dashed #cfd8dc;
    border-radius: 12px;
    background: var(--mship-bg);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.mship-upload:hover { border-color: var(--mship-green); background: var(--mship-light); }
.mship-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mship-upload__preview {
    flex: 0 0 72px;
    width: 72px;
    height: 90px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--mship-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mship-green);
    font-size: 26px;
    overflow: hidden;
}
.mship-upload__preview img { width: 100%; height: 100%; object-fit: cover; }
.mship-upload strong { display: block; color: var(--mship-title); font-size: 15px; }
.mship-upload small { color: var(--mship-text); }

/* Promo code */
.mship-promo {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.mship-promo input {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--mship-title);
    background: var(--mship-bg);
    border: 1px solid transparent;
    border-radius: 8px;
}
.mship-promo input:focus {
    outline: none;
    background: #fff;
    border-color: var(--mship-green);
    box-shadow: 0 0 0 4px rgba(16, 102, 70, .1);
}
.mship-promo .mship-btn {
    white-space: nowrap;
    padding: 0 22px;
}
.mship-fee-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.mship-fee-original s {
    color: var(--mship-text);
    font-size: 16px;
}
.mship-discount-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    background: #fff;
    color: var(--mship-green);
    font-size: 12px;
    font-weight: 700;
}
#promo-message { display: block; margin-top: 8px; font-size: 13px; }
#promo-message.text-success { color: var(--mship-green); }

/* Fee + submit */
.mship-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    padding: 22px 25px;
    border-radius: 12px;
    background: var(--mship-light);
    border: 1px solid rgba(16, 102, 70, .15);
}
.mship-fee small { display: block; color: var(--mship-text); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.mship-fee strong { font-size: 30px; line-height: 1.2; color: var(--mship-dark); }
.mship-fee span { color: var(--mship-text); font-size: 14px; margin-left: 4px; }
.mship-secure { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--mship-text); }
.mship-secure i { color: var(--mship-green); margin-right: 5px; }

.mship-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border: none;
    border-radius: 6px;
    background: var(--mship-green);
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.mship-btn:hover { background: var(--mship-dark); transform: translateY(-2px); }
.mship-btn.outline { background: transparent; color: var(--mship-green) !important; border: 1px solid var(--mship-green); }
.mship-btn.outline:hover { background: var(--mship-green); color: #fff !important; }

/* ---------- Summary card (pay + status) ---------- */
.mship-summary { max-width: 620px; margin: 0 auto; }
.mship-summary .mship-card { padding: 0; overflow: hidden; }
.mship-summary__head {
    padding: 35px 40px;
    text-align: center;
    background: linear-gradient(160deg, var(--mship-green) 0%, var(--mship-dark) 100%);
    color: #fff;
}
.mship-summary__head .badge-ico {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.mship-summary__head h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.mship-summary__head p { color: rgba(255, 255, 255, .85); margin: 0; }
.mship-summary__body { padding: 30px 40px 40px; }
.mship-rows { margin-bottom: 25px; }
.mship-rows .row-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--mship-border);
    font-size: 15px;
}
.mship-rows .row-item span:first-child { color: var(--mship-text); }
.mship-rows .row-item span:last-child { color: var(--mship-title); font-weight: 600; text-align: right; word-break: break-all; }
.mship-rows .row-item.total { border-bottom: none; padding-top: 18px; }
.mship-rows .row-item.total span:last-child { font-size: 26px; color: var(--mship-dark); }
.mship-summary .mship-btn { width: 100%; justify-content: center; }
.mship-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}
.mship-alert.error { background: #fdecea; color: #b42318; }
.mship-alert.success { background: var(--mship-light); color: var(--mship-dark); }
.mship-alert.warning { background: #fff7e6; color: #8a5a00; }

@media (max-width: 1199px) {
    .mship-banner h1 { font-size: 52px; }
}
@media (max-width: 991px) {
    .mship { padding: 70px 0 90px; }
    .mship-panel { position: static; margin-bottom: 30px; }
    .mship-banner { padding: 70px 0 75px; }
    .mship-banner h1 { font-size: 44px; }
    .mship-banner .mship-banner__intro { font-size: 15px; max-width: 640px; }
}
@media (max-width: 767px) {
    .mship { padding: 50px 0 70px; }
    .mship-banner { padding: 55px 0 60px; }
    .mship-banner h1 { font-size: 36px; }
    .mship-card { padding: 30px 25px; }
    .mship-panel__head, .mship-panel__body { padding-left: 25px; padding-right: 25px; }
    .mship-panel__head h3 { font-size: 22px; }
}
@media (max-width: 575px) {
    .mship { padding: 40px 0 60px; }
    .mship-banner { padding: 45px 0 50px; }
    .mship-banner h1 { font-size: 28px; }
    .mship-banner .mship-banner__tagline { font-size: 12px; letter-spacing: 1px; }
    .mship-banner .mship-banner__tagline::before,
    .mship-banner .mship-banner__tagline::after { width: 18px; }
    .mship-banner .mship-banner__intro { font-size: 14px; line-height: 1.6; margin-top: 12px; }
    .mship-panel { border-radius: 12px; }
    .mship-panel__head, .mship-panel__body { padding-left: 20px; padding-right: 20px; }
    .mship-card { border-radius: 12px; }
    .mship-group-title { font-size: 17px; }
    .mship-fee strong { font-size: 26px; }
    .mship-pills span { padding: 10px 14px; font-size: 13px; }
    .mship-upload { padding: 14px; gap: 14px; }
    .mship-summary__head h3 { font-size: 22px; }
    .mship-rows .row-item { font-size: 14px; }
    .mship-rows .row-item.total span:last-child { font-size: 22px; }
    .mship-card { padding: 25px 20px; }
    .mship-summary__head, .mship-summary__body { padding-left: 22px; padding-right: 22px; }
    .mship-submit { flex-direction: column; align-items: stretch; text-align: center; }
    .mship-submit .mship-btn { justify-content: center; }
}
