/* /Components/Features/MembershipFeature/MemberManagement/ApplicantCreate.razor.rz.scp.css */
.mia-applicant-create[b-4tps5zi8gc] {
    min-width: 0;
    max-width: 100%;
}

.applicant-card[b-4tps5zi8gc] {
    min-height: calc(100vh - 160px);
    padding-top: 1rem;
}

.applicant-form[b-4tps5zi8gc] {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.mia-applicant-create[b-4tps5zi8gc]  [class*="col-"],
.mia-applicant-create[b-4tps5zi8gc]  .mud-grid-item,
.mia-applicant-create[b-4tps5zi8gc]  .d-flex {
    min-width: 0;
}

.mia-applicant-create[b-4tps5zi8gc]  .select2-container {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
}

.mia-applicant-create[b-4tps5zi8gc]  .form-label,
.mia-applicant-create[b-4tps5zi8gc]  .validation-message,
.mia-applicant-create[b-4tps5zi8gc]  .detail-display {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Keep English above Myanmar in the personal and company tabs at every width. */
.mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .d-flex {
    flex-direction: column;
    gap: 1rem;
}

.mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .d-flex > .col-md-6 {
    width: 100%;
}

.mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .d-flex > .col-md-6 > .me-2 {
    margin-right: 0 !important;
}

/* Put the personal actions on their own row, directly below the phone field. */
.mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex {
    flex-direction: column;
    gap: 1rem;
}

.mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-6 {
    width: 100%;
}

.mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-6 > .row {
    padding: 0 !important;
}

.mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-4 {
    flex: none;
    width: 50%;
    align-self: flex-end;
}

.mia-applicant-create[b-4tps5zi8gc]  .justify-content-end,
.mia-applicant-create[b-4tps5zi8gc]  .mud-stack-row {
    flex-wrap: wrap;
    gap: 0.75rem !important;
}

.mia-applicant-create[b-4tps5zi8gc]  .mia-btn {
    min-height: 44px;
    height: auto !important;
    white-space: normal;
}

/* Keep Cancel, Save as Draft, and Next together on both information tabs. */
.mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-4 > .d-flex,
.mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .row > .col-12.d-flex {
    flex-wrap: nowrap;
    gap: 0.5rem !important;
}

/* The last company phone is in the right-hand contact section. */
.mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .row > .col-12.d-flex {
    width: 50%;
    margin-left: 50%;
    padding-left: 24px;
    justify-content: flex-start !important;
}

.mia-applicant-create[b-4tps5zi8gc]  .app-file-list > .d-flex {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mia-applicant-create[b-4tps5zi8gc]  .app-file-list .flex-grow-1 {
    flex-wrap: wrap;
    max-width: 100%;
}

.mia-applicant-create[b-4tps5zi8gc]  .app-file-list .text-truncate {
    flex: 1;
}

/* Tablet: reflow document fields. */
@media (max-width: 1199.98px) {
    .mia-applicant-create[b-4tps5zi8gc] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .mud-grid {
        width: 100%;
        margin: 0;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .mud-grid > .mud-grid-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 12px;
    }
}

/* Mobile: one field per row, a two-row NRC control, and one row of actions. */
@media (max-width: 767.98px) {
    .applicant-card[b-4tps5zi8gc] {
        min-height: 0;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .p-4 {
        padding: 12px !important;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .row > .col-md-6 {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .mud-grid > .mud-grid-item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .d-flex > .col-md-3 {
        width: 25%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .d-flex > .col-md-9 {
        width: 75%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .d-flex > .col-md-4.p-0 {
        width: 35%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .d-flex > .col-md-8.p-0 {
        width: 65%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .nrc-selector {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .nrc-selector > div {
        width: 100%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .mia-btn {
        flex: 1 1 120px;
        margin-left: 0 !important;
    }

    .mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-4,
    .mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .row > .col-12.d-flex {
        width: 100%;
        margin-left: 0;
    }

    .mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .row > .col-12.d-flex {
        padding-inline: 12px;
    }

    .mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-4 > .d-flex {
        width: 100%;
    }

    .mia-applicant-create[b-4tps5zi8gc]  form > .col-md-12 > .d-flex > .col-md-4 > .d-flex > .mia-btn,
    .mia-applicant-create[b-4tps5zi8gc]  form > .w-100 > .row > .col-12.d-flex > .mia-btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .mia-applicant-create[b-4tps5zi8gc]  .pb-10 {
        padding-bottom: 1rem !important;
    }
}
/* /Components/Features/MembershipFeature/MemberManagement/ApplicantDetail.razor.rz.scp.css */
@media (max-width: 767.98px) {
    .mia-applicant-detail[b-05c00zw69j] {
        min-width: 0;
        max-width: 100%;
    }

    /* Both information tabs render English first, followed by Myanmar. */
    .mia-applicant-detail[b-05c00zw69j]  form > .w-100 > .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .mia-applicant-detail[b-05c00zw69j]  form > .w-100 > .d-flex > .col-md-6 {
        width: 100%;
        min-width: 0;
    }

    .mia-applicant-detail[b-05c00zw69j]  form > .w-100 > .d-flex > .col-md-6 > .p-4 {
        padding: 12px !important;
        margin-right: 0 !important;
    }

    .mia-applicant-detail[b-05c00zw69j]  .row > .col-md-6 {
        width: 100%;
        min-width: 0;
        margin-bottom: 0.75rem;
    }

    .mia-applicant-detail[b-05c00zw69j]  .form-label,
    .mia-applicant-detail[b-05c00zw69j]  .detail-display {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
/* /Components/Reusable/Inputs/ImageCropDialog.razor.rz.scp.css */
.image-crop-dialog[b-3u85wog2tr] {
    width: min(920px, 92vw);
}

.crop-preview-shell[b-3u85wog2tr] {
    position: relative;
    display: grid;
    min-height: 260px;
    place-items: center;
    overflow: hidden;
    padding: 1rem;
    border-radius: 12px;
    background: #17191c;
}

.crop-canvas[b-3u85wog2tr] {
    display: block;
    max-width: 100%;
    max-height: 54vh;
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    cursor: default;
    touch-action: none;
    background-color: #fff;
    background-image: linear-gradient(45deg, #e9ecef 25%, transparent 25%),
        linear-gradient(-45deg, #e9ecef 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e9ecef 75%),
        linear-gradient(-45deg, transparent 75%, #e9ecef 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.crop-loading[b-3u85wog2tr] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: #fff;
    background: rgba(23, 25, 28, .84);
}

.crop-controls[b-3u85wog2tr] {
    display: grid;
    gap: 1rem;
    padding-top: 1.15rem;
}

.crop-section-title[b-3u85wog2tr] {
    margin-bottom: .55rem;
    font-size: .82rem;
    font-weight: 600;
    color: #5d6169;
}

.crop-preset-grid[b-3u85wog2tr] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.crop-preset[b-3u85wog2tr] {
    display: flex;
    min-height: 66px;
    align-items: center;
    gap: .65rem;
    padding: .65rem .75rem;
    text-align: left;
    color: #464950;
    border: 1px solid #d9dce1;
    border-radius: 9px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.crop-preset:hover[b-3u85wog2tr] {
    border-color: var(--bs-warning, #ff9f43);
}

.crop-preset.active[b-3u85wog2tr] {
    border-color: var(--bs-warning, #ff9f43);
    background: rgba(255, 159, 67, .08);
    box-shadow: 0 0 0 2px rgba(255, 159, 67, .13);
}

.crop-preset > i[b-3u85wog2tr] {
    flex: 0 0 auto;
    font-size: 1.4rem;
}

.crop-preset span:last-child[b-3u85wog2tr] {
    display: grid;
    min-width: 0;
}

.crop-preset strong[b-3u85wog2tr] {
    font-size: .82rem;
    line-height: 1.2;
}

.crop-preset small[b-3u85wog2tr] {
    margin-top: .2rem;
    overflow: hidden;
    font-size: .7rem;
    line-height: 1.25;
    color: #7b7f87;
}

.preset-icon[b-3u85wog2tr] {
    display: inline-block;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.preset-square[b-3u85wog2tr] {
    width: 20px;
    height: 20px;
}

.preset-wide[b-3u85wog2tr] {
    width: 25px;
    height: 14px;
}

.custom-ratio-row[b-3u85wog2tr] {
    display: flex;
    align-items: end;
    gap: .65rem;
}

.custom-ratio-row label[b-3u85wog2tr] {
    display: grid;
    gap: .25rem;
    font-size: .74rem;
    color: #6d7178;
}

.custom-ratio-row input[b-3u85wog2tr] {
    width: 78px;
    padding: .4rem .5rem;
    border: 1px solid #d5d8dd;
    border-radius: 6px;
}

.custom-ratio-row > span[b-3u85wog2tr] {
    padding-bottom: .45rem;
    font-weight: 600;
}

.crop-hint[b-3u85wog2tr] {
    font-size: .76rem;
    color: #70747b;
}

@media (max-width: 767px) {
    .crop-preset-grid[b-3u85wog2tr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crop-preview-shell[b-3u85wog2tr] {
        min-height: 210px;
        padding: .65rem;
    }
}
