.btn-back{
    position: relative;
    left: 1rem;
    top: -1.5rem;
    text-decoration: none;
    font-size: 1.2rem;
}

.btn-back-img{
    width: 2rem;
    /* transition: all 0.5s linear;

    &:hover{
        background-color: tomato;
    } */
}

.login-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.login-btn{
    width: 50%;
}

.signup-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.signup-btn{
    width: 50%;
}
  
.form-field{
    width: 50%;
}
  /* Radio button customization */
.radio-custom {
    display: flex;
    justify-content: space-evenly;
}
.radio-custom label{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.radio-custom input[type="radio"] {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-bottom: 4px;
    vertical-align: middle;
    appearance: none;
    border: max(2px, 0.1em) solid gray;
    border-radius: 50%;
    width: 3em;
    height: 3em;
    transition: border 0.5s ease-in-out;
}
  
.radio-custom input[type="radio"]:checked {
    border: 0.8em solid tomato;
}

.radio-custom input[type="radio"]:focus-visible {
    outline: max(2px, 0.1em) dotted tomato;
    outline-offset: max(2px, 0.1em);
}
  
.radio-custom input[type="radio"]:hover {
    box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
    cursor: pointer;
}
  
.radio-custom input[type="radio"]:hover + span {
    cursor: pointer;
}
  
.radio-custom input[type="radio"]:disabled {
    background-color: lightgray;
    box-shadow: none;
    opacity: 0.7;
    cursor: not-allowed;
}
  
.radio-custom input[type="radio"]:disabled + span {
    opacity: 0.7;
    cursor: not-allowed;
}

.checkbox-custom{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
}
.checkbox-custom-option{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.checkbox-custom input[type="checkbox"] {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-bottom: 4px;
    vertical-align: middle;
    appearance: none;
    border: max(2px, 0.1em) solid gray;
    border-radius: 50%;
    width: 3em;
    height: 3em;
    transition: border 0.5s ease-in-out;
}

.checkbox-custom input[type="checkbox"]:checked{
    border: 0.8em solid tomato;
}

.checkbox-custom input[type="checkbox"]:focus-visible{
    outline: max(2px, 0.1em) dotted tomato;
    outline-offset: max(2px, 0.1em);
}
.checkbox-custom input[type="checkbox"]:hover{
    box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
    cursor: pointer;
}
.checkbox-custom input[type="checkbox"]:hover + span{
    cursor: pointer;
}
.checkbox-custom input[type="checkbox"]:disabled{
    background-color: lightgray;
    box-shadow: none;
    opacity: 0.7;
    cursor: not-allowed;
}
.checkbox-custom input[type="checkbox"]:disabled + span{
    opacity: 0.7;
    cursor: not-allowed;
}

.form-subjects{

}

.subjects-junior{

}

.junior-container{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
}

.senior-container{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.errorlist{
    padding: 0.3rem 1px;
    margin-bottom: -1rem;
}

.errorlist li{
    position: relative;
    color: rgb(255, 70, 70);
    list-style-type: none;
    left: 0;
}

.login-error{
    padding: 0.3rem 1px;
    margin-bottom: 0.5rem;
    position: relative;
    color: rgb(255, 70, 70);
    list-style-type: none;
    position: relative;
    left: 0;
    top: -1rem;
}

.signup-error{
    padding: 0.3rem 1px;
    margin-bottom: 0.5rem;
    position: relative;
    color: rgb(255, 70, 70);
    list-style-type: none;
    left: 0;
}




/* ================ DEPRICATED ================ */

/* 체크박스 커스텀 세트: 바버튼 모양 */
/* .junior-container input[type="checkbox"]{
    display: none;
} */

/* .junior-container input[type="checkbox"]+label{
    display: inline-block;
    width: 100%;
    padding: 1rem 0.75rem;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    position: relative;
} */

/* .junior-container input[id="id_integrated_science"]:checked + label::after{
    display: flex;
    justify-content: center;
    align-items: center;

    content:'통합과학';
    background-color: #3C46FE;
    color: #FFFFFF;
    font-size: 1rem;

    border: 1px solid #3C46FE;
    border-radius: 0.375rem;
    
    padding: 1rem 0.75rem;
    width: 100%;
    height: 100%;
    
    text-align: center;
    position: absolute;
    left: 0;
    top:0;
} */

/* .subjects-senior{
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
} */


/* 버튼 그룹 스타일 */
/* .btn-group .btn {
    border-radius: 0; 
    transition: background-color 0.3s ease;
} */
  
  
/* 클릭 애니메이션 */
/* .btn-check:checked + .btn {
    background-color: #007bff; 
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
} */