.mscb_settings_page{
  flex-direction: column;
  height: 100%; /* щоб контейнер займав усю висоту свого батька */
  overflow: hidden;
  padding-top: 11.16%;
  width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: none;
}

.mscbstp_header {
  position: absolute;
  transform: translateY(-1px);
  width: 100%; /* фіксована висота — тільки свій контент */
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
}
.mscbstp_header > h2 {
  margin: 0 !important;
  font-size: 1.5rem;
  font-family: "RubikRegular";
  color: #D9D9D9;
}


.mscbstp_body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: calc(9.3333% + 1.5rem) 5.3% 9.3333% 5.3%;
  position: relative;
}

.mscbstp_user {
  width: 100%;
  border-radius: 1rem;
    background: linear-gradient(90deg,rgba(87, 87, 87, 0.164) 0%, rgba(17, 17, 17, 0.164) 100%);
    /* background: rgba(87, 87, 87, 0.164); */
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.055);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.466),
        0 0 20px rgba(255, 255, 255, 0.027);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "RubikRegular";
  position: relative;
}

.mscbstp_user::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11.64%;
    height: 100%;
    background-color: #3939394f;
    z-index: 90;
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.mscbstp_user_icon {
    font-size: 2rem;
    color: #d9d9d9;
    padding: 3.88% 0 3.88% 3.88%;
}


/* ---------- Опції ---------- */
.mscbstp_options{
  margin-top: 10vh;
  padding: 1rem;
  border-radius: 1rem;
    background: linear-gradient(90deg,rgba(87, 87, 87, 0.164) 0%, rgba(17, 17, 17, 0.164) 100%);
    /* background: rgba(87, 87, 87, 0.164); */
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.055);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.466),
        0 0 20px rgba(255, 255, 255, 0.027);
}

.mscbstp_option[data-settings="theme"]{
  display: none;
}
.mscbstp_switch {
  width: 1.5rem;
  aspect-ratio: 1 / 1;
  border-radius: .4rem;
  cursor: pointer;
  justify-self: end;
}
.mscbstp_switch[data-settings-id="dark"] {
  border: 1px solid #c4c4c4;
  background: #222222;
}

.mscbstp_switch[data-settings-id="light"] {
  border: 1px solid #222222;
  background: #c4c4c4;
}

.msc_brief.started{
  color: #2e7227;
}
.msc_brief.ended{
  color: #A22D2D;
}

.bstp_header{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bstp_header_icon{
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    padding: 1.1rem;
    border-radius: 50%;
    font-size: 10vw;
    color: #a0a0a0b6;
    background: rgba(70, 70, 70, 0.103);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.103);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.45), 0 0 20px rgba(255, 255, 255, 0.123);
}
.bstp_header_name{ margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; }
.bstp_header_name h2, .bstp_header_name h3{ margin: 0; line-height: 0.8; }
.bstp_header_name h2{
    color: #c4c4c4;
    font-family: "RubikRegular";
    font-weight: 400;
    font-size: 1.2rem;
    position: relative;
}
.bstp_header_name h2 > i{
    position: absolute;
    top: 50%;
    right: -7vw;
    transform: translateY(-50%);
    font-size: 1.2rem;
    margin-left: .5rem;
}
.bstp_header_name h3{ 
    margin-top: 1rem;
    font-family: "RubikLight";
    color: #a0a0a0b6;
    font-size: .85rem; 
}
.bstp_header_status{
    display: flex; align-items: center; column-gap: 1rem; padding: .5rem 1rem;
    background: linear-gradient(90deg,rgba(87, 87, 87, 0.137) 0%, rgba(7, 7, 7, 0.404) 100%);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.103);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.466),
        0 0 20px rgba(255, 255, 255, 0.027);
    border-radius: 3rem;
    margin-top: 1.5rem;
}
.bstp_header_status > h2{
    margin: 0; line-height: 1;
    font-size: .875rem;
    font-family: "RubikLight";
    font-weight: 400;
    color: #a0a0a0;
}
.bstp_header_status > i{
    font-size: .55rem;
    color: rgba(119, 228, 98, 0.288);
}

.bstp_body_checkers{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-top: 2rem;
}
.bstp_body_checkers.orders{
  margin-top: 1rem;
}
.bstp_body_checkers.all{
  margin-bottom: calc(5.2rem + 0vh);
  margin-top: 2rem;
}

.bstp_body_checkers.orders .bstp_bc_unit{
    width: 100%;
    display: grid;
    grid-template-columns: .9fr 8fr 2fr;
}

.bstp_bc_unit{
    width: 100%;
    display: grid;
    grid-template-columns: .9fr 8fr 2fr;
}
.bstp_bc_unit.red > i{
  color: #8f3131;
}
.bstp_bc_unit.red > h3{
  color: #b46565;
}
.bstp_bc_unit:not(:first-child){
    margin-top: .75rem;
}
.bstp_bc_unit:not(:last-child){
    margin-bottom: .75rem;
}
.bstp_bc_unit > h3{
    margin: 0;
    width: 100%;
    font-family: "RubikRegular";
    font-weight: 400;
    font-size: 1rem;
    color: #c4c4c4;
    padding-left: 1rem;
}

.bstp_bc_unit > .bstp_bcu_title{
    width: 100%;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: .3rem;
}

.bstp_bc_unit > .bstp_bcu_title > h3{
    margin: 0;
    width: 100%;
    font-family: "RubikRegular";
    font-weight: 400;
    font-size: 1rem;
    color: #c4c4c4;
}

.bstp_bc_unit > .bstp_bcu_title > h5{
    margin: 0;
    width: 100%;
    font-family: "RubikLight";
    font-weight: 400;
    font-size: .75rem;
    color: #757575;
    line-height: 1 !important;
}

.bstp_bc_unit > i{
    font-size: 1.2rem;
    color: #a0a0a0b6;
    transform: translateY(0px);
    display: flex; justify-content: center;
}
.bstp_bc_unit > i:last-child{
    justify-self: end;
}

.bstp_bc_unit > p{
  justify-self: end;
  margin: 0;
  color: #a0a0a0b6;
  font-family: "RubikLight";
  font-size: .9rem;
}

.bstp_bc_lim{
    height: 1px;
    width: 80%;
    background-color: #a0a0a021;
}
.bstp_bc_unit .switch {
    justify-self: end;
}

.switch {
 --secondary-container: #323631;
 --primary: #548854;
 font-size: 17px;
 position: relative;
 display: inline-block;
 width: 3rem;
 height: 1.5rem;
}

.switch input {
 display: none;
 opacity: 0;
 width: 0;
 height: 0;
}

.slider {
 position: absolute;
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: #313033;
 transition: .2s;
 border-radius: 30px;
}

.slider:before {
 position: absolute;
 content: "";
 height: 1.15rem;
 width: 1.15rem;
 border-radius: 20px;
 left: 0.2rem;
 bottom: 0.2rem;
 background-color: #aeaaae;
 transition: .4s;
}

input:checked + .slider::before {
 background-color: var(--primary);
}

input:checked + .slider {
 background-color: var(--secondary-container);
}

input:focus + .slider {
 box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
 transform: translateX(1.45rem);
}

.bstp_body_h{
  margin: 0;
  margin-top: 2rem;
  color: #757575;
  font-family: "RubikRegular";
  font-weight: 400;
  font-size: 1rem;
  display: flex; align-items: center;
  padding-left: .5rem;
}

.bstp_body_h.all{
  margin: 0;
  margin-top: 1rem;
  color: #757575;
  font-family: "RubikRegular";
  font-weight: 400;
  font-size: 1rem;
  display: flex; align-items: center;
  padding-left: .5rem;
}