.main-page-header {
    box-sizing: border-box;
    background-image: url(/assets/images/resource/page-header-bg.png);
    margin: 0 auto;
    margin-top: 160px;
    border-radius: 13px;
    width: 98%;
    margin-inline: auto;
    padding-inline: 24px;
    padding-block: 100px;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.main-page-header h1 {
    margin: 0;
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 16px;
}

.main-page-header p {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.second-opinion-page {
    background: #f6f8fb;
    padding: 24px 0 60px;
}

.sop-panel {
    width: 98%;
    margin: 0 auto;
    background: linear-gradient(180deg, #e5f1ff 0%, #f6f9ff 100%);
    border-radius: 24px;
    padding: 36px 34px 44px;
}

.sop-inner {
    max-width: 1220px;
    margin: 0 auto;
}

.sop-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.sop-title {
    font-family: "DM Sans", sans-serif;
    color: #3e4095;
    font-size: 44px;
    font-weight: 700;
    margin: 0;
}

.sop-divider {
    height: 2px;
    background: #c32026;
    margin: 14px 0 28px;
}

.sop-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
}

.sop-auth-image {
    width: 100%;
    border-radius: 18px;
    min-height: 220px;
    object-fit: cover;
}

.sop-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid #d9e2f1;
    border-radius: 16px;
    padding: 18px;
}

.sop-card h4 {
    font-size: 18px;
    color: #3e4095;
    margin-bottom: 12px;
    font-weight: 700;
}

.sop-form .form-control,
.sop-form .form-select,
.sop-form textarea {
    border-radius: 10px;
    border: 1px solid #d7deee;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.65);
}

.sop-form .form-label,
.sop-form label,
.sop-form .form-check-label {
    color: #212529 !important;
}

.sop-form .form-group {
    position: relative;
    margin-bottom: 12px;
}

.sop-form .form-group > label {
    position: absolute;
    top: -7px;
    left: 16px;
    font-size: 11px;
    line-height: 1;
    color: #6e7180 !important;
    background: #eef4ff;
    padding: 0 6px;
    z-index: 2;
}

.sop-form .form-group input,
.sop-form .form-group select,
.sop-form .form-group textarea {
    padding-inline: 12px;
    border-radius: 8px;
    border: 1px solid #c9c6c6 !important;
    background: #eef4ff !important;
    box-shadow: none !important;
}

.sop-form .form-group textarea {
    padding-top: 14px;
}

.sop-btn {
    border: none;
    background: #ef2d3a;
    color: #fff;
    border-radius: 999px;
    height: 44px;
    min-width: 160px;
    font-weight: 700;
    padding: 0 24px;
}

.sop-link {
    color: #c32026;
    text-decoration: none;
    font-weight: 600;
}

.sop-pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dce2ef;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    background: #fff;
}

.sop-pay-method.active {
    border-color: #3E4095;
    background: #f4f7ff;
}

.sop-pay-note {
    color: #006b3e;
    font-size: 13px;
}

.sop-pay-summary {
    border: 1px solid #d7e3ff;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.sop-pay-summary h5 {
    margin-bottom: 12px;
    color: #3E4095;
    font-weight: 700;
}

.sop-pay-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.sop-pay-summary-row:last-child {
    margin-bottom: 0;
}

.sop-pay-summary-total span,
.sop-pay-summary-total strong {
    color: #111;
    font-weight: 700;
}

.sop-pay-approval-note {
    margin-top: 10px;
    font-size: 13px;
    color: #3E4095;
    font-weight: 600;
}

.sop-steps-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
}

.sop-steps {
    display: grid;
    gap: 18px;
}

.sop-step-pill {
    text-decoration: none;
    border: 2px solid #3e4095;
    border-radius: 999px;
    height: 46px;
    display: grid;
    place-items: center;
    font-weight: 600;
    color: #3e4095;
    background: #fff;
}

.sop-step-pill.active {
    background: #f3f6fc;
}

.sop-step-line {
    width: 2px;
    height: 18px;
    background: #e54756;
    margin: 0 auto;
}

.sop-table thead th {
    background: #3e4095;
    color: #fff;
    font-size: 13px;
    border-color: #dce3f3;
}

.sop-table td {
    font-size: 13px;
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .second-opinion-page {
        padding-top: 130px;
    }
    .sop-title {
        font-size: 36px;
    }
    .sop-auth-grid,
    .sop-steps-wrap {
        grid-template-columns: 1fr;
    }
}
