.market-access-page {
    background:
        radial-gradient(circle at 12% 14%, rgba(8, 169, 199, .16), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(8, 169, 199, .14), transparent 28%),
        #f7fbfc;
    color: #101827;
    font-family: "Roboto", sans-serif;
    padding: 34px 16px 64px;
}

.market-access-portal-header .navbar-brand img {
    max-height: 42px;
}

.market-access-avatar {
    align-items: center;
    background: #05a9c7;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-weight: 850;
    height: 38px;
    justify-content: center;
    margin-right: 10px;
    width: 38px;
}

.requestor-full-main main:has(.market-access-page),
.main-content:has(.market-access-page) {
    margin-left: 0;
    padding: 0;
}

.market-access-hero,
.market-access-form,
.market-access-alert {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.market-access-hero {
    align-items: center;
    background: linear-gradient(115deg, rgba(255,255,255,.96), rgba(225,250,255,.78));
    border: 1px solid #bcebf4;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(16, 48, 64, .08);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 260px;
    margin-bottom: 28px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px);
}

.market-access-kicker {
    color: #009fc2;
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.market-access-hero h1 {
    color: #101827;
    font-size: clamp(2.1rem, 4.2vw, 4rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 14px;
}

.market-access-hero p {
    color: #62738d;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
    margin: 0;
    max-width: 760px;
}

.market-access-hero-card {
    align-items: center;
    background: rgba(255,255,255,.76);
    border: 1px solid #c8edf5;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(16, 78, 96, .1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 190px;
    padding: 24px;
    text-align: center;
}

.market-access-hero-card i {
    align-items: center;
    background: #e5f8fb;
    border-radius: 18px;
    color: #009fc2;
    display: flex;
    font-size: 34px;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.market-access-hero-card strong {
    color: #101827;
    font-size: 1rem;
    font-weight: 850;
}

.market-access-hero-card span {
    color: #6a7890;
    font-size: .9rem;
}

.market-access-alert {
    border-radius: 12px;
}

.market-access-form {
    background: rgba(255,255,255,.94);
    border: 1px solid #d9edf2;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(16, 48, 64, .08);
    padding: clamp(20px, 3vw, 34px);
}

.market-access-form .sp-form-heading {
    margin-bottom: 28px;
}

.market-access-form .sp-form-heading > span {
    color: #009fc2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.market-access-form .sp-form-heading h2 {
    color: #101827;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 850;
    margin: 5px 0;
}

.market-access-form .sp-form-heading p {
    color: #64748b;
    margin: 0;
}

.market-access-form .sp-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.market-access-form .sp-field label {
    color: #35445a;
    font-size: 15px;
    font-weight: 750;
    margin-bottom: 8px;
}

.market-access-form .sp-field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.market-access-form .sp-field select,
.market-access-form .sp-field textarea,
.market-access-form .sp-phone-field {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #b9cbd2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #101827;
    min-height: 48px;
    outline: 0;
    padding: 10px 4px;
    width: 100%;
}

.market-access-form .sp-field input:focus,
.market-access-form .sp-field select:focus,
.market-access-form .sp-field textarea:focus {
    border-bottom-color: #00a9c7 !important;
    box-shadow: 0 1px 0 #00a9c7 !important;
}

.market-access-form .sp-phone-field {
    align-items: center;
    display: flex;
}

.market-access-form .sp-phone-field span {
    border-right: 1px solid #d3e0e5;
    color: #007f9c;
    font-weight: 750;
    padding: 0 12px 0 4px;
}

.market-access-form .sp-phone-field input {
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 12px !important;
}

.market-access-form .sp-phone-field:focus-within {
    border-bottom-color: #00a9c7 !important;
    box-shadow: 0 1px 0 #00a9c7 !important;
}

.market-access-form .sme-readonly-notice {
    background: #eef9fb;
    border-left: 3px solid #05a9c7;
    color: #496174;
    font-weight: 650;
    margin-bottom: 22px;
    padding: 14px 18px;
}

.market-access-form .sp-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 30px;
}

.market-access-form .sp-actions-end {
    justify-content: flex-end;
}

.market-access-form .sp-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    text-decoration: none;
}

.market-access-form .sp-btn-primary {
    background: #05a9c7;
    color: #fff;
}

.market-access-form .sp-btn-primary:hover {
    background: #008eab;
    color: #fff;
}

.market-access-form .sp-btn-secondary {
    background: #eefaff;
    border-color: #9bddea;
    color: #007f99;
}

.market-access-form .sp-btn-secondary:hover {
    background: #dff6fb;
    color: #006f86;
}

.market-access-stepper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 34px;
    position: relative;
}

.market-access-stepper::before {
    background: #dce8ec;
    content: "";
    height: 2px;
    left: 10%;
    position: absolute;
    right: 10%;
    top: 23px;
    z-index: 0;
}

.market-access-stepper .progress-line {
    background: #07a9c7;
    height: 2px;
    left: 10%;
    position: absolute;
    top: 23px;
    transition: width .3s ease;
    z-index: 0;
}

.market-access-stepper .sp-step {
    align-items: center;
    background: transparent;
    border: 0;
    color: #758399;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
    z-index: 1;
}

.market-access-stepper .sp-step::before {
    display: none;
}

.market-access-stepper .sp-step span {
    align-items: center;
    background: #e7f7fa;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #bde8f0;
    color: #009fc2;
    display: flex;
    font-size: 18px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.market-access-stepper .sp-step strong {
    font-size: 13px;
    font-weight: 850;
}

.market-access-stepper .sp-step.active span,
.market-access-stepper .sp-step.completed span {
    background: #07a9c7;
    color: #fff;
}

.market-access-stepper .sp-step.active strong,
.market-access-stepper .sp-step.completed strong {
    color: #08182d;
}

.market-access-model-card {
    background: linear-gradient(135deg, #f7fdfe, #ffffff);
    border: 1px solid #caedf5;
    border-radius: 16px;
    padding: 22px;
}

.market-access-model-card h6 {
    color: #007f99;
    font-size: 1rem;
    font-weight: 850;
    margin-bottom: 18px;
}

.market-access-priority-table th {
    color: #007f99 !important;
}

.market-access-priority-table {
    border: 1px solid #d7edf2;
    border-radius: 14px;
    overflow: auto;
}

.market-access-priority-table table {
    min-width: 760px;
}

.market-access-priority-table thead th {
    background: #eaf9fc;
    border-color: #d7edf2;
    font-size: 13px;
    font-weight: 850;
}

.market-access-priority-table td {
    border-color: #e3edf1;
}

.market-access-form .form-control,
.market-access-form .form-select {
    padding-left: 4px;
}

.market-access-form .input-group-icon {
    position: relative;
}

.market-access-form .input-group-icon .input-icon {
    color: #009fc2;
    left: 0;
}

.market-access-form .input-group-icon .form-control {
    padding-left: 30px !important;
}

.market-access-form .input-group .form-control {
    padding-left: 12px !important;
}

.market-access-form .ts-wrapper {
    width: 100%;
}

.market-access-form .ts-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #b9cbd2;
    border-radius: 0;
    box-shadow: none;
    min-height: 50px;
    padding: 9px 3px;
}

.market-access-form .ts-control .item {
    background: #e6f7fa;
    border: 0;
    border-radius: 4px;
    color: #087c93;
    font-size: 13px;
    font-weight: 600;
}

.market-access-form .ts-dropdown {
    border: 1px solid #d4e5ea;
    box-shadow: 0 16px 30px rgba(20, 61, 78, .14);
    z-index: 1055;
}

.market-access-form .ts-dropdown .option {
    padding: 9px 12px;
}

.market-access-form .ts-dropdown .active {
    background: #e9f8fb;
    color: #07192c;
}

.market-access-counter {
    color: #738198;
    display: block;
    font-size: 12px;
    margin-top: 7px;
    text-align: right;
}

.market-access-upload {
    align-items: center;
    background: linear-gradient(135deg, #f4fbfc, #ffffff);
    border: 1px dashed #75cfdf;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 210px;
    padding: 28px;
    text-align: center;
    transition: .2s ease;
}

.market-access-upload:hover {
    background: #eaf9fc;
    border-color: #009fc2;
    transform: translateY(-2px);
}

.market-access-upload i {
    color: #00a5c5;
    font-size: 36px;
}

.market-access-upload strong {
    color: #101827;
    font-size: 1rem;
    font-weight: 850;
}

.market-access-upload span {
    color: #758399;
    font-size: 13px;
}

.market-access-upload input {
    display: none;
}

.market-access-upload-state {
    align-items: center;
    background: #eef9fb;
    border: 1px solid #c8edf5;
    border-radius: 12px;
    color: #087c93;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 14px;
}

.market-access-upload-state button {
    background: transparent;
    border: 0;
    color: #dc3545;
}

.market-access-review {
    display: grid;
    gap: 18px;
}

.market-access-review-section {
    background: linear-gradient(135deg, #f8fdfe, #ffffff);
    border: 1px solid #d9edf2;
    border-radius: 16px;
    padding: 20px;
}

.market-access-review-section h3 {
    color: #009fc2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.market-access-review-section dl {
    display: grid;
    gap: 14px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.market-access-review-section div {
    border-bottom: 1px solid #e5edf0;
    padding-bottom: 10px;
}

.market-access-review-section dt {
    color: #758399;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.market-access-review-section dd {
    color: #101827;
    font-weight: 650;
    margin: 4px 0 0;
    overflow-wrap: anywhere;
}

.market-access-empty-review {
    background: #eef9fb;
    border-radius: 14px;
    color: #64748b;
    padding: 18px;
    text-align: center;
}

.market-access-draft-toast {
    background: #087f8f;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 45, 64, .2);
    color: #fff;
    font-weight: 700;
    padding: 12px 18px;
    position: fixed;
    right: 24px;
    top: 96px;
    z-index: 2000;
}

@media (max-width: 991px) {
    .market-access-hero {
        grid-template-columns: 1fr;
    }

    .market-access-hero-card {
        align-items: flex-start;
        min-height: auto;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .market-access-page {
        padding: 24px 12px 46px;
    }

    .market-access-form {
        border-radius: 14px;
        padding: 18px 14px;
    }

    .market-access-stepper {
        grid-template-columns: repeat(6, minmax(44px, 1fr));
        overflow: hidden;
        padding-bottom: 24px;
    }

    .market-access-stepper .sp-step strong {
        display: none;
    }

    .market-access-stepper .sp-step.active strong {
        display: block;
        font-size: 11px;
        position: absolute;
        top: 50px;
        white-space: nowrap;
    }

    .market-access-hero h1 {
        font-size: 2.2rem;
    }

    .market-access-model-card {
        padding: 16px;
    }

    .market-access-review-section dl {
        grid-template-columns: 1fr;
    }

    .market-access-form .d-flex.justify-content-between {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .market-access-form .d-flex.gap-2 {
        flex-direction: column;
    }
}
