﻿.mrn-match-dialog-divider {
    border-top: 1px solid #d0d0d0;
    margin: 12px 0 16px 0;
}

.mrn-match-dialog-instructions {
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f9fa;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 5px;
    line-height: 1.0;
}

.mrn-match-modal {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #111;
}

.mrn-match-header {
    background-color: #003b49;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 28px;
    padding: 14px 48px;
    position: relative;
}

.mrn-match-choice {
    display: grid;
    grid-template-columns: 230px 1fr;
    column-gap: 18px;
    align-items: center;
    padding: 8px 10px;
    border: 3px solid transparent;
    border-radius: 8px;
}

.mrn-match-body {
    padding: 24px 28px 22px 28px;
    background-color: #f4f4f4;
}

.mrn-match-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.mrn-match-table-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.mrn-match-table {
    border-collapse: collapse;
    min-width: 620px;
    background-color: white;
}

    .mrn-match-table th,
    .mrn-match-table td {
        border: 2px solid #5c5c5c;
        padding: 8px 12px;
        font-size: 16px;
        line-height: 1.0;
    }

    .mrn-match-table th {
        background-color: #c8e5f2;
        text-align: left;
        font-size: 20px;
        font-weight: 700;
    }

    .mrn-match-table td:first-child {
        font-weight: 700;
        width: 210px;
    }

    .mrn-match-table td:nth-child(2),
    .mrn-match-table td:nth-child(3) {
        width: 200px;
    }

.mrn-match-choices {
    width: 750px;
    margin: 18px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mrn-match-choice {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.mrn-match-choice-text {
    flex: 1;
}

.mrn-match-choice-button {
    flex: 0 0 auto;
}

.mrn-match-choice-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.mrn-match-choice-description {
    font-size: 17px;
}

.mrn-match-btn {
    min-width: 210px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid #397b86;
    background: linear-gradient(to bottom, #9ed7d6, #7fc4c6);
    color: #13454d;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 18px;
}

    .mrn-match-btn:hover {
        filter: brightness(0.97);
    }

.mrn-match-choice-selected {
    border: 3px solid #003b49;
    border-radius: 8px;
    background-color: #e8f4f7;
    padding: 8px 10px;
}

.mrn-match-dialog-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #ccc;
}

.mrn-match-save-btn,
.mrn-match-cancel-btn {
    min-width: 120px;
    height: 38px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

.mrn-match-save-btn {
    border: 2px solid #397b86;
    background: linear-gradient(to bottom, #9ed7d6, #7fc4c6);
    color: #13454d;
}

.mrn-match-cancel-btn {
    border: 2px solid #777;
    background: #e9e9e9;
    color: #333;
}

.bypass-confirm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.bypass-confirm-dialog {
    width: 520px;
    max-width: calc(100% - 32px);
    background: #fff;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.bypass-confirm-header {
    font-size: 18px;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
}

.bypass-confirm-body {
    padding: 16px 18px;
    font-size: 17px;
    line-height: 1.4;
}

    .bypass-confirm-body p:last-child {
        margin-bottom: 0;
    }

.bypass-confirm-footer {
    padding: 12px 18px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: #f8f9fa;
}

.mrn-match-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@@media (max-width: 700px) {
    .mrn-match-table {
        min-width: 100%;
    }

    .mrn-match-choices {
        width: 100%;
    }

    .mrn-match-choice {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .mrn-match-choice-button {
        justify-content: flex-start;
    }


}
