@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

@layer ;

html, body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    display: block;
    background-color: #fff;
    font-family: "Noto Sans TC", sans-serif;
}

#app {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.alert-bar {
    position: relative;
    z-index: 128;
}

.alert-bar__announcement {
    order: 2;
}

.alert-bar__whatsapp {
    order: 3;
}

@media only screen and (max-width: 640px) {
    .alert-bar__announcement {
        order: 3;
    }

    .alert-bar__whatsapp {
        order: 2;
    }
}

.nav {
    margin: 0;
    background-color: #fff;
    /*box-shadow: 0 0 3px 3px #ccc;*/

    position: relative;
    z-index: 256;
}

.nav a {
    color: #777;
    text-decoration: none;
}

.nav-upper {

}

.nav-upper__login {
    display: flex;
    justify-content: end;
}

.nav-upper__login .btn {
    font-size: .8em;
    cursor: pointer;
}

.nav-lower {
    display: flex;
    align-items: stretch;
}

.nav-lower__logo {
    flex-grow: 0;
    display: flex;
    align-items: center;
}

.nav-lower__menu {
    flex-grow: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav img {
    height: 80px;
}

.nav-lower__title {
    font-size: 24px;
}

.nav-lower__subtitle {
    font-size: 20px;
}

.nav-lower {
    background-color: #fff;
    color: #fff;
}

.nav-lower__btn {
    display: none;
}

@media only screen and (max-width: 768px) {
    .nav-lower__btn {
        display: flex;
    }

    .nav-lower__menu {
        display: none;
    }

    .nav-upper__login {
        display: none;
    }
}

.nav-mobile {
    position: fixed;
    top: 0;
    transition: left .2s;
    left: 100%;
    background-color: #fff;
    width: 100dvw;
    height: 100vh;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 15%;
    grid-template-rows: auto 1fr auto;
    gap: 30px;

    z-index: 1024;
}

.nav-mobile--active {
    left: 0;
}

.nav-mobile__logo {
    height: 80px;
}

.nav-mobile__login {
}

.login {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 10240;
}

.login h2 {
    text-align: center;
}

.login input:not([type="radio"]) {
    border: 0;
    background: #eee;
    border-radius: 3px;
}

.login-password {
    /*position: absolute;*/
}

/* HEADING STYLE*/
.heading {
    margin-bottom: 30px;
    display: flex;
    align-items: end;
    gap: 10px;
    pointer-events: none;
}

.heading::after {
    content: '';
    display: block;
    height: 0;
    flex-grow: 1;
    border-bottom: 5px solid oklch(37.2% 0.044 257.287);;
}

/* BANNER STYLE */
.banner {

}

@media only screen and (max-width: 1024px) {
    .banner-img {
        order: -1;
    }
}


/* STUDENT LISTING STYLE*/
.student-listing {
    display: grid;
    gap: 20px;
}

.student-listing__child--reference {
    height: 0;
}

.student {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: repeat(10, auto) 1fr;
    position: relative;

    height: 100%;
}

.student-subject {
    position: absolute;
    top: 5px;
    right: 5px;

    width: 85px;
    height: 85px;
    display: inline-grid;
    place-items: center;

    border-radius: 50%;
    padding: 5px;
}

.student-subject--all {}
.student-subject--compulsary {}
.student-subject--elective {}

.student-gender {
    position: absolute;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    right: 15px;
    top: 75px;
}

.student-gender--girl {
    background-color: oklch(71.2% 0.194 13.428);
}

.student-gender--boy {
    background-color: oklch(68.5% 0.169 237.323);
}

.student-title {
    font-weight: bold;
    flex: 0 0 100px;
}

.student-info {

}

.student-detail, .student-actions {
    grid-column: span 2;
}

.student-actions {
    align-self: flex-end;
}

/* TUTOR LISTING */
.tutor-listing {

}

.tutor {
    height: 100%;
    grid-template-rows: repeat(7, auto) 1fr;
}

.tutor--male{
    background: oklch(95.6% 0.045 203.388);
}

.tutor--female{
    background: oklch(94.8% 0.028 342.258)
}

.tutor--male i {
    color: oklch(52% 0.105 223.128);
}

.tutor--female i {
    color: oklch(51.4% 0.222 16.935);
}

.tutor--male .tutor-row--actions a {
    background: oklch(52% 0.105 223.128);
}

.tutor--female .tutor-row--actions a {
    background: oklch(51.4% 0.222 16.935);
}

.tutor-row {
    display: flex;
}

.tutor-row--actions {
}

.tutor-row__icon {
    margin-right: 10px;
}


.tutor-row__info {
    flex-grow: 1;
}

/* PAGINATION STYLE */
.pagination {
    display: flex;
    gap: 10px;
}

.pagination__btn {
    display: grid;
    place-items: center;

    font-size: 14px;
    width: 38px;
    height: 38px;

    border-radius: 0.25rem;
    border: 1px solid var(--color-slate-300);
    transition: 0.3s;
}

.pagination__btn--active {
    background: oklch(37.2% 0.044 257.287);
    color: white;
}

.pagination__btn:hover {
    background: var(--color-slate-100);
}

.pagination__btn--dots {
    border: 0;
}

.pagination__btn--dots:hover {
    background: inherit;
}

/* QUICK REGISTER STYLE */
.quick-register {

}

.quick-register-form {

}

.quick-register-form input:not([role="combobox"]) {
    background: white;
    padding: 10px;
    transition: .3s;
    outline: 0;
    border-bottom: 1px solid oklch(37.2% 0.044 257.287);
}

.quick-register-form select {
    background: white;
    padding: 10px;
    outline: 0;
    border-bottom: 1px solid oklch(37.2% 0.044 257.287);
}

.quick-register-form textarea {
    resize: none;
    background: white;
    padding: 10px;
    transition: .3s;
    outline: 0;
    border-bottom: 1px solid oklch(37.2% 0.044 257.287);
}

.quick-register-form .v-field__input {
    padding: 10px 0 10px 10px;
}

/* CONTACT US */
.contact {

}

.contact input, .contact textarea {
    resize: none;
    width: 100%;
    min-height: 45px;
    padding: 10px;
    outline: 0;
    background: white;
    border-bottom: 1px solid oklch(37.2% 0.044 257.287);
}

/* TABLE STYLE*/
.fee-table {
    overflow-x: auto;
    max-width: 100vw;
}

.fee-table th {
    background: oklch(37.2% 0.044 257.287);
    color: white;
}

.fee-table td, .fee-table th {
    min-width: 80px;
    padding: 10px 5px;
}

.fee-table td:nth-child(even) {
    background-color: oklch(86.9% 0.022 252.894);
}

.fee-table td:nth-child(odd) {
    background-color: oklch(92.9% 0.013 255.508);
}

.fee-table tr:nth-child(even) {
    filter: brightness(95%);
}

.fee-table tr:nth-child(odd) {
}

.fee-table td:first-child {
    background: oklch(37.2% 0.044 257.287);
    text-align: center;
    font-weight: bold;
    color: white;
}

.fee-table--cancel tr:nth-child(even) td:nth-child(even){
    background-color: oklch(92.9% 0.013 255.508);
    color: initial;
    font-weight: normal;
}

.fee-table--cancel tr:nth-child(even) td:nth-child(odd){
    background-color: oklch(86.9% 0.022 252.894);
    color: initial;
    font-weight: normal;
}

/* FOOTER STYLE */
.footer {

}

.footer-upper i {
    margin-right: 10px;
}

.footer-upper span {
    padding-left: 10px;
    border-left: 1px solid currentColor;

}

.footer-contact a{
    width: 50px;
    height: 50px;
    background: #25d366;
    color: #fff;
    font-size: 35px;
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 0 3px 3px #ccc;
    z-index: 512;
}

.tns-outer {
    max-width: 100vw;
}
