/* Critique Review Plugin Styles */

.critique-reviews-received, .critique-reviews-created {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.critique-reviews-received h3, .critique-reviews-created h3 {
    text-align: center;
    color: #333;
}

.critique-reviews-received ul, .critique-reviews-created ul {
    list-style-type: none;
    padding: 0;
}

.critique-reviews-received li, .critique-reviews-created li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.critique-full {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 3px solid #007cba;
    display: none;
}

.view-critique {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background: #007cba;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.view-critique:hover {
    background: #005a9e;
}

.bad-critique-notes {
    display: none;
    margin-top: 10px;
}

.bad-critique-notes input[type="text"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.save-bad-critique {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #d9534f;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.save-bad-critique:hover {
    background: #c9302c;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.admin-table th {
    background: #007cba;
    color: white;
}

.button-danger {
    background: #d9534f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.button-danger:hover {
    background: #c9302c;
}

/* Filter Form Styles */
.filter-form {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-form label {
    font-weight: bold;
}

.filter-form select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.filter-form button {
    padding: 5px 10px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.filter-form button:hover {
    background-color: #005a9e;
}
.critique-reviews-received {
    width: 100%;
}

table.crtq_act {
    width: 100%;
}

.critique-reviews-received {
    width: 100%;
    max-width: 100%;
}

.crtq_tbl_cont {
    padding: 20px 4px !important;
    display: block;
}

.crtq_tbl_cont th, .crtq_tbl_cont td {
    border: 1px solid #ddd;
    padding: 15px !important;
}

.crtq_tbl_cont th {
    background: #ccc;
}

div#critique-modal {
    position: fixed;
    top: 0;
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 0%;
    background: #00000085;
    height: 100%;
    z-index: 999999;
}
.actv_modal {
    display: flex !important;
}
.modal-content {
    width: 580px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
}

span.close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 30px !important;
    cursor: pointer;
}

.modal-content {
    position: relative;
}
.field_data {
    max-height: 96px;
    overflow: auto;
    background: #f2f2f2;
    padding: 10px;
}

div#critique-details label {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
}

.crtq_note {
    margin-bottom: 20px;
}
div#critique-modal h2 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 20px;
}
.full_crtq {
    margin-bottom: 20px;
}
div#critique-modal h2 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

div#critique-details p {
    margin: 0;
    margin-bottom: 10px;
}
#critique-details .highlight-red {
    background-color: #f8d7da;
    text-decoration: line-through;
    color: #a71d2a;
}

#critique-details .highlight-green {
    background-color: #d4edda;
    color: #155724;
}

.crtq_notes {
    margin-bottom: 20px;
}

.pub_rdy {
    margin-bottom: 20px;
}

.pub_rdy textarea {
    width: 100%;
    border: 1px solid #ccc;
    box-shadow: #000 0px 0px 1px;
}
.radio_field input {
    width: auto;
}
.radio_field input {
    margin-right: 0 !important;
}

.cstcr a.btn.btn-primary {
    margin: 0 !important;
    padding: 5px 10px !important;
    background: #007cba !important;
    display: block;
    text-align: center !important;
    color: #fff !important;
    line-height: 23px !important;
    border-radius: 5px !important;
}
.modal {
    position: fixed;
    z-index: 9999999;
    top: 0;
    background: #0000008f;
    width: 100%;
    height: 100%;
    display: none;
}

.modal-dialog {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.modal-lg .modal-content {
    width: 800px;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
}
.modal-header {
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
}
.modal-footer {
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #e9ecef;
}

.modal-title {
    font-size: 22px;
    font-family: Open Sans;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 15px;
    position: relative;
    top: -4px;
    line-height: 10px;
}
.modal-header .close {
    padding: 15px;
    margin: -15px -15px -15px auto;
}
button.close {
    padding: 0;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

button.close {
    cursor: pointer;
}

.modal-footer button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-right: 10px;
    cursor: pointer;
}
.modal form {
    max-width: unset;
}
button.button.view-critique {
    border: 1px solid #007cba;
}
.btn-primary
{
    border: 1px solid #007cba;
    background-color: #007cba;
    color: #fff;
}
.custom-loader {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999999;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: #98635d3d;
}
.custom-loader.vwactive
{
    display:flex !important;
}