.admin input[type="radio"],
.admin input[type="checkbox"] {
    appearance: auto;
}

.value.inline {
    display: flex;
}

.value.inline *+* {
    margin-left: 0.5rem;
}

.inline input[type="radio"],
.inline input[type="checkbox"] {
    width: auto;
    display: inline-block;
}

.value.inline label {
    margin-right: 0.5rem;
}

.submit_row {
    padding-top: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1em;
}

.submit_row .button+.button {
    /* margin-left: 1rem; */
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
}

.popup-box {
    background: white;
    padding: 0;
    border-radius: 10px;
    width: 50%;
    max-width: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.popup-header {
    background-color: var(--mr-color-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.popup-title {
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
}

.popup-close {
    background-color: var(--mr-color-accent-shade);
    color: var(--color-primary);
    padding: 10px 15px;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.popup-content {
    padding: 20px;
}

.popup-content i.exclamation {
    color: red;
    font-size: 3em;
}

.popup-actions {
    padding: 10px 15px;
    display: flex;
    /* justify-content: flex-end; */
    gap: 10px;
    border-top: 1px solid #ccc;
    background-color: #f9f9f9;
}

.btn {
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem !important;
    margin-bottom: 1rem;
}

.btn-submit {
    background-color: var(--mr-color-accent-shade);
    color: white;
}

.btn-cancel {
    border: 1px solid #dc3545;
    background-color: white;
    color: var(--color-primary);
}

.text-center {
    text-align: center;
}

ul#view_sortable li,
ul#dupfileList li,
ul#fileList li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid black;
    /* <-- black border line */
    border-radius: 4px;
    /* optional, for rounded corners */
    display: flex;
    flex-direction: column;
}

ul#view_sortable,
ul#sortable,
ul#dupfileList,
ul#fileList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

ul#sortable li {
    /*background: #303236;*/
    padding: 0;
    margin: 0;
    list-style-type: none;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid black;
    /* <-- black border line */
    border-radius: 4px;
    /* optional, for rounded corners */
    display: flex;
    flex-direction: column;
    cursor: -webkit-grab;
    align-items: center;
    justify-content: center;
}

/*
ul#sortable li img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  display: block;
}*/

ul#sortable li img,
ul#dupfileList li img,
ul#fileList li img,
ul#view_sortable li img {
    width: 200px;
    height: auto;
    display: block;
    max-width: 100%;
    flex-grow: 1;
}


.remove-button {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-clip: padding-box;
    border: 1px solid var(--mr-color-form-border);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-transform: none;
}

ul#fileList li button,
ul#sortable li button {
    /* margin-top: auto; */
    /* pushes button to the bottom */
}

.popover-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.admin_promo_offer_wrapper {
    display: flex;
    /* enables horizontal layout */
    gap: 20px;
    /* optional: space between the two divs */
}

.admin_promo_offer_form,
.admin_promo_offer_draw {
    flex: 1;
    /* optional: both boxes take equal width */
    padding: 10px;
    /*background: #eee;*/
}

.button.button_cancel {
    background: #b1b1b1;
}

.admin_orders_form .form_section {
    gap: 0;
}

.btn-cancel {
    border: 1px solid #dc3545;
    background-color: #ccc !important;
    color: var(--color-primary);
}

.form_section .form_row {
    margin: 0;
}

br {
    display: none;
}.row-warning {
    background: #ff9494 !important;
}

.content_twocols {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.content_twocols .content-col {
    margin: 0;
    flex-grow: 1;
}.content-col h4 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.25rem;
}

.content-col a {
  display: inline-block;
  background: #1a2a4f;
  color: #fff;
  padding: 0.45rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  /* margin-top: 0.5rem; */
  transition: background 0.2s ease;
  /* margin-bottom: 1rem; */
}

form#cancelMembershipForm .warning_icon {
text-align: center;
font-size: 6em;
color: red;
}
