/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #F1E9D9 !important;
}
.card{
    background: linear-gradient(88.3deg, rgba(255, 255, 255, 0.4482) 0%, rgba(255, 255, 255, 0.2376) 99.66%) !important;
    max-width: 420px;
    width: 100%;
    max-height: 600px;
    backdrop-filter: blur(10px);
}
.btn-secondary{
    background-color: #9F8C78 !important;
}
.desk-img {
    margin-top: 3rem;
    width: clamp(320px, 29.6vw, 431px);
    aspect-ratio: 385 / 601;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.desk-img-2 {
    margin-top: 4rem;
    width: clamp(300px, 26.8vw, 380px);
    aspect-ratio: 350 / 585;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.bg-dark-2{
    background: #9F8C78 !important;
}
.form-control{
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
border-radius: 8px !important;

}
.bg-light-20{
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%) !important;
}
.navbar{
    width: 100% !important;
}
.border-bottom{
    border-color:#DAD3C6 !important;
}
.btn-primary{
    background: #9F8C78 !important;
    border-radius: 12px !important;
}

/*-- crop button (design-system aligned) --*/
.crop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: 10px !important;
    min-width: 96px !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 1.1rem !important;
    border-radius: 12px !important;
    border: 1px solid #9F8C78 !important;
    background: #9F8C78 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.crop-btn:hover,
.crop-btn:focus {
    background: #8a785f !important;
    border-color: #8a785f !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(159, 140, 120, 0.25) !important;
    outline: none;
}
.crop-btn:active {
    background: #76654f !important;
    border-color: #76654f !important;
    color: #ffffff !important;
}
.crop-btn:disabled,
.crop-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #9F8C78 !important;
    border-color: #9F8C78 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/*-- color --*/
.base-color { color:#2A3544 }
.base-color-2 { color:#4B5563 }
.text-grey-90 { color:#919191 !important }
.text-gery-70 { color:#777E89 }

/*-- background color --*/
.bg-base { background:#2A3544 !important; }
.bg-red-60 { background: #DF4142 !important }
.bg-purple-60 { background-image: linear-gradient(to right, #ADBAFF, #7592ED) !important }
.bg-light-10 { background: linear-gradient(88.3deg, rgba(255, 255, 255, 0.4482) 0%, rgba(255, 255, 255, 0.2376) 99.66%)!important; }

/*-- font-size --*/
.fs-12 { font-size: 12px !important; }
.fs-14 { font-size: 14px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }
.fs-22 { font-size: 22px !important; }
.fs-24 { font-size: 24px !important; }
.fs-26 { font-size: 26px !important; }
.fs-28 { font-size: 28px !important; }
.fs-30 { font-size: 30px !important; }
.fs-32 { font-size: 32px !important; }
.fs-34 { font-size: 34px !important; }
.fs-36 { font-size: 36px !important; }
/*-- font-weight --*/
.fw-semibold { font-weight: 600; }
.fw-Medium{font-weight: 500;}
.fw-Regular{font-weight: 400;}
/*-- form-control --*/
.form-control-lg { padding: 10px 18px; min-height: 54px; }
/*-- btn-css --*/
.btn-lg { height: 54px; align-items: center; display: flex; justify-content: center }
/*-- border --*/
.border-white { border:1px solid white }
.border-light { border:1px solid #F6F6F6 }
.border-bottom-light { border-bottom: 1px solid #F6F6F6; }
.border-base { border:1px solid #2A3544; }
.border-red { border: 1px solid #DF4142 }
/*-- height --*/
.h-80 { height: 80px; }
.h-200 { height:200px; }
/*-- toggle-switch --*/
.toogle-switch .form-check-input:checked {
    background-color: #00B036;
    border-color: #00B036;
}
/*-- padding --*/
.p-12 { padding: 0.75rem }
.py-12 { padding-top:0.75rem; padding-bottom: 0.75rem }
/*-- toogle-switch --*/
.toogle-switch.form-switch .form-check-input { width:44px }
.toogle-switch  .form-check-input { height: 24px; }
/*-- login-form --*/
/* .login-form {  width: 50%; margin: 0 auto; } */
.cursor-pointer { cursor: pointer; }
input::placeholder,
textarea::placeholder,
select::placeholder { font-size: 16px; color: #2A3544; opacity: 0.5; }
/*-- textarea --*/
textarea.form-control-lg {
    min-height: 140px !important;
}
/* -- opacity --*/
.opacity-10 { opacity: 0.10; }
.opacity-20 { opacity: 0.20; }
.opacity-30 { opacity: 0.30; }
.opacity-40 { opacity: 0.40; }
.opacity-50 { opacity: 0.50; }
.opacity-60 { opacity: 0.60; }
.opacity-70 { opacity: 0.70; }
.opacity-80 { opacity: 0.80; }
.opacity-90 { opacity: 0.90; }

/*-- custom-radio-buttons --*/
.custom-radio {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

  .custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  .checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 27px;
    width: 27px;
    border-radius: 50%;
    border:1px solid #979797;
  }

  .custom-radio input:checked ~ .checkmark {
    background-color: #00B036;
  }
  
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  .custom-radio input:checked ~ .checkmark:after {
    display: block;
  }

  .custom-radio .checkmark:after {
    left: 9px;
    top: 5px;
    width: 7px;
    height: 12px;
    border:1px solid #00B036;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.modal-close-btn {
    cursor: pointer;
    z-index: 2;
}

/*-- dashboard --*/
.main-content {  padding: 0px 32px 32px 32px; }
.page-title { height: 135px; }
.toogle-sidebar.active {
    transform: rotate(180deg);
    transition: 1s;
    left: 87px;
}
.sidebar { width:280px; overflow-y: auto; transition: 1s;}
.main-content {
     width:calc(100% - 280px);
     margin-left:280px; transition: 1s; }
.main-content.active { width:calc(100% - 100px); margin-left:100px; transition: 1s; }
.sidebar.active {
    width: 100px;
    transition: 1s;
}
.sidebar.active ul span, .sidebar.active .user-profile span, .sidebar.active .main-text { display:none !important }
.sidebar .user-profile img { width: 75px; height:75px; }
.sidebar.active .user-profile img { width: 50px; height:50px; }
.logo-section { height:150px }
.logo-section img {  transition: 1s }
.sidebar.active .logo-section img { width:60px; transition: 1s }
.sidebar-ul > li .main-menu {
    /* background: linear-gradient(88.3deg, rgba(255, 255, 255, 0.4482) 0%, rgba(255, 255, 255, 0.2376) 99.66%); */
    margin-bottom: 4px;
    padding: 12px 16px;
    border-radius: 10px;
    position: relative;
    border: none;
}
.sidebar-ul > li:hover .main-menu { color:#fff; background-color: #9F8C78; }
.sidebar-ul > li.active .main-menu { color:#fff; background-color: #9F8C78; }
/* .sidebar-ul > li:active .main-menu { color:#fff; background-color: #DF4142; } */
.sidebar-ul > li:hover  .main-menu  svg path { fill:#fff }
.selected {
    color: #9F8C78;
}
.toogle-sidebar {
    top: 53px;
    left: 268px;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    border: 1px solid #F3F3F3;
    transition: 1s;
}
.sub-menu{
    margin-top: 8px;
    margin-left: 50px;
    padding-left: 20px;
}
.sub-menu li::before {
    position: absolute;
    top: -4px;
    left: -28px;
    width: 1px;
    height: 37px;
    /* background: #2A3544; */
    content: "";
}
.sub-menu li::after {
    position: absolute;
    top: 33px;
    left: -28px;
    width: 20px;
    height: 1px;
    /* background: #2A3544; */
    content: "";
}
.sidebar-ul li.active .sub-menu { display: block !important; transition: 0.3s; }
.sidebar-ul li .sub-menu { display: none !important; transition: 0.3s; }
.sub-menu li { padding: 7px 0px; }
.sub-menu li.active span { color: #DF4142 }
.main-content-text { height: calc(100% - 130px); overflow: auto; border-radius: 20px; }
.export-jsons-panel {
    background: #F8F3EA !important;
    border: 1px solid #E2D8C8;
}

/* Program add/edit form — two-column layout like workout / exercise forms */
.program-form-page .program-form-body {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.program-form-page > .msg {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
}
.program-form-page .program-form-fields .form-label {
    color: #2A3544;
    font-weight: 600;
}
.program-form-page .program-form-fields .info {
    color: #DF4142;
}
.program-form-page .program-form-fields .form-control,
.program-form-page .program-form-fields .form-select {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #DAD3C6;
    color: #2A3544;
    border-radius: 12px !important;
}
.program-form-page .program-form-fields .form-control:focus,
.program-form-page .program-form-fields .form-select:focus {
    border-color: #9F8C78;
    box-shadow: 0 0 0 0.2rem rgba(159, 140, 120, 0.25);
    background: #fff;
}
.program-form-page .program-form-fields .form-control[readonly] {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-color: #DAD3C6;
    color: #4B5563;
}
.program-form-page .program-rest-image-field,
.program-workout-builder .program-workout-photo-field {
    text-align: left;
}
.program-form-page .program-rest-crop-stack,
.program-workout-builder .program-rest-crop-stack {
    width: 100%;
    max-width: 100%;
}
.program-form-page .program-rest-cropper-wrap,
.program-workout-builder .program-rest-cropper-wrap {
    width: 100%;
}
.program-form-page #upload-input-rest-day,
.program-workout-builder #upload-input-workout-photo {
    display: inline-block;
    margin: 0 auto;
}
.program-workout-builder img.cr-image {
    color: transparent;
    font-size: 0;
}
.program-form-page .program-rest-crop-panel,
.program-workout-builder .program-rest-crop-panel {
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.program-form-page .program-rest-crop-panel .panel-body,
.program-workout-builder .program-rest-crop-panel .panel-body {
    padding: 0;
}
.program-form-page .program-rest-file-input,
.program-workout-builder .program-rest-file-input {
    width: 100%;
    align-items: stretch;
    flex-wrap: nowrap;
}
.program-form-page .program-rest-file-input .custom-file,
.program-workout-builder .program-rest-file-input .custom-file {
    flex: 1 1 auto;
    min-width: 0;
}
.program-form-page .program-rest-file-input .custom-file-input,
.program-workout-builder .program-rest-file-input .custom-file-input {
    cursor: pointer;
    z-index: 5;
}
.program-form-page .program-rest-file-input .custom-file-label,
.program-workout-builder .program-rest-file-input .custom-file-label {
    background: rgba(255, 255, 255, 0.85);
    border-color: #DAD3C6;
    border-radius: 12px !important;
    height: calc(1.5em + 0.75rem + 2px);
    line-height: 1.5;
}
.program-form-page .program-rest-file-input .custom-file-label::after,
.program-workout-builder .program-rest-file-input .custom-file-label::after {
    background-color: #e9ecef;
    border-radius: 0 12px 12px 0 !important;
    color: #495057;
    height: calc(1.5em + 0.75rem);
    line-height: 1.5;
    cursor: pointer;
}
.program-form-page .program-rest-file-input .input-group-append,
.program-workout-builder .program-rest-file-input .input-group-append {
    margin-left: 0 !important;
    display: flex;
    align-items: stretch;
}
.program-form-page .program-rest-file-input .upload-result-rest-day,
.program-workout-builder .program-rest-file-input .upload-result-workout-photo {
    border-radius: 12px !important;
    border: 1px solid #9F8C78 !important;
    background: #9F8C78 !important;
    color: #ffffff !important;
    font-weight: 600;
    min-width: 96px;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1.1rem;
    box-shadow: none;
}
.program-form-page .program-rest-file-input .upload-result-rest-day:hover,
.program-form-page .program-rest-file-input .upload-result-rest-day:focus,
.program-workout-builder .program-rest-file-input .upload-result-workout-photo:hover,
.program-workout-builder .program-rest-file-input .upload-result-workout-photo:focus {
    background: #8a785f !important;
    color: #ffffff !important;
    border-color: #8a785f !important;
    box-shadow: 0 0 0 0.2rem rgba(159, 140, 120, 0.25);
}
.program-form-page #error_restImage.program-rest-image-preview,
.program-workout-builder #error_userImage.program-rest-image-preview {
    width: 280px;
    max-width: 100%;
    min-height: 280px;
    height: 280px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-color: #f8f9fa;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-color: #DAD3C6 !important;
    border-radius: 12px !important;
}
.program-form-page #error_restImage.program-rest-image-preview.has-image,
.program-workout-builder #error_userImage.program-rest-image-preview.has-image {
    border-style: solid !important;
}
.program-form-page #error_restImage .error_thumbnail_img,
.program-workout-builder #error_userImage .error_thumbnail_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-form-page #error_restImage.has-image .program-rest-image-placeholder,
.program-workout-builder #error_userImage.has-image .program-rest-image-placeholder {
    display: none !important;
}
.program-form-page .program-form-actions {
    margin-top: 0;
    padding-top: 0;
    text-align: left;
}
.program-form-page .program-form-submit {
    min-width: 0;
    padding: 0.75rem 2.5rem;
    border-radius: 12px !important;
    font-weight: 500;
    background: #9F8C78 !important;
    border: 1px solid #9F8C78 !important;
    color: #fff !important;
}
.program-form-page .program-form-submit:hover,
.program-form-page .program-form-submit:focus {
    background: #8a7866 !important;
    border-color: #8a7866 !important;
    color: #fff !important;
}
.program-form-page .select2-container--default .select2-selection--multiple,
.program-form-page .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #DAD3C6 !important;
    border-radius: 12px !important;
    min-height: 54px;
}
.program-form-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.program-form-page .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #9F8C78 !important;
}
.program-form-page .select2-container {
    width: 100% !important;
    display: block;
}
.program-form-page .select2-dropdown {
  z-index: 1056;
  background: #F1E9D9 !important;
  border: 1px solid #DAD3C6 !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.program-form-page .select2-container--default .select2-results > .select2-results__options {
  background: #F1E9D9 !important;
}
.program-form-page .select2-container--default .select2-results__option {
  color: #2A3544;
  padding: 8px 12px;
}
.program-form-page .select2-container--default .select2-results__option--highlighted,
.program-form-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #9F8C78 !important;
  color: #fff !important;
}
.program-form-page .select2-container--default .select2-results__option[aria-selected=true] {
  background: #EBE4DA !important;
  color: #2A3544 !important;
}
.program-form-page .select2-search--dropdown {
  background: #F1E9D9 !important;
  padding: 8px;
}
.program-form-page .select2-search--dropdown .select2-search__field {
  border: 1px solid #DAD3C6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #2A3544;
}
/* Chips <ul> is a sibling of the search field; collapse its box so chips flow
   inline with the search/placeholder (keeps placeholder left + chips inside). */
.program-form-page .select2-container .select2-selection--multiple .select2-selection__rendered {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    box-sizing: border-box;
}
.program-form-page .select2-container--default .select2-selection--multiple {
    overflow: visible;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px 12px !important;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-search__field {
    width: auto !important;
    min-width: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: left !important;
    background: transparent !important;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 8px;
    position: relative !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    background-color: #9F8C78 !important;
    border: 1px solid #8a7866 !important;
    color: #fff !important;
    border-radius: 8px;
    overflow: visible;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    color: #fff !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    font-size: 14px;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8a7866 !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    line-height: 1;
    display: block;
}
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.program-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background: #fff !important;
    color: #6d5d4f !important;
    border-color: #fff !important;
    outline: none;
}
/* Movement form – Equipment multi-select: chips inside, placeholder left.
   Same fix as the program/recipe forms; scoped + !important to win over my_style.css. */
.movement-form-page .select2-container {
    width: 100% !important;
    display: block;
}
.movement-form-page .select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid #DAD3C6 !important;
    border-radius: 12px !important;
    min-height: 54px !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px 12px !important;
}
.movement-form-page .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #9F8C78 !important;
}
.movement-form-page .select2-container .select2-selection--multiple .select2-selection__rendered {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-search__field {
    width: auto !important;
    min-width: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: left !important;
    background: transparent !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 8px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    background-color: #9F8C78 !important;
    border: 1px solid #8a7866 !important;
    color: #fff !important;
    border-radius: 8px !important;
    overflow: visible !important;
    max-width: 100% !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    order: 0 !important;
    color: #fff !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    font-size: 14px !important;
    white-space: normal !important;
    word-break: break-word !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    order: 0 !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8a7866 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    line-height: 1 !important;
    display: block !important;
}
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.movement-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background: #fff !important;
    color: #6d5d4f !important;
    border-color: #fff !important;
    outline: none !important;
}

/* Mel recipe form – multi-select chips rendered inside the field.
   Scoped + !important so these win over the global Select2 rules in my_style.css. */
.mel-recipe-form-page .select2-container {
    width: 100% !important;
    display: block;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple {
    background: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    min-height: 46px !important;
    height: auto !important;
    overflow: visible !important;
    padding: 5px 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
}
.mel-recipe-form-page .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #9F8C78 !important;
}
/* The chips <ul> is a sibling of the search field; collapse its box so the
   chips become direct flex items that flow inline with the search/placeholder. */
.mel-recipe-form-page .select2-container .select2-selection--multiple .select2-selection__rendered {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    line-height: 1.2 !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 8px !important;
    vertical-align: middle !important;
    position: relative !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    background-color: #9F8C78 !important;
    border: 1px solid #8a7866 !important;
    color: #fff !important;
    border-radius: 8px !important;
    overflow: visible !important;
    max-width: 100% !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    order: 0 !important;
    color: #fff !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    font-size: 14px !important;
    white-space: normal !important;
    word-break: break-word !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    order: 0 !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8a7866 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    line-height: 1 !important;
    display: block !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background: #fff !important;
    color: #6d5d4f !important;
    border-color: #fff !important;
    outline: none !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-search__field {
    width: auto !important;
    min-width: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #6c757d !important;
    background: transparent !important;
}
.mel-recipe-form-page .select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: #6c757d;
    text-align: left;
}

.program-workout-builder .select2-container--default .select2-selection--multiple,
.program-workout-builder .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #DAD3C6 !important;
    border-radius: 12px !important;
    min-height: 54px;
}
.program-workout-builder .select2-container--default.select2-container--focus .select2-selection--multiple,
.program-workout-builder .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #9F8C78 !important;
}
.program-workout-builder .select2-container {
    width: 100% !important;
    display: block;
    z-index: 1055;
}
.program-workout-builder .select2-dropdown {
    z-index: 1056;
    background: #F1E9D9 !important;
    border: 1px solid #DAD3C6 !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.program-workout-builder .select2-container--default .select2-results > .select2-results__options {
    background: #F1E9D9 !important;
}
.program-workout-builder .select2-container--default .select2-results__option {
    color: #2A3544;
    padding: 8px 12px;
}
.program-workout-builder .select2-container--default .select2-results__option--highlighted,
.program-workout-builder .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #9F8C78 !important;
    color: #fff !important;
}
.program-workout-builder .select2-container--default .select2-results__option[aria-selected=true] {
    background: #EBE4DA !important;
    color: #2A3544 !important;
}
.program-workout-builder .select2-search--dropdown {
    background: #F1E9D9 !important;
    padding: 8px;
}
.program-workout-builder .select2-search--dropdown .select2-search__field {
    border: 1px solid #DAD3C6;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    color: #2A3544;
}
.program-workout-builder .select2-container .select2-selection--multiple .select2-selection__rendered {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    box-sizing: border-box;
}
.program-workout-builder .select2-container--default .select2-selection--multiple {
    overflow: visible;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px 12px !important;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-search__field {
    width: auto !important;
    min-width: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: left !important;
    background: transparent !important;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 8px;
    position: relative !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    background-color: #9F8C78 !important;
    border: 1px solid #8a7866 !important;
    color: #fff !important;
    border-radius: 8px;
    overflow: visible;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    color: #fff !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    font-size: 14px;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8a7866 !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    line-height: 1;
    display: block;
}
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.program-workout-builder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background: #fff !important;
    color: #6d5d4f !important;
    border-color: #fff !important;
    outline: none;
}
.program-workout-builder .work1 .form-control,
.program-workout-builder .work1 .form-select {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #DAD3C6;
    color: #2A3544;
    border-radius: 12px !important;
}
.program-workout-builder .work1 .form-control:focus,
.program-workout-builder .work1 .form-select:focus {
    border-color: #9F8C78;
    box-shadow: 0 0 0 0.2rem rgba(159, 140, 120, 0.25);
    background: #fff;
}
.basic-setup-img img { top: 13px; left: -27px; }
.exercise-close { top: -16px; right: -16px; }

/*-- custom table --*/
.custom-table .dataTables_length { font-size: 18px; font-weight: 500; }
.custom-table .dataTables_filter label, .dataTables_info { font-size: 0px; }
.custom-table .dataTables_filter input { font-size: 16px !important; }
.custom-table .dataTables_filter input {
    font-size: 18px !important;
    border: 1px solid #4B5563;
    border-radius: 6px;
    padding: 11px 14px 11px 40px;
    /* background: url(../images/icons/search.svg) top 11px left 6px; */
    background-repeat: no-repeat;
    min-width: 280px;
}
.custom-table thead { background-color: #EFF1F4; border-radius: 6px; overflow: hidden; }
.custom-table thead tr th { background-color: transparent; color: #2A3544; font-weight: 500; }
.custom-table .table>:not(caption)>*>* { padding: 20px; background: transparent;border-bottom: unset; }
.custom-table tbody tr td img { width:120px; height:80px; object-fit: cover; }
#equipmentTable thead tr th.equipment-photo-cell,
#equipmentTable tbody tr td.equipment-photo-cell {
    text-align: center !important;
    width: 120px;
    min-width: 120px;
}
#equipmentTable tbody tr td .equipment-table-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: #F5F2ED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}
#equipmentTable tbody tr td .equipment-table-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px;
}
#bodyPartsTable tbody tr td .myMedia .tbImg {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center center !important;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #F5F2ED;
}
#movementTable tbody tr td .myMedia .tbImg {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center center !important;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #F5F2ED;
}
#movementTable tbody tr td .myMedia .movement-table-video {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    background-size: cover !important;
    background-position: center center !important;
}
#melRecipesTable tbody tr td .tbImg {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 8px;
    background-color: #F5F2ED;
}
#melRecipesTable tbody tr td.mel-recipes-actions-cell {
    min-width: 120px;
    text-align: center !important;
    white-space: nowrap;
}
#melRecipesTable tbody tr td.mel-recipes-actions-cell .list-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}
#melRecipesTable tbody tr td.mel-recipes-actions-cell .list-inline-item {
    margin-right: 0;
}
#programTable tbody tr td .tbImg {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 8px;
    background-color: #F5F2ED;
    display: inline-block;
}
.equipment-form-page .equipment-image-upload { width: 300px; max-width: 100%; }
.equipment-form-page .equipment-image-preview {
    width: 300px !important;
    height: 180px !important;
    margin-top: 20px;
    border-radius: 10px !important;
    background-color: #F8F9FA !important;
    border: 1px solid #E0E0E0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}
.equipment-form-page .equipment-image-preview.upload-btn-wrapper { height: 180px !important; }
.equipment-form-page .equipment-image-preview.has-cropped-image {
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
}
.equipment-form-page .equipment-image-preview.has-cropped-image i.fa-image { display: none; }
.equipment-form-page .equipment-image-preview-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.equipment-form-page .equipment-image-preview i.fa-image { font-size: 2.25rem; color: #ADB5BD; }
.equipment-form-page .equipment-save-wrap { width: 100%; max-width: 420px; }
.equipment-form-page #upload-input-equipment { margin: 0 auto; }
.equipment-form-page .equipment-file-input { width: 100%; align-items: center; flex-wrap: nowrap; }
.equipment-form-page .equipment-file-input .custom-file { flex: 1 1 auto; }
.equipment-form-page .equipment-file-input .custom-file-label {
    border-radius: 4px;
    border-color: #ced4da;
    background-color: #fff;
}
.equipment-form-page .equipment-file-input .custom-file-label::after {
    background-color: #e9ecef;
    border-radius: 0 4px 4px 0;
    color: #495057;
}
.equipment-form-page .equipment-file-input .input-group-append { margin-left: 0 !important; }
.equipment-form-page .equipment-file-input .equipment-crop-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #495057;
    font-weight: 400;
    font-size: 1rem;
    padding: 0 0 0 4px;
    height: auto;
    line-height: 1.5;
    cursor: pointer;
}
.equipment-form-page .equipment-file-input .equipment-crop-btn:hover,
.equipment-form-page .equipment-file-input .equipment-crop-btn:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #212529;
    outline: none;
}
.muscle-group-form-page .bodypart-image-upload { width: 100%; max-width: 100%; }
.muscle-group-form-page .bodypart-image-upload > .form-label { white-space: nowrap; }
.muscle-group-form-page .bodypart-image-preview {
    width: 240px !important;
    height: 240px !important;
    margin: 20px auto 0;
    border-radius: 10px !important;
    background-color: #F8F9FA !important;
    border: 1px solid #E0E0E0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}
.muscle-group-form-page .bodypart-image-preview.has-cropped-image {
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
}
.muscle-group-form-page .bodypart-image-preview.has-cropped-image i.fa-image,
.muscle-group-form-page .bodypart-image-preview.has-cropped-image i.fa-5x { display: none !important; }
.muscle-group-form-page .bodypart-image-preview i.fa-image { font-size: 2.25rem; color: #ADB5BD; }
.muscle-group-form-page #upload-input-bodypart { margin: 0 auto; }
.muscle-group-form-page .bodypart-file-input { width: 100%; align-items: center; flex-wrap: nowrap; }
.muscle-group-form-page .bodypart-file-input .custom-file { flex: 1 1 auto; }
.muscle-group-form-page .bodypart-file-input .custom-file-label {
    border-radius: 4px;
    border-color: #ced4da;
    background-color: #fff;
}
.muscle-group-form-page .bodypart-file-input .custom-file-label::after {
    background-color: #e9ecef;
    border-radius: 0 4px 4px 0;
    color: #495057;
}
.muscle-group-form-page .bodypart-file-input .input-group-append { margin-left: 0 !important; }
.muscle-group-form-page .bodypart-file-input .bodypart-crop-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #495057;
    font-weight: 400;
    font-size: 1rem;
    padding: 0 0 0 4px;
    height: auto;
    line-height: 1.5;
    cursor: pointer;
}
.muscle-group-form-page .bodypart-file-input .bodypart-crop-btn:hover,
.muscle-group-form-page .bodypart-file-input .bodypart-crop-btn:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #212529;
    outline: none;
}
.movement-form-page #error_thumbnail,
.movement-form-page #error_userImage {
    width: 280px !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.movement-form-page #error_thumbnail .error_thumbnail_img,
.movement-form-page #error_userImage .error_thumbnail_img,
.movement-form-page #error_userImage #img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movement-form-page #upload-input-exercise {
    margin: 0 auto;
}
.custom-table .dataTables_scroll { margin:20px 0 30px;} 
.custom-table tbody tr td { vertical-align: middle; }
.custom-table tbody tr.even { background-color: #FBFBFB; }
.custom-table ul.pagination { gap: 8px; }
.custom-table img.table-icon {
    width: 45px !important;
    height: 45px !important;
}
.custom-table ul.pagination li a {
    /* border: 1px solid #E1E1E1; */
    border-radius: 4px !important;
    /* background: white; */
    color: #251C1C;
}
.custom-table thead tr th:first-child { border-radius: 6px 0 0 6px; }
.custom-table thead tr th:last-child { border-radius: 0px 6px 6px 0px; }
.custom-table ul.pagination li:first-child a, .custom-table ul.pagination li:last-child a { background-color:#F8F8F8 ; }
.page-link.active,
.active > .page-link {
    background-color:#dee2e6!important;
    border-color:#dee2e6 !important;
    color: #191919 !important;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}
@media (max-width: 1280px) { 
/* .sidebar ul span, .sidebar .user-profile span, .sidebar .main-text { display:none !important }
.sidebar .user-profile img { width: 50px; height:50px; } */
    
}
@media (max-width: 992px) { 
    /* .login-form {  width: 70%; } */
}

a {
    text-decoration: none;
    color: inherit;
}
.error_thumbnail_img {
    width: 100%;
    height: auto;
}

.error_thumbnail_img_intro {
   width: 301px !important;
   height: 339px;
}

.newtop {
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    position: fixed;
    background-color: rgba(3, 0, 0, 0.63);
    color: #aaaaaa;
    opacity: 1;
    filter: alpha(opacity=50);
}
  
.newtop > center > img#load {
width: 290px;
padding-top: 17%;
}
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    margin-bottom: 0;
}
  
.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    margin: 0;
    overflow: hidden;
    opacity: 0;
}
.custom-file-input:focus ~ .custom-file-label {
    border-color: #EBEBEB;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.25);
}
.custom-file-input[disabled] ~ .custom-file-label, .custom-file-input:disabled ~ .custom-file-label {
    background-color: #e9ecef;
}
.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: "Browse";
}
.custom-file-input ~ .custom-file-label[data-browse]::after {
    content: attr(data-browse);
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    overflow: hidden;
    font-weight: normal;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 0.25rem;
}
.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + 0.75rem);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 0.25rem 0.25rem 0;
}
.input-group > .custom-file {
    display: flex;
    align-items: center; }
.input-group > .custom-file {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0; }
.input-group-append {
    display: flex; }
    .input-group-prepend .btn,
    .input-group-append .btn {
      position: relative;
      z-index: 2; }
      .input-group-prepend .btn:focus,
      .input-group-append .btn:focus {
        z-index: 3; }
    .input-group-prepend .btn + .btn,
    .input-group-prepend .btn + .input-group-text,
    .input-group-prepend .input-group-text + .input-group-text,
    .input-group-prepend .input-group-text + .btn,
    .input-group-append .btn + .btn,
    .input-group-append .btn + .input-group-text,
    .input-group-append .input-group-text + .input-group-text,
    .input-group-append .input-group-text + .btn {
      margin-left: -1px; }
  
  .input-group-prepend {
    margin-right: -1px; }
  
  .input-group-append {
    margin-left: -1px; }
  
.bg-gray-light {
    background-color: #F5F5F5 !important; }

.img-box {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100%; }

.program .img-box {
    height: 220px; }
.mvtsection .img-box {
    height: 120px; }
.trainers .img-box {
    height: 250px; }
      
.movement .img-box {
    height: 120px; }

    .radio--custom input[type="radio"] {
        display: none; }
      
      .radio--custom label {
        cursor: pointer;
        display: block;
        position: relative;
        margin-bottom: 0;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none; }
        .radio--custom label .card-body {
          background-color: #F3F3F3;
          opacity: .5;
          align-items: center;
          display: flex;
          justify-content: center;
          overflow: hidden;
          width: 100%; }
        .radio--custom label .card--border::after {
          content: '';
          border: 1px solid rgba(66, 80, 92, 0.1);
          border-radius: 50%;
          width: 17px;
          height: 17px;
          display: inline-block;
          float: right;
          display: flex;
          align-items: center;
          justify-content: center; }
      
      .radio--custom input[type="radio"]:checked + .card-body {
        border-color: #ECBEC7;
        background-color: #fff;
        color: #000;
        opacity: 1; }
        .radio--custom input[type="radio"]:checked + .card-body h6::after {
          font-family: "Font Awesome 5 Free";
          font-style: normal;
          margin-left: .3rem;
          font-variant: normal;
          text-rendering: auto;
          -webkit-font-smoothing: antialiased;
          font-weight: 900;
          color: #87A19B;
          content: "\f058";
          font-family: 'Font Awesome 5 Free'; }
      .radio--custom input[type="radio"]:checked + .card--border::after {
        content: '✓';
        color: #fff;
        border-color: #87A19B;
        font-size: .7rem;
        background-color: #87A19B; }
#step2 {
    display: none;
    overflow: visible;
}
#sectionPart .select2-container .select2-selection--multiple .select2-selection__rendered {
    position: relative !important;
    top: -3px !important;
    left: 20px !important;
}

.h-80 {
    height: 80px;
}
.w-120 {
    width: 120px;
}

.alert-danger {
    color: #7b6367;
    background-color: #fbf2f4;
    border-color: #faedef; }
    .alert-danger hr {
      border-top-color: #f4d9dd; }
    .alert-danger .alert-link {
      color: #5f4c4f; }

.movementVideo {
    width: 70%;
}

.select2-container .select2-selection--single {
    height: 55px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 55px !important;
}

#sectionPart .form-control-lg {
    padding: 10px 27px;
}
.programListingVideo {
    width: 120px;
}
.workoutIntroListingVideo {
    width: 180px;
    height: 120px;
    object-fit: cover;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px !important;
}
.msg {
    text-align: center; 
}

.exportJson .custom-radio input {
    position: absolute;
    opacity: 1;
    cursor: pointer;
    left: -20px;
    top: 8px;
}

.exportJson .radio--custom input[type="radio"] {
    display: block !important;
}
.instantSection .form-control-lg {
    padding: 10px 24px;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5; }
    @media (max-width: 1200px) {
      .close {
        font-size: calc(1.275rem + 0.3vw) ; } }
    .close:hover {
      color: #000;
      text-decoration: none; }
    .close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
      opacity: .75; }
  
  button.close {
    padding: 0;
    background-color: transparent;
    border: 0; }
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.6375rem - 1px);
    border-top-right-radius: calc(0.6375rem - 1px); }
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto; }

.generator-card i {
    color: #667eea;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.form-groups{
  margin-bottom: 15px;
}

.form-group label {
  margin: 0;
  white-space: nowrap;
}

.form-group select {
  flex: 1; 
  padding: 6px 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
}

.workout-entry {
    display: flex;
    align-items: flex-start;
}

.exercise-name {
    flex: 0 0 40%;
    padding-right: 10px;
    margin-left: 1.5em;
}

.exercise-sets-reps {
    white-space: nowrap;
    position: relative;
    margin-right:25rem;
}
.ingredient-card{
    background: linear-gradient(88.3deg, rgba(255, 255, 255, 0.4482) 0%, rgba(255, 255, 255, 0.2376) 99.66%);
    padding: 24px;
    max-width: 100%;
    border-radius: 30px;
}
.mel-recipe-image-block .panel-default {
    margin-bottom: 0;
}
.mel-recipe-image-block .panel-body {
    padding: 0;
}
.mel-recipe-image-block .croppie-container {
    margin: 0 auto;
}
.mel-recipe-image-block .mel-recipe-image-preview {
    width: 100%;
    max-width: 340px;
    height: 340px !important;
    min-height: 340px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.mel-recipe-image-block .mel-recipe-image-preview.mel-sec-preview {
    max-width: 280px;
    height: 498px !important;
    min-height: 498px;
}
.mel-recipe-image-block .mel-recipe-image-preview > img,
.mel-recipe-image-block .mel-recipe-image-preview img.error_thumbnail_img,
.mel-recipe-image-block .mel-recipe-image-preview img.preview-mel-sec {
    display: none !important;
}
.mel-recipe-image-block .input-group .custom-file-label,
.mel-recipe-image-block .input-group .custom-file-input {
    height: 38px;
}
.mel-recipe-image-block .input-group-append .btn {
    height: 38px;
    line-height: 1;
}
.mel-recipe-video-block .mel-recipe-video-preview-action {
    width: 100%;
    max-width: 340px;
    margin: 0.75rem auto 0;
    text-align: center;
}
.mel-recipe-video-block .mel-recipe-video-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 14px;
    font-weight: 600;
    color: #7592ED;
    text-decoration: none;
    line-height: 1.4;
}
.mel-recipe-video-block .mel-recipe-video-preview-link:hover,
.mel-recipe-video-block .mel-recipe-video-preview-link:focus {
    color: #5a78d4;
    text-decoration: none;
}
.mel-recipe-video-block .mel-recipe-video-preview-link img {
    flex-shrink: 0;
    opacity: 0.9;
}
.mel-recipe-video-thumb {
    width: 100%;
    max-width: 340px;
    height: 340px !important;
    min-height: 340px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.mel-recipe-video-thumb .mel-recipe-video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block !important;
}
.mel-recipe-video-thumb .error_thumbnail_img,
.mel-recipe-video-thumb > img:not([id="load_video"]):not(.mel-recipe-video-thumb-img) {
    display: none !important;
}
.mel-recipe-video-thumb.has-video #userVideo {
    display: none !important;
}
.mel-recipe-video-thumb.has-video {
    cursor: pointer;
}
.mel-recipe-mobile-video-dialog {
    max-width: none;
    margin: 1rem auto;
}
.mel-recipe-mobile-video-content {
    background: transparent;
    box-shadow: none;
}
.mel-recipe-mobile-preview-frame {
    width: min(900px, calc(90vh * 900 / 1600), calc(100vw - 2rem));
    height: min(1600px, 90vh);
    aspect-ratio: 900 / 1600;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.mel-recipe-mobile-preview-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}
.search-icon{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 14px;
}

.instruction-textarea{
    background: linear-gradient(88.91deg, rgba(255, 255, 255, 0.9) 0.93%, rgba(255, 255, 255, 0.95) 99.07%);
    border: none;
    border-radius: 10px;
    max-height: 100%;
    resize: none;
    padding: 16px;
    font-size: 14px;
    box-shadow: none !important;
}
/* ── Ingredient search dropdown ─────────────────────────────── */
#ing_dropdown {
  border: 1px solid #e8e2d8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 4px 0;
  list-style: none;
  margin: 0;
}

.ing-dd-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
  transition: background 0.12s;
}
.ing-dd-item:hover {
  background: #fdfaf6;
}
.ing-dd-added {
  color: #aaa;
  cursor: not-allowed;
}
.ing-badge-added {
  font-size: 11px;
  background: #e8e2d8;
  color: #888;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ── Ingredient rows ─────────────────────────────────────────── */
#ing_rows {
  border: 1.5px solid #f0ece4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.ing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0ece4;
}
.ing-row:last-child {
  border-bottom: none;
}

/* Ingredient name */
.ing-row-name {
  flex: 1 1 120px;
  min-width: 72px;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

/* Per-serving calories (before +/- controls) */
.ing-row-macros {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

/* +/- controls wrapper */
.ing-row-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

/* qty + unit label */
.ing-qty-label {
  font-size: 13px;
  color: #333;
  min-width: 56px;
  text-align: center;
  white-space: nowrap;
}

/* Circle +/- buttons */
.ing-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #d4cec4;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.ing-qty-btn:hover {
  border-color: #a89880;
  color: #555;
}

/* Trash delete button */
.required-asterisk {
  color: #df4142;
  margin-left: 2px;
}

/* Program workout week/day builder (nutrition → workout flow) */
.program-workout-builder .actUse > h6:after {
  content: none !important;
}
.program-workout-builder .actUser > h6:after {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  margin-left: 0.3rem;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900;
  color: #87A19B;
  content: "\f058";
}
.program-workout-builder .actUsedelete > h6:after {
  content: none !important;
}
.program-workout-builder .program-day-item {
  min-width: 118px;
  vertical-align: top;
}
.program-workout-builder .program-day-card {
  min-width: 110px;
  max-width: none;
  max-height: none;
  border: 1px solid #e8e8e8 !important;
  background: #fff !important;
  backdrop-filter: none;
  cursor: pointer;
  box-shadow: none;
}
.program-workout-builder .program-day-card.actUse {
  border: 2px solid #1a1a1a !important;
  background-color: #fff !important;
  color: #000 !important;
}
.program-workout-builder .program-day-card.actUser {
  border: 1px solid #87A19B !important;
  background-color: #fff !important;
  color: #000 !important;
}
.program-workout-builder .program-day-card.actUsedelete {
  border: 1px solid #eeeeee !important;
  background-color: #fdfdfd !important;
  color: #9a9a9a !important;
}
.program-workout-builder .program-day-info {
  position: absolute;
  top: -10px;
  left: 8px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ececec;
  color: #666;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  font-style: italic;
}
.program-workout-builder .program-day-info.addCss {
  display: none !important;
}
.program-workout-builder .program-day-label {
  display: block;
  cursor: pointer;
  position: relative;
  padding-top: 6px;
}
.program-workout-builder .program-day-card-wrap input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.program-workout-builder .program-day-caption {
  max-width: 115px;
  line-height: 1.25;
  min-height: 2.5em;
}
.program-workout-builder .program-day-caption.text-muted {
  color: #b0b0b0 !important;
}
.program-workout-builder .program-day-menu {
  color: #888;
  font-size: 12px;
  pointer-events: auto;
  cursor: pointer;
  padding: 2px 4px;
  flex-shrink: 0;
}

#itemModal .modal-dialog {
  overflow: visible;
}

#itemModal .modal-content {
  position: relative;
  background: #F1E9D9 !important;
  overflow: visible;
}

#itemModal .modal-body,
#itemModal .modal-footer,
#itemModal .modal-header {
  background: #F1E9D9 !important;
}

#itemModal .modal-header {
  overflow: visible;
  min-height: 0;
  padding: 0;
}

#itemModal .modal-close-btn {
  right: -18px;
  top: -18px;
  width: 44px;
  height: 44px;
  z-index: 3;
}

#itemModal .border-bottom-light {
  border-color: #DAD3C6 !important;
}

/* Section builder form — full width, readable columns */
#sectionPart.card {
  max-width: none;
  max-height: none;
  width: 100%;
}
#sectionPart .form-label {
  white-space: normal;
}
#sectionPart .form-group {
  display: block;
  margin-bottom: 0;
}
#sectionPart .form-group label {
  white-space: normal;
  margin-bottom: 0.75rem;
}
#sectionPart .form-group select,
#sectionPart .form-select,
#sectionPart .form-control {
  width: 100%;
  max-width: none;
}
#sectionPart .section-rest-input-group .form-control,
#sectionPart .section-rest-input-group .form-select {
  min-height: 54px;
}
#sectionPart .section-rest-input-group .form-control {
  flex: 1 1 auto;
  min-width: 70px;
  max-width: none;
  padding-left: 0.65rem;
  padding-right: 0.4rem;
}
#sectionPart .section-rest-input-group .form-select {
  flex: 0 0 105px;
  max-width: 105px;
  padding-left: 0.5rem;
}
#sectionPart .input-group .bs-dropdown-to-select-group {
  flex: 0 0 130px;
  max-width: 130px;
}
#sectionPart .input-group .bs-dropdown-to-select-group select {
  max-width: none;
  width: 100%;
  min-height: 54px;
}
#sectionPart .select2-container {
  width: 100% !important;
}

/* Saved section / movement list */
#secMove_list .card {
  max-width: none;
  max-height: none;
  width: 100%;
}
#secMove_list .card .row > [class*="col-"] {
  min-width: 0;
}
#secMove_list .card .row > [class*="col-"] p,
#secMove_list .card .row > [class*="col-"] h6 {
  word-break: normal;
  overflow-wrap: anywhere;
}
#secMove_list .card .img-box {
  width: 100%;
  max-width: 140px;
  min-height: 80px;
}
#secMove_list .card hr {
  margin: 1.25rem 0;
}

#secMove_list .section-list-card {
  max-width: none;
  max-height: none;
  width: 100%;
}

#secMove_list .section-movement-list .section-movement-row:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#secMove_list .section-movement-thumb {
  width: 100%;
  max-width: 140px;
  min-height: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

#secMove_list .section-movement-sort {
  color: #6b2d2d;
  font-size: 1.1rem;
}

#secMove_list .section-movement-sort .fa-arrow-up,
#secMove_list .section-movement-sort .fa-arrow-down {
  cursor: pointer;
}

.ing-del-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ccc;
  font-size: 14px;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}
.ing-del-btn:hover {
  color: #e05;
}

/* Community posts (card grid + detail) */
.community-posts-page .community-posts-search-bar {
  display: flex;
  justify-content: flex-end;
}
.community-posts-page .community-posts-search-form {
  width: 312px;
  max-width: 100%;
}
.community-posts-page .community-posts-search-input {
  width: 100%;
  font-size: 18px !important;
  border: 1px solid #4B5563;
  border-radius: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.62);
  color: #2A3544;
}
.community-posts-page .community-posts-search-input:focus {
  border-color: #4B5563;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}
.community-posts-page .community-post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.community-posts-page .community-post-card {
  background: #FDFBF7;
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(232, 225, 216, 0.45);
  box-shadow: 0 4px 18px rgba(42, 53, 68, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.community-posts-page .community-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(42, 53, 68, 0.08);
}
.community-posts-page .community-post-card-image-wrap {
  aspect-ratio: 3 / 4;
  background: #f3f4f6;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  touch-action: pan-y;
}
.community-posts-page .community-post-card-image-wrap.has-carousel {
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.community-posts-page .community-post-card-image-wrap.has-carousel:active {
  cursor: grabbing;
}
.community-posts-page .community-post-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.community-posts-page .community-post-card-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}
.community-posts-page .community-post-card-slide-image {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.community-posts-page .community-post-card-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  padding: 0;
  pointer-events: auto;
}
.community-posts-page .community-post-card-dot {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(42, 53, 68, 0.12);
}
.community-posts-page .community-post-card-dot.is-active {
  background: #C4A882;
}
.community-posts-page .community-post-card-image,
.community-posts-page .community-post-card-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-posts-page .community-post-card-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 42px;
}
.community-posts-page .community-post-card-body {
  padding: 16px 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.community-posts-page .community-post-card-text {
  color: #2A3544;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
  flex: 1;
}
.community-posts-page .community-post-card-read-more {
  color: #9F8C78;
  font-weight: 600;
  white-space: nowrap;
}
.community-posts-page .community-post-card-link:hover .community-post-card-read-more {
  text-decoration: underline;
}
.community-posts-page .community-post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 4px 4px;
  border-top: 1px solid #EBE4DA;
}
.community-posts-page .community-post-card-meta-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.community-posts-page .community-post-card-delete {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.15s ease;
}
.community-posts-page .community-post-card-delete:hover,
.community-posts-page .community-post-card-delete:focus {
  background: rgba(255, 255, 255, 0.95);
  outline: none;
}
.community-posts-page .community-post-card-author {
  color: #8b8f97;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-posts-page .community-post-card-time {
  color: #8b8f97;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.community-posts-page .community-posts-pagination .pagination {
  gap: 8px;
}
.community-posts-page .community-posts-pagination .page-link {
  background: #F1E9D9;
  border: 1px solid #DAD3C6;
  color: #2A3544;
  border-radius: 8px !important;
  font-weight: 500;
  min-width: 42px;
  text-align: center;
  box-shadow: none;
}
.community-posts-page .community-posts-pagination .page-link:hover,
.community-posts-page .community-posts-pagination .page-link:focus {
  background: #EBE4DA;
  border-color: #9F8C78;
  color: #2A3544;
  box-shadow: none;
}
.community-posts-page .community-posts-pagination .page-item.active .page-link {
  background: #9F8C78 !important;
  border-color: #9F8C78 !important;
  color: #fff !important;
}
.community-posts-page .community-posts-pagination .page-item.disabled .page-link {
  background: #F1E9D9;
  border-color: #DAD3C6;
  color: #8b8f97;
  opacity: 0.7;
}
.community-post-detail-page .community-post-detail-shell {
  border-radius: 32px;
}
.community-post-detail-page .community-post-detail-card {
  border-radius: 28px;
  padding: 20px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(232, 225, 216, 0.6);
}
.community-post-detail-page .community-post-gallery {
  display: grid;
  grid-template-columns: minmax(0, 667px);
  gap: 16px;
  align-items: start;
  width: fit-content;
  max-width: 100%;
}
.community-post-detail-page .community-post-gallery.has-thumbs {
  grid-template-columns: minmax(0, 667px) 162px;
  align-items: stretch;
}
.community-post-detail-page .community-post-gallery-main,
.community-post-detail-page .community-post-gallery-main-fallback {
  width: 667px;
  max-width: 100%;
  height: 472px;
  aspect-ratio: 667 / 472;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
}
.community-post-detail-page .community-post-gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-post-detail-page .community-post-gallery-main-fallback {
  background: #f3f4f6;
  color: #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.community-post-detail-page .community-post-gallery-thumbs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 472px;
  width: 162px;
  gap: 0;
}
.community-post-detail-page .community-post-gallery-thumb {
  width: 162px;
  max-width: 100%;
  height: 141px;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.community-post-detail-page .community-post-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-post-detail-page .community-post-gallery-thumb.is-active {
  border-color: #9F8C78;
}
.community-post-detail-page .community-post-detail-content {
  padding-top: 20px;
  margin-top: 0;
}
.community-post-detail-page .community-post-detail-title {
  font-size: 16px;
  font-weight: 600;
  color: #2A3544;
  margin: 0 0 12px;
  line-height: 1.5;
}
.community-post-detail-page .community-post-detail-description {
  color: #2A3544;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.community-post-detail-page .community-post-author-card {
  background: #F1E9D9;
  border: 1px solid #DAD3C6;
  border-radius: 28px;
  padding: 20px;
}
.community-post-detail-page .community-post-author-label {
  font-size: 14px;
  font-weight: 500;
  color: #8b8f97;
  margin-bottom: 16px;
}
.community-post-detail-page .community-post-author-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.community-post-detail-page .community-post-author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.community-post-detail-page .community-post-author-photo,
.community-post-detail-page .community-post-author-photo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.community-post-detail-page .community-post-author-photo {
  object-fit: cover;
}
.community-post-detail-page .community-post-author-photo-fallback {
  background: #EBE4DA;
  color: #9F8C78;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.community-post-detail-page .community-post-author-name {
  font-weight: 600;
  color: #2A3544;
}
.community-post-detail-page .community-post-author-email,
.community-post-detail-page .community-post-author-time {
  color: #8b8f97;
  font-size: 14px;
}
@media (max-width: 991px) {
  .community-post-detail-page .community-post-gallery,
  .community-post-detail-page .community-post-gallery.has-thumbs {
    grid-template-columns: 1fr;
  }
  .community-post-detail-page .community-post-gallery-thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    height: auto;
    width: 100%;
  }
  .community-post-detail-page .community-post-gallery-thumb {
    flex: 0 0 auto;
    width: 162px;
    max-width: 100%;
    height: 141px;
    min-height: 0;
  }
}

/* SweetAlert2 – match dashboard / modal theme (#F1E9D9) */
.swal2-container {
  z-index: 20000 !important;
}
.swal2-popup {
  background: #F1E9D9 !important;
  border: 1px solid #DAD3C6;
  border-radius: 12px !important;
  color: #2A3544;
  font-family: "Montserrat", sans-serif;
}

.swal2-popup .swal2-title {
  color: #2A3544 !important;
  font-weight: 600;
}

.swal2-popup .swal2-content,
.swal2-popup .swal2-html-container {
  color: #4B5563 !important;
}

.swal2-popup .swal2-styled.swal2-confirm {
  background: #9F8C78 !important;
  border: 1px solid #9F8C78 !important;
  border-radius: 12px !important;
  font-weight: 600;
  color: #fff !important;
  box-shadow: none !important;
}

.swal2-popup .swal2-styled.swal2-confirm:hover,
.swal2-popup .swal2-styled.swal2-confirm:focus {
  background: #8a7866 !important;
  border-color: #8a7866 !important;
  box-shadow: 0 0 0 0.2rem rgba(159, 140, 120, 0.25) !important;
}

.swal2-popup .swal2-styled.swal2-cancel {
  background: #9F8C78 !important;
  border-radius: 12px !important;
  font-weight: 600;
  box-shadow: none !important;
}

.swal2-popup .swal2-icon.swal2-warning {
  border-color: #9F8C78;
  color: #9F8C78;
}

/*-----------DASHBOARD TILE ICON (bootstrap-icons glyph, matches PNG tile style)---------------*/

.dashboard-tile-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #B0A99F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/*-----------BUG REPORTS PAGE---------------*/

.bug-reports-page .bug-reports-search-input-wrap {
  flex: 1 1 320px;
  max-width: 360px;
}
.bug-reports-page .bug-reports-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b8f97;
  font-size: 14px;
  pointer-events: none;
}
.bug-reports-page .bug-reports-search-input {
  padding-left: 36px;
}
.bug-reports-page .bug-reports-clear-btn {
  background: #F1E9D9;
  border: 1px solid #DAD3C6;
  color: #2A3544;
  border-radius: 8px !important;
  font-weight: 500;
  padding: 8px 16px;
}
.bug-reports-page .bug-reports-clear-btn:hover {
  background: #EBE4DA;
  border-color: #9F8C78;
}
.bug-reports-page .bug-report-reason-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3ece8;
  color: #8b3e62;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.bug-reports-page .bug-report-description-cell {
  min-width: 220px;
  max-width: 320px;
  white-space: normal;
  line-height: 1.45;
}
.bug-reports-page .bug-report-description-cell a {
  color: #9F8C78;
  font-weight: 600;
  white-space: nowrap;
}
.bug-reports-page .bug-report-photo-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  display: block;
}
.bug-reports-page .bug-report-photo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid #e9ecef;
}
.bug-reports-page .report-post-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  white-space: nowrap;
}
.bug-reports-page .bug-reports-state i.fa-bug {
  color: #B0A99F;
}
.bug-reports-page .bug-reports-pagination .pagination {
  gap: 8px;
}
.bug-reports-page .bug-reports-pagination .page-link {
  background: #F1E9D9;
  border: 1px solid #DAD3C6;
  color: #2A3544;
  border-radius: 8px !important;
  font-weight: 500;
  min-width: 42px;
  text-align: center;
  box-shadow: none;
}
.bug-reports-page .bug-reports-pagination .page-link:hover,
.bug-reports-page .bug-reports-pagination .page-link:focus {
  background: #EBE4DA;
  border-color: #9F8C78;
  color: #2A3544;
  box-shadow: none;
}
.bug-reports-page .bug-reports-pagination .page-item.active .page-link {
  background: #9F8C78 !important;
  border-color: #9F8C78 !important;
  color: #fff !important;
}
.bug-reports-page .bug-reports-pagination .page-item.disabled .page-link {
  background: #F1E9D9;
  border-color: #DAD3C6;
  color: #8b8f97;
  opacity: 0.7;
}
#bugReportViewModal .bug-report-view-photo {
  max-width: 100%;
  max-height: 420px;
  border-radius: 12px;
  object-fit: cover;
}
#bugReportViewModal .bug-report-view-description {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #2A3544;
}
#bugReportViewModal .report-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b8f97;
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .bug-reports-page .bug-reports-table table.dataTable,
  .bug-reports-page .bug-reports-table table {
    border: 0;
  }
  .bug-reports-page .bug-reports-table thead {
    display: none;
  }
  .bug-reports-page .bug-reports-table table,
  .bug-reports-page .bug-reports-table tbody,
  .bug-reports-page .bug-reports-table tr,
  .bug-reports-page .bug-reports-table td {
    display: block;
    width: 100%;
  }
  .bug-reports-page .bug-reports-table tr {
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
  }
  .bug-reports-page .bug-reports-table td {
    padding: 8px 4px !important;
    border-bottom: none !important;
    text-align: left !important;
  }
  .bug-reports-page .bug-reports-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b8f97;
    margin-bottom: 4px;
  }
}