﻿body {
    height: 100vh;
    margin: 0;
    background-image: url("Images/swimming_background.jpg");
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* =============================== Main.js ===============================================*/
header {
    background: rgb(34,77,136);
    background: linear-gradient(90deg, rgba(34,77,136,1) 0%, rgba(96,123,156,1) 15%, rgba(86,123,158,1) 35%, rgba(45,123,175,1) 71%, rgba(78,148,190,1) 82%);
    padding: 10px;
    display: flex;
    align-items: center; 
}

.header-row {
    flex: 3;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    margin: 0 20px;
    height: 50px;
    width: 50px;
}

.title {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

/* navigation-list */
.topnav {
    display: flex;
    justify-content: end;
    flex: 2;
    margin-right: 10px;
}

    .topnav a {
        color: white;
        text-align: center;
        padding: 10px 10px;
        font-size: 20px;
        font-weight: 600;
        cursor: pointer;
    }

        .topnav a:hover {
            color: #ccc;
        }

/* main-page */
.page-content {
    flex-grow: 1;
    display:flex;
    flex-direction: column;
    overflow-y: scroll;
}

.page-main-content {
    flex-grow: 1;
    padding: 50px 20% 20px 20%;
}

@media (max-width: 750px) {
    .page-main-content {
        flex-grow: 1;
        padding: 50px 5% 20px 5%;
    }
}

/* footer */
.main-footer {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
    display: flex;
    align-items: center;
    background-color: #EDEDED;
    justify-content: space-around;
}

/* left column */
.footer-info {  
    cursor: pointer;
}

.footer-info-logo {
    width: 100px;
    height: 100px;
}

/* middle column */
.navigation-list {
    flex: 4;
    margin: 0 10px;
    display: flex;
    flex-wrap: wrap; /*wrap to next column or row*/
    justify-content: space-around;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
}

.navigation-item:hover {
    color: #3b5998;
}

/* right column */
.footer-application {
    flex: 3;
    margin-right: 20px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

    .footer-application img {
        cursor: pointer;
    }

.footer-contact-title {
    margin-bottom: 4px;
    text-decoration: none;
    color: black;
}


.contact-button-list {
    display: flex;
    margin-bottom: 4px;
}

.footer-contact-phone {
    margin-bottom: 4px;
    font-weight: 600;
    color: black;
    text-decoration: none; /* remove underline of a*/
}

    .footer-contact-phone:hover {
        color: #3b5998;
    }

.icon {
    cursor: pointer;
    margin-right: 20px;
    width: 30px;
    height: 30px;
}

/*#xxx : use id to define css*/

.footer-application-button { 
    border-radius: 10px;
    width: 200px;
}

/* Styles for computer devices */
@media (max-width: 750px) {
    .logo img {
        margin: 0 10px;
        height: 30px;
        width: 30px;
    }

    .title {
        font-size: 8px;
    }

    .topnav a {
        padding: 4px;
        font-size: 8px;
    }

    .footer-info-logo {
        width: 50px;
        height: 50px;
    }

    .main-footer {
        font-size: 8px;
    }

    .navigation-list {
        font-size: 8px;
    }

    .icon {
        margin-right: 10px;
        width: 16px;
        height: 16px;
    }

    .footer-application-button {
        width: 100px;
    }
}


/* =============================== Home.js ===============================================*/
.home-image {
    width: 100%;
    margin-bottom: 50px;
}

.home-description-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 20px 0;
}

.home-description-card-title {
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    padding: 10px 0;
    background-color: lightblue;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
    font-size: 24px;
}

.home-description-row {
    max-height: 180px;
    width: auto; /* include padding */
    padding: 20px 20px;
    display: flex;
}

.home-description-image {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-description-image img {
    min-width: 100px;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
}

.home-description-content {
    flex: 3;
    margin-left: 20px;
    overflow-y: scroll;
}

    .home-description-content::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

/* Styles for computer devices */
@media (max-width: 750px) {

    .home-image {
        margin-bottom: 20px;
    }

    .home-description-row {
        max-height: 70px;
    }

    .home-description-card-title {
        padding: 4px 0;
        font-size: 12px;
        margin: 10px 0;
    }

    .home-description-image img {
        min-width: 50px;
        width: 100%;
        max-width: 100px;
    }

    .home-description-content {
        font-size: 8px;
    }
}
/* =============================== About.js ===============================================*/
.about-image {
    width: 100%;
    margin-bottom: 50px;
}

.about-card {
    background-color: white;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding-top: 40px;
}

.about-card-header {
    font-weight: 600;
    text-align: center;
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    font-size: 24px;
    background-color: lightblue;
    padding: 10px 0;
}

.about-card-content {
    display: flex;
    flex-direction: column;
    padding: 20px 10%;
}

.about-content { /* card item content*/
    max-height: 100px;
    padding: 20px 0;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}


.about-image-container {
    display: flex;
    flex: 2;
}

    .about-image-container.left {
        margin-right: 20px;
    }

    .about-image-container.right {
        margin-left: 20px;
        justify-content: end;
    }

.about-left-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.about-right-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
}

.about-content-text {
    flex: 3;
    max-height: 100%;
    overflow-y: scroll;
}

    .about-content-text::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

/* school-list */
.school-list {
    margin-top: 20px;
}

.school-row {
    display: flex;
    justify-content: space-around;
}

.school-image-container {
    padding: 10px;
}

.school-image {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 750px) {
    .about-image {
        margin-bottom: 20px;
    }

    .about-card {
        padding-top: 20px;
    }

    .about-card-header {
        font-size: 12px;
    }

    .about-card-content {
        padding: 10px 10%;
    }

    .about-content {
        padding: 10px 0;
        max-height: 70px;
    }
    .about-content-text {
        font-size: 8px;
    }
}
/* =============================== Coach.js ===============================================*/
.coach-image {
    width: 100%;
    margin-bottom: 50px;
}


/*header*/
.coach-introduction {

}

.coach-introduction-title {
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 24px;
}

.coach-introduction-content {
    font-size: 16px;
    margin-bottom: 20px;
}

/*dropdown Info*/
.dropdown {
    margin: 20px 0;
    width: 75%;
}

.dropdown-select {
    position: relative;
    border: 1px solid #ccc;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    background-color: white;
}

.dropdown-down-icon {
    position: absolute;
    right: 20px;
}

.dropdown-options {
    display: none;
}

.dropdown-option {
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
    cursor: pointer;
}

    .dropdown-option:hover {
        background-color: lightblue;
    }

.dropdown-result {
    margin-top: 10px;
    display: none;
}

.dropdown-address {
    font-size: 20px;
    cursor: pointer;
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

    .dropdown-address:hover {
        color: #3b5998;
    }

/*course info*/
.course-card-list {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.course-card-slider {
    width: 100%;
    transition: transform 0.3s ease;
    display: flex;
}

.course-card {
    width: 100%; 
    box-sizing: border-box; /* width will include the padding*/
    padding: 20px;
    flex-shrink: 0;
    background-color: white;
    display: flex;
    align-items: stretch; /*child elements share same height of container*/
    flex-direction: row;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

    .course-card::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

.course-card-header {
    flex : 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-image {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1/1; /* 1/2 height is half of the width*/
}

.course-card h3 {
    margin-top: 10px;
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

.course-card-content {
    margin-left: 20px;
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*grid-template-columns: 1fr 1fr;*/
}
/*course-content in each row*/
.course-card-item {
    flex:1;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.course-card-item-icon-container {
    flex: 1;
    margin-right: 20px;
}

.course-card-item-icon {
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
}


.course-card-item-content {
    flex: 4;
    font-size: 16px;
}


.course-card button {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-weight: 600;
    background-color: cornflowerblue;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .course-card button:hover {
        background-color: #3b5998;
    }


/*Coach-Card-Contact*/
.coach-card-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.coach-card {
    width: 40%;
    height: auto;
    background-color: white;
    display: flex;
    margin: 4% 2% 0 0; /*top right bottom keft*/
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: center;
}

    .coach-card::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

.coach-card-img {
    width: 20%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
}

.coach-card-content {
    width: 80%;
    align-self: auto;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
}

    .coach-card-content::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

/*coach-card-content in each row*/
.coach-card-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.coach-card-item-icon {
    width: 24px;
    height: 24px;
}

.coach-card-item-tel {
    text-decoration: none;
    color: black;
}

    .coach-card-item-tel:hover {
        color: #3b5998;
    }

.coach-card-item-content {
    margin-left: 20px;
}

@media (max-width: 750px) {

    .coach-image {
        margin-bottom: 20px;
    }

    .coach-introduction-title {
        font-size: 12px;
    }

    .coach-introduction-content {
        font-size: 8px;
    }

    .dropdown-select {
        font-size: 8px;
    }

    .dropdown-option {
        font-size: 8px;
    }

    .dropdown-down-icon {
        width: 14px;
        height: 14px;
    }

    .dropdown-address {
        font-size: 8px;
    }

    .course-card h3 {
        font-size: 12px;
    }

    .course-card-item {
        margin: 10px 0;
    }

    .course-card-item-icon {
        width: 14px;
        height: 14px;
    }

    .course-card-item-content {
        font-size: 8px;
    }

    .course-card button {
        padding: 4px 0;
        font-size: 8px;
    }

    .coach-card {
        font-size: 8px;
        width: 100%;
    }

    .coach-card-item-icon {
        width: 14px;
        height: 14px;
    }

    .coach-card-item-content {
        margin-left: 10px;
    }
}
/* =============================== News.js ===============================================*/
.news-image {
    width: 100%;
    margin-bottom: 50px;
}

.news-list-header {
    margin: 20px 0;
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    font-size: 24px;
    font-weight: 600;
}

/* news-list */
.News-list-view {
    list-style: none; /* remove default list style etc bullet*/
    padding: 0;
}

.News-list-item {
    background-color: #eaf2f5;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .News-list-item:hover {
        background-color: #d4e7ed;
    }

.News-list-item-text {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: bold;
}

    .News-list-item-text .title {
        color: #2c3e50;
    }

    .News-list-item-text .date {

        color: #34495e;
    }

/* page-list */
.page-number {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.page {
    margin: 0 5px;
    text-decoration: underline;
    color: cornflowerblue;
    cursor: pointer;
}

    .page.active {
        color: #3b5998;
    }

@media (max-width: 750px) {

    .news-image {
        margin-bottom: 20px;
    }
    .news-list-header {
        font-size: 12px;
    }

    .News-list-item-text {
        font-size: 8px;
    }

    .page {
        font-size: 8px;
    }
}
/* =============================== Login.js ===============================================*/
.DialogPage {
    width: 100%;
    height: 100%;
    position: relative;
}


.memberShipButtonContainer {
    position: absolute;
    top: 50%;
    left: 50%;
}

.memberShipButton {
    background: linear-gradient(to bottom, #006d9c, #003a4d); /* Sea gradient */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .memberShipButton:hover {
        background: linear-gradient(to bottom, #0096cc, #006d9c); /* Hover gradient */
    }

.memberDialogBox {
    display: none;
    position: fixed; /*positioned based on the viewport*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.dialog-box {
    overflow-x: hidden;
    margin: 0 20px;
    background-color: #EEF7F6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 100%;
}

    .dialog-box h2 {
        margin-bottom: 20px;
    }

 /*bar for choosing to login or register */
.dialog-mode-bar {
    width: 100%;
    height: 50px;
    display: flex;
    margin-bottom: 20px;
}

.register {
    flex: 1;
    background-color: #EEF7F6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login {
    flex: 1;
    background-color: #F8F9F9;
    display: flex;
    justify-content: center;
    align-items: center;
}


.dialog-form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px 20px 20px; /* top right bottom left */
}

    .dialog-form input {
        box-sizing: border-box; /* count the padding or margin as parent width */
        width: 100%;
        padding: 10px;
        border: 1px solid black;
        margin-bottom: 20px;
    }

    .dialog-form button {
        position: center;
        width: 80%;
        padding: 10px 20px;
        background-color: cornflowerblue;
        color: #fff;
        border: none;
        cursor: pointer;
    }

        .dialog-form button:hover {
            background-color: #3b5998;
        }

.dialog-form-err-message {
    display: block;
    font-size: 14px;
    color: red;
    margin: 10px 0;
}



.playerStatContainer {
    flex-direction: column;
}

#playerStatHeader {
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
}

.playerStatTable {
    width: 100%;
    overflow-x: auto;
    background-color: white;
}

table {
    border-collapse: collapse; /* render like a row instead of cell by cell */
}

th {
    padding: 5px;
    border: 1px solid black;
    text-align: center;
    font-size: 12px;
}

td {
    padding: 5px;
    border: 1px solid black;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 750px) {
    .memberShipButton {
        font-size: 8px;
    }

    .dialog-mode-bar {
        font-size: 12px;
    }

    .dialog-form input {
        padding: 4px;
    }

    .dialog-form button {
        font-size: 8px;
    }

    .dialog-form-err-message {
        font-size: 8px;
    }

    #playerStatHeader {
        font-size: 12px;
    }

    th {
        font-size: 8px;
    }

    td {
        font-size: 8px;
    }
}


/* =============================== NewsInfo.js ===============================================*/
.news-info-image {
    width: 100%;
    margin-bottom: 50px;
}

.news-info {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.news-info-header {
    font-family: "AR PL UKai CN﻿", "regular script", "kaiti", "kaishu", "zhengshu", "zhengkai", cursive;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}


.news-info-line {
    font-size: 16px;
    margin-bottom: 20px;
}

@media (max-width: 750px) {
    .news-info-image {
        margin-bottom: 20px;
    }

    .news-info-header {
        font-size: 12px;
    }

    .news-info-line {
        font-size: 8px;
    }
}
/* =============================== Application.js ===============================================*/

.application-image {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
}

/* application */
.class-application {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    pointer-events: auto;
}

.application-form {
    padding: 20px;
    background-color: white;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 16px;
}

.application-form-item input, .application-form-item select, .application-form-item date { /* input[type="text"]  */
    margin: 5px 0px; /* vertical horizontal */
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background-color: white;
    transition: border-color 0.3s ease-in-out;
}

    .application-form-item input:focus {
        border-color: #3b5998;
    }

/*
.application-form-item button {
    width: 100%;
    margin-top: 20px;
    background-color: cornflowerblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .application-form-item button:hover {
        background-color: #3b5998;
    }
*/

.application-form-paypalBtn {
    overflow-y: hidden;
    max-height: 35px;
    margin-top: 20px;
}

/* course-card slider */
.course {
    position: relative;
    margin-left: 20px;
    width: 40%;
    height: auto;
    display: flex;
    flex-direction: column;
}


.course-container {
    flex: 10;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /*hide the flip card*/
}

.left-button {
    cursor: pointer;
    position: absolute; /* parent element has to be absolute and child element to be relative */
    top: 50%; /* affect document flow */
    left: 0;
    opacity: 0.5;
    border-radius: 50%;
    border: 0;
    /* transform: translateY(-50%);   transform is to move the element after render (X affect document flow)*/
}

    .left-button img {
        width: 24px;
        height: 24px;
    }

.right-button {
    cursor: pointer;
    position: absolute;
    top: 50%; /* affect document flow */
    right: 0;
    opacity: 0.5;
    border-radius: 50%;
    border: 0;
    /* transform: translateY(-50%);   transform is to move the element after render (X affect document flow)*/
}

    .right-button img {
        width: 24px;
        height: 24px;
    }

.slider {
    display: flex;
    width: auto;
    height: 100%;
    transition: transform 0.3s ease; /* Add smooth transition */
}

.course-flip-card {
    width: 100%;
    height: 100%;
    flex-shrink: 0; /*add multiple flip_card into the slider and they will not shrink to fit into the slider*/
    perspective: 500px; /* elements will appear at a distance of x pixels from the viewer's perspective */
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .course-flip-card.translate {
        transition: transform 0.3s;
    }

.course-flip-card-inner {
    width: auto;
    height: 100%;
    transition: transform 2s;
    transform-style: preserve-3d; /* allow child elements to stack on each other */
}

.course-flip-card.flipped .course-flip-card-inner { /* When the button is clicked, classlist = two class (.course-flip-card.flipped) and then specify the child of them*/
    transform: rotateY(-180deg);
}

.course-flip-card-front,
.course-flip-card-back {
    position: absolute; /* stack on the same position of parent container*/
    width: auto;
    height: 100%;
    backface-visibility: hidden; /*hide the opposite face of element */
    flex-direction: column;
}

.course-flip-card-front {
    background-color: white;
    color: black;
}

.course-flip-card-back {
    background-color: cornflowerblue;
    color: white;
    transform: rotateY(180deg); /* since it is the top element of the stack tree so rotate back it to its backface (hidden) so can display the front element*/
}

.course-flip-card-image {
    border-radius: 10px; /* Rounded corners */
    width: 100%;
    height: 60%;
}

.course-flip-card-content {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    height: 40%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    overflow-y: scroll;
}

    .course-flip-card-content::-webkit-scrollbar {
        width: 0;
        background-color: transparent;
    }

.course-flip-card-content-item {
    flex: 1;
    padding: 0 20px 0 20px;
    display: flex;
    align-items: center;
}

.course-flip-card-content-text-title {
    flex: 2;
}

.course-flip-card-content-text {
    flex: 3;
}

.reminder {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #3b5998;
    font-weight: bold;
    text-decoration: underline;
    pointer-events: none;
    margin-bottom: 20px;
}

.box-container {
    padding: 10px 0;
    position: absolute;
    bottom: 0px;
    display: flex;
}

.box {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: cornflowerblue;
    margin-right: 20px;
}


.filled {
    background-color: #3b5998; /* Set the background color to red */
    /* Add other desired styling properties */
}

.payment-dialog {
    display: none;
    border-radius: 10px;
    background-color: white;
    justify-content: center;
    flex-direction: column;
    padding: 10px 20px 20px 20px;
    top: 25%;
    left: 25%;
    width: 50%;
    position: absolute;
}

.payment-dialog-button {
    display: none;
    background-color: cornflowerblue;
    width: 100%;
    background-color: cornflowerblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .payment-dialog-button:hover {
        background-color: #3b5998;
        color: white;
    }

.application-form-item button {
    width: 100%;
    margin-top: 20px;
    background-color: cornflowerblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .application-form-item button:hover {
        background-color: #3b5998;
    }

@media (max-width: 750px) {
    .application-image {
        margin-bottom: 20px;
    }

    .application-form {
        padding: 10px;
        font-size: 8px;
    }

    .application-form-item input, .application-form-item select, .application-form-item date {
        font-size: 8px;
        padding: 4px;
    }

    .application-form-item button {
        margin-top: 10px;
        padding: 4px 4px;
        font-size: 8px;
    }

    .course {
        margin-left: 20px;
    }

    .left-button img {
        width: 14px;
        height: 14px;
    }

    .right-button img {
        width: 14px;
        height: 14px;
    }

    .course-flip-card-content-item {
        padding: 0 10px 0 10px;
    }

    .course-flip-card-content {
        font-size: 8px;
    }

    .reminder {
        font-size: 8px;
    }

    .box {
        width: 8px;
        height: 8px;
        margin-right: 6px;
    }
}

/* =============================== LoadHelper.js ===============================================*/
.processing-page {
    display: flex;
    flex-grow: 1;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
    /*loading indicator*/
    .processing-page .spinner {
        display: block;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 4px solid #fff;
        border-top-color: #007bff;
        animation: spin 0.8s linear infinite;
    }
    /*page not found*/
    .processing-page .page-not-found {
        display: none;
        padding: 0 20px;
        font-size: 20px;
        font-weight: 600;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: grey;
    }

    .processing-page .page-not-found-header {
        font-size: 40px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .processing-page .page-not-found-content {
        font-size: 20px;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 750px) {
    .processing-page .spinner {
        width: 30px;
        height: 30px;
    }

    .processing-page .page-not-found {
        padding: 0 10px;
        font-size: 8px;
    }

    .processing-page .page-not-found-header {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .processing-page .page-not-found-content {
        font-size: 12px;
    }
}




