html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.body-container{
    margin: 0; 
    display: flex; 
    flex-direction: column; 
  }
  /** header **/
  
  .header-container{
    flex: 0 0 auto;
    height: 60px;
    width: 100%;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 4px 1%;
    background-color: #fff;
    border-bottom: 1px solid rgba(234, 234, 234, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .r-nav {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    justify-content: space-around;
    align-items: center;
  }
  
  /** user-tool **/
  .user-tool {
    justify-self: start;
  }
  
  .user-tool a {
    color: #337ab7;
    display: inline-block;
  }
  
  .user-tool img {
    height: 30px;
    vertical-align: middle;
  }
  
  .user-tool .fa-dropdown, .user-tool .user-name {
    vertical-align: bottom;
  }
  
  /** resources **/
  .resources {
    text-align: center;
    justify-self: center;
  }
  
  .one-resource {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 14px;
    float: right;
    height: 22px;
    position: relative;
  }
  
  .menu-icon {
    height: 22px;
    padding-left: 6px;
  }
  
  .life-num {
    color: var(--color-red-main);
  }
  .coin-num {
    color: var(--color-orange-main);
    vertical-align: middle;
  }
  
  .coin-num, .life-num {
    font-weight: 700;
    font-size: 16px;
  }
  /** header-logo **/
  .header-logo {
    text-align: left;
  }
  
  .header-logo a{
    display: inline-block;
    height: 35px;
  }
  
  .full-logo {
    display: inline-block;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
  }
  
  .mobile-logo {
    display: none;
    padding-right: 10px;
    vertical-align: middle;
    width: 100%;
    height: 100%;
  }
  
  .l-nav {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .header-menu {
    margin: 0 10px;
  }
  
  .header-menu a {
    display: inline-block;
    vertical-align: middle;
  }
  
  .header-menu img {
    height: 24px;
    vertical-align: middle;
    display: inline-block;
  }
  
  /** content **/
  .content-container {
    flex: 1 1 auto;
    display: flex; 
    flex-direction: column;
    padding: 64px 2% 0 2%;
    min-width: 340px;
    width: 100%;
  }
  
  /** fa **/
  .fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .fa-dropdown::before {
    content: "\f0d7";
    color: #000;
  }
  
  /** dropdown **/
  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 6px;
    margin: 0.1em 0 0 0;
    padding: 0.2em 0;
    text-align: right !important;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  }
  
  .dropdown li {
    padding: 0 0.6em;
  }
  
  .dropdown li a {
    color: #212529 !important;
  }
  
  .dropdown .divider {
    height: 1px;
    margin: 0.1em 0;
    overflow: hidden;
    background-color: #e5e5e5;
  }
  
/* === general === */

.l-divider {
    height: 1px;
    margin: 1em auto;
    overflow: hidden;
    background-color: #e5e5e5;
    width: 80%;
    max-width: 270px;
    border-radius: 40px;
    position: relative;
    top: 0.5em;
}

/* widgets */
.bg-modal{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content{
	max-width: 80%;
	height: 75%;
    width: 420px;
	background-color: #fff;
	border-radius: 4px;
	padding: 20px 15px 15px 15px;
	position: relative;
    top: 0;
    overflow: auto;
    z-index: 1001;
}
@media (max-width: 768px) {
    .modal-content{
        width: 80%;
        height: 80%;
    }
}
.modal-title{
    position: absolute;
    width: 100%;
    height: 40px;
    right: 0;
    top: 0;
    padding: 5px 30px;
    font-size: 1.2em;
    text-align: center;
    font-weight: 500;
}
.close{
	position: absolute;
	top: 2px;
	right: 5px;
	color: #000;
	cursor: pointer;
    z-index: 1001;
    font-size: 14px;
}
.close::after{
  content: "\2716";
}

.alert {
    position: relative;
    padding: .75rem 2rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem
}
.alert-info {
    color: #000;
    background-color: var(--color-blue-light);
    border-color: var(--color-blue-main);
    text-align: center;
}
.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb
}

.progress-bar{
    background-color: #f1f1f1!important;
    text-align: center;
    color: #000;
    border-radius: .1rem;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}
.progress{
    overflow: hidden;
    float: right;
    color: #fff!important;
}

.unRanked-left{
    width: 100%;
    flex-shrink: 100;
}

.pagement{
    margin: 3px auto 0 auto;
    text-align: center;
}

/** סטטוס ידע **/
.bg-know{
    background-color: #4CAF50;
}
.bg-fami{
    background-color: #FFBB00;
}
.bg-unknown{
    background-color: #F65314;
}
.bg-unranked{
    background-color: #9e9e9e;
}
.rank-status{
    display: inline-block;
    width: 0.4em;
    margin-left: 0.2em;
}
/** לומדת מילים **/
.words-settings{
    width: 30px;
    height: 30px;
    margin-right: 0.4em;
    cursor: pointer;
}
.words-list{
    border-radius: 0.2rem;
    background-color: #f1f1f1;
    width: 100%;
    padding: 0;
    overflow: auto;
    white-space: nowrap;
}
.words-list li{
    border-bottom: 0.1em #fff solid;
    line-height: 40px;
    font-size: 1.7em;
    position: relative;
    cursor: pointer;
}
.words-list li:last-child{
    border-bottom: 0;
}
@media (max-width: 768px) {
    .words-list li{
        display: inline-block;
        width: 45%;
        border-bottom: 0;
        border-left: 0.1em #fff solid;
        font-size: 1.2em;
        letter-spacing: -0.3px;
        padding: 0.1em 0 0.5em 0!important;
        text-align: center;
        white-space: pre-line;
    }
    .words-list li:last-child{
        border-left: 0;
    }
    .words-list li .rank-status{
        margin: 0!important;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        width: auto!important;
        height: 0.4em!important;
        overflow: hidden;
    }
}
#wordinfo{
    text-align: center;
}
.def-word{
    display: inline-block;
    margin-bottom: 1em;
    font-size: 22px;
    font-weight: 500;
}
.sen-word{
    font-size: 18px;
    font-weight: 500;
}

.sen-word span{
    font-size: 0.9em;
    font-weight: 400;
}
.jumbo{
    margin: 0 auto 0.5em auto;
    padding: 0.3em 0;
    width: 12.5em;
    max-width: 100%;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
    text-align: center;
    position: relative;
    border-radius: 0.12em;
}
.jumbo .status{
    position: absolute;
    top: 0;
    bottom: 0;
    cursor: pointer;
}
@media (max-width: 768px) {
    .jumbo{
        font-size: 30px;
    }
}
.audio{
    position: absolute;
    left: 4px;
    cursor: pointer;
}
.back, .next{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    cursor: pointer;
}
.en{
    direction: ltr;
}
/** דף הבית **/
.home-back{
    padding: 15px 15px 15px 20px;
    position: relative;
}
.vec-table{
    position: relative;
    bottom: -5px;
}

/**  לפאנל **/
.options{
    padding: 1%;
    max-width: var(--options-max-width);
    display: inline-block;
    float: none;
    vertical-align: top;
}
.option-box{
    width: 100%;
    border: 0.1em solid #eee;
    padding: 0.1em;
    cursor: pointer;
    text-align: center;
    line-height: 1.2em;
    display: table;
    position:  relative;
}
.option-box-text {
    padding: 0 0.1em;
    color: #222;
    float: none;
    min-height: 3.6em;
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}
.option-box-link{
    color: #222;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
.option-box-ic{
    border-left: 0.1em solid #eee;
    padding: 0 0.1em;
    display: table-cell;
    height: 3em;
    vertical-align: middle;
    color: #3c8dbc!important;
}
.option-box .fa{
    font-size: 3em;
    color: #3c8dbc!important;
}
@media (max-width: 768px) {
    .option-box-ic{
        border-left: 0;
        height: 2em;
    }
    .option-box .fa{
        font-size: 2em!important;
    }
    .option-box-text{
        float: right;
    }
}
/** טקסט **/
.text-sub{
    font-weight: 400;
    font-size: 70%;
}
.text-super-sub{
    color: #606770;
    font-size: 50%;
    font-weight: 400;
}
.text-sub-info{
    color: #606770;
    font-size: 16px;
    font-weight: 400;
}
/** פורום **/
.form-box{
    position: relative;
    width: 340px;
    max-width: 90%;
    min-width: 180px;
}
.form{
    border-radius: .25rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 8px 16px rgb(0 0 0 / 10%);
    padding: 20px 25px 40px 45px;
    background-color: #fff;
    width: 340px;
    max-width: 100%;
    min-width: 180px;

    text-align: center;
    z-index: 10;
    position: relative;
}
.form-box > .form{
    width: 100%;
}
form .input_box{
  height: 35px;
  width: 100%;
  position: relative;
  margin-top: 15px;
}
.input_box input{
  height: 100%;
  width: 100%;
  outline: none;
  border: 1px solid lightgrey;
  border-radius: 5px;
  padding-right: 45px;
  font-size: 17px;
  transition: all 0.3s ease;
}
.input_box input:focus{
  border-color: #be2edd;
}
.input_box .icon{
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: grey;
}
form .option_div{
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
}
.option_div .check_box{
  display: flex;
  align-items: center;
}
.option_div span{
  margin-left: 5px;
  font-size: 16px;
  color: #333;
}
.option_div .forget_div a{
  font-size: 16px;
  color: #be2edd;
}
.button input{
  padding-right: 0;
  background: #1877f2;
  color: #fff;
  border: none;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s linear;
}
.button input:hover{
  background: #365899;
}
.toggle-forms{
    border-radius: .25rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 8px 16px rgb(0 0 0 / 10%);
    background-color: #fff;
    width: 100%;
    position: absolute;
    height: 90%;
    top: 5%;
    left: -10%;
    margin-left: -5px;
    cursor: pointer;
    padding-right: 80%;
}
.toggle-forms:hover{
    background-color: #f1f1f1;
}
.an{
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    position: relative;
    right: -5px;
    top: 0;
    /*background: url('') no-repeat center;
    background-size: 100% auto;*/
    z-index: 20;
}
.radio {
    position: relative;
    background-color: #fff;
    height: 35px;
    position: relative;
    margin: 15px 2px 0 2px;
    width: auto;
    outline: none;
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 0;
    font-size: 17px;
    transition: all 0.3s ease;
}
.radio label{
    color: #1c1e21;
    display: inline-block;
    font-size: 15px;
    line-height: 35px;
    padding: 0 10px 0 28px;
    width: 100%;
}
.radio input{
    height: 35px;
    margin: 0;
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 12px;
}

.btns-container{
    width: 100%;
    padding: 5px 0;
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .btn {
        transition: none
    }
}

.btn:hover {
    color: #212529;
    text-decoration: none
}

.btn.focus,
.btn:focus {
    outline: 0;
    /*box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)*/
}

.btn.disabled,
.btn:disabled {
    opacity: .65
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer
}
.btn-know {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745
}

.btn-know:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34
}

.btn-know.focus,
.btn-know:focus {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
    box-shadow: 0 0 0 .2rem rgba(72, 180, 97, .5)
}

.btn-know.disabled,
.btn-know:disabled {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745
}

.btn-know:not(:disabled):not(.disabled).active,
.btn-know:not(:disabled):not(.disabled):active{
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430
}

.btn-know:not(:disabled):not(.disabled).active:focus,
.btn-know:not(:disabled):not(.disabled):active:focus{
    box-shadow: 0 0 0 .2rem rgba(72, 180, 97, .5)
}

.btn-fami {
    color: #fff;
    background-color: #ffc107;
    border-color: #ffc107
}

.btn-fami:hover {
    color: #fff;
    background-color: #e0a800;
    border-color: #d39e00
}

.btn-fami.focus,
.btn-fami:focus {
    color: #fff;
    background-color: #e0a800;
    border-color: #d39e00;
    box-shadow: 0 0 0 .2rem rgba(222, 170, 12, .5)
}

.btn-fami.disabled,
.btn-fami:disabled {
    color: #fff;
    background-color: #ffc107;
    border-color: #ffc107
}

.btn-fami:not(:disabled):not(.disabled).active,
.btn-fami:not(:disabled):not(.disabled):active{
    color: #fff;
    background-color: #d39e00;
    border-color: #c69500
}

.btn-fami:not(:disabled):not(.disabled).active:focus,
.btn-fami:not(:disabled):not(.disabled):active:focus{
    box-shadow: 0 0 0 .2rem rgba(222, 170, 12, .5)
}

.btn-unknown {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-unknown:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130
}

.btn-unknown.focus,
.btn-unknown:focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 .2rem rgba(225, 83, 97, .5)
}

.btn-unknown.disabled,
.btn-unknown:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-unknown:not(:disabled):not(.disabled).active,
.btn-unknown:not(:disabled):not(.disabled):active{
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.btn-unknown:not(:disabled):not(.disabled).active:focus,
.btn-unknown:not(:disabled):not(.disabled):active:focus{
    box-shadow: 0 0 0 .2rem rgba(225, 83, 97, .5)
}

/**fa**/
.fa-cubes::before {
    content: "\f1b3";
}
.en-input{
    direction: ltr;
}
.en-input::-webkit-input-placeholder {
    direction:rtl!important;
    text-align: right;
}

.en-input::-moz-placeholder {
    direction:rtl!important;
    text-align: right;
}

.en-input::-ms-placeholder {
    direction:rtl!important;
    text-align: right;
}

.en-input::placeholder {
    direction:rtl!important;
    text-align: right;
}

.card-main{
text-align: center;
min-width: 100px;
padding:  0 4%;
margin-bottom: 1em;
font-weight: 600;
font-size: 16px;
cursor: pointer;
}
.card-progress{
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #f1f1f1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0.1em 0.1em 0.2em rgb(0 0 0 / 20%);
}
.card-progress div{
  position: absolute;
}
.progress-ring{
    stroke: #4CAF50;
    stroke-dasharray: 276.46 276.46;
}
.card-progress .card-progress-complete{
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.card-icon{
  top: 7%;
  bottom: 7%;
  right: 7%;
  left: 7%;
  background-color: #fff;
  border-radius: 50%;
  padding: 6%;
}
.card-icon div{
    width: 100%;
    height: 100%;
    padding: 19%;
    background-color: #42A5F5;
    position: relative;
    border-radius: 50%;
    border: 1px solid #29f;
}
.card-icon svg, .card-icon svg path{
    fill: #fff!important;
}
.card-content{
    width: 104%;
    margin: 0.3em -2% 0 0;
    font-family: din-round,sans-serif;
    line-height: 1.2;
    color: #000;
}
@media (max-width: 768px) {
    .card-main{
        font-size: 16px;
    }
}

.modal-tip-pr{
    position: relative;
}
.modal-tip{
    z-index: 10;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-right: -13px;
    margin-left: -13px;
    padding: 0.2em;
    margin-top: 8px;
    max-width: 99vw;
    min-height: 50px;
    min-width: 120px;
    background-color: #29B6F6;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border: 1px solid #03A9F4;
}
.modal-tip-content{
    z-index: 2;
    width: 100%;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 0.5em;
}
.modal-tip-top{
    position: absolute;
    width: 20px;
    height: 16px;
    top: -15px;
    left: 50%;
    margin-left: -10px;
    overflow: hidden;
}
.modal-tip-top div{
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    left: 50%;
    margin-left: -10px;
    transform: rotate(45deg);
    background-color: #29B6F6;
    border: 1px solid #03A9F4;
}
.options .modal-tip{
    left: -30px;
    right: -30px;
}
.options.nth-4 .modal-tip, .options:first-of-type .modal-tip{
    right: 0;
    left: -60px;
}

.options.nth-4 .modal-tip .modal-tip-top, .options:first-of-type .modal-tip .modal-tip-top{
    margin-left: 20px;
}
.options.nth-3 .modal-tip{
    right: -60px;
    left: 0;
}
.options.nth-3 .modal-tip .modal-tip-top{
    margin-left: -40px;
}
@media (max-width: 768px) {
    .options.nth-2 .modal-tip{
        right: -60px;
        left: 0;
    }
    .options.nth-2 .modal-tip .modal-tip-top{
        margin-left: -40px;
    }
    .options.nth-3 .modal-tip{
        right: -60px;
        left: 0;
    }
    .options.nth-3 .modal-tip .modal-tip-top{
        margin-left: -40px;
    }
}
.unit-button{
    width: 44px;
    height: 44px;
    font-size: 22px;
    padding: 5px 5px 2px;
    line-height: 30px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    background-color: #fff;
    border-width: 2px 2px 4px;
    border-style: solid;
    border-color: #e9e9e9;
    color: #696969;
    margin-bottom: 0.3em;
}

.unit-button-submit{
    width: 100%;
    font-size: 16px;
    padding: 5px 5px 2px;
    line-height: 20px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    background-color: #fff;
    border-width: 2px 2px 4px;
    border-style: solid;
    border-color: #0d84bc;
    color: #1cb0f6;
}
.checkbox{
    position: relative;
}
.checkbox input{
  position: absolute;
  opacity: 0;
  filter: opacity(0%);
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox-view {
  position: absolute;
  top: 1px;
  right: 1px;
  height: 16px;
  width: 16px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}
.checkbox-view::after {
  content: "";
  position: absolute;
  display: none;
  right: 5px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.checkbox input:checked ~ .checkbox-view::after {
  display: block;
}
.checkbox input:checked ~ .checkbox-view{
    background-color: #5cb85c;
}
.unit-section{
    display: inline-block;
    width: 48px;
    margin: 0 0 3px 2px;
}
@media (max-width: 768px) {
    .unit-button{
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .unit-section{
        width: 46px;
        margin: 0 0 2px 3px;
    }
}
.unit-section .progress-bar{
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border: 1px solid #0d84bc;
    border-width: 1px 1px 2px;
    box-shadow: inset 6px 0 13px 3px rgb(255 255 255 / 20%);
}
.section-m{
    text-align: center;
    margin-left: 8px;
    display: inline-block;
    width: 80px;
}
.section-title input{
    margin-left: 2px;
    margin-right: 0;
}
.section-title{
    font-size: 14px;
    letter-spacing: -0.2px;
}
.rank-section{
    border-bottom: 6px #4CAF50 solid;
    background-color: #f1f1f1;
    margin: 0 auto;
    width: 74px;
    height: 74px;
}
@media (max-width: 768px) {
    .section-m{
        margin-left: 8px;
        width: 78px;
    }
    .section-title{
        letter-spacing: -0.3px;
    }
}
.checkbox-switch{
    width: 44px;
    height: 24px;
    border-radius: 13px;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    background-color: #ccc;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 4px;
}
.checkbox-switch::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-transition: .4s;
  transition: .4s;
}
.checkbox input:checked + .checkbox-switch{
    background-color: #2196F3;
}
.checkbox input:checked + .checkbox-switch::before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.panel {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.panel h3 {
  margin: 0 0 0.5rem 0;
  padding: 1rem;
  font-size: 1.1rem;
  background-color: #f5f7fa;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: inline-block;
}

/* תוכן פנימי אחרי הכותרת */
.panel > div {
  padding: 0.5rem 1rem;
}

.panel .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.show-icon {
    cursor: pointer;
    height: 1rem;
    width: 1rem;
    background: url(../pic/show-icon.svg) no-repeat center center;
    background-image: url("../pic/show-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    margin: 0 0.5rem;
}

.back-arrow {
    cursor: pointer;
    display: inline-block;
    height: 2rem;
    position: absolute;
    top: 2px;
    left: 2px;
}

.back-arrow a {
    display: block;
    width: 50px;
}

.back-arrow img{
    height: 100%;
    width: 100%;
}

h3.title{
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0.2em;
}


/*** TOAST && POPUP***/
.toast {
    position: fixed;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #323232;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
  }
  
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /** LIFE MODAL **/
  .modal-tip.has-life-content .modal-tip-content {
    padding: 1px;
  }
  .life-modal-content {
    color: #000;
    font-size: 14px;
  }
  .life-modal-content h2 {
    font-size: 1.2em;
    margin: 1px 0 3px 0;
    line-height: 1em;
  }
  .modal-tip.has-life-content, .modal-tip.has-life-content .modal-tip-top div {
    border-color: var(--color-blue-light);
  }
  .card-progress-complete.legendary-progress .progress-ring{
    stroke: #ffd700;
  }

  .toggle-link{
    cursor: pointer;
    color: var(--color-blue-dark);
    font-size: 14px;
    text-decoration: underline;
    text-align: center;
    display: inline-block;
  }

/** icons **/
.coins-icon {
    width: 21px;
    height: 21px;
    background-image: url(/static/pic/user-resources/coin-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: middle;
}

/* קלאס שיגרום לאלמנט להיות "בטעינה" */
.content-loading {
    /* הופך את האלמנט לשקוף לחלוטין */
    opacity: 0;
    
    /* מונע אינטראקציה עם האלמנט השקוף (לחיצות, גרירה) */
    pointer-events: none;
  
    /* בונוס: מוסיף אנימציית "פייד-אין" נעימה כשהאלמנט מופיע */
    transition: opacity 0.4s ease-in-out;
}

.info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #007bff; /* כחול אינפורמטיבי */
    color: white;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: default;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}
  
.info-icon:hover {
    background-color: #0056b3;
}


/* === TOOLTIP === */
/* Tooltip styles */
.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    max-width: 250px; /* Limit tooltip width */
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Tooltip arrow base styles */
.tooltip::before {
    content: '';
    position: absolute;
    border-width: 8px;
    border-style: solid;
    /* Use CSS variable for horizontal offset, default to 0 for center */
    left: calc(50% + var(--tooltip-arrow-x-offset, 0px));
    transform: translateX(-50%); /* Keeps arrow centered relative to its left position */
}

/* Arrow for TOP position (tooltip is above, arrow points down from its bottom) */
.tooltip.top::before {
    bottom: -16px; /* 8px border + 8px space */
    border-color: #333 transparent transparent transparent; /* Arrow points down */
}

/* Arrow for BOTTOM position (tooltip is below, arrow points up from its top) */
.tooltip.bottom::before {
    top: -16px; /* 8px border + 8px space */
    border-color: transparent transparent #333 transparent; /* Arrow points up */
}

/* === main page === */
.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 0;
  }
  .main-menu {
    height: 40px;
    padding: 0 10px;
  }
  .main-menu img {
    height: 40px;
  }