@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}

html{
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 100;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    /* background: linear-gradient(135deg,#6f6df4,#4c46f5); */
    background: linear-gradient(0deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%);;
}

.container{
    background: #fff;
    max-width: 1200px;
    width:100%;
    padding-left : 2.5rem;
    padding-right :2.5rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    
}

/* .member-form{
    width: 70%;
    position: relative;
    margin: 30px auto 0 auto;
} */

.form-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 10px;
    margin-bottom: 0.50rem;
}

.container hr{
    border: 0;
    height: 0.2rem;
    background: linear-gradient(90deg, #2A7b9b 0%,#57c785 50%,#D15D15 100%);
    border-radius: 5px;
}

.image-header{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
}

.image-header img {
    width: 35%;
}

.form-header h1{
    text-transform: capitalize;
    font-size: 2.8rem;
    /* color: #4c46f5; */
    letter-spacing: 0.5rem;
    background: linear-gradient(90deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%);
    background-clip: text;
    color: transparent;
       /* text-shadow: 0px 3px 5px #000; */
}

/* .form-header h1:hover{
    background: linear-gradient(90deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%);;
    background-clip: text;
    color: transparent;
 
} */

/* input[type="date"]{
    border-radius: 5px;
    padding:10px;
    border:2px solid #D15D15;
} */

/* member form */
.member-form{
    /* background: #ccc; */
    width: 100%;
    position: relative;
    margin: 20px auto 0 auto;
    padding: 10px 10px;
    
}

.row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px 30px;
}

.member-form legend{
    color: #221cbd;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 5px;
}

.form-group{
    display: flex;
    flex-direction: column;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-group span {
    color: #D15D15;
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    margin-top: 0.8rem;
}

.member-form label{
    color: #2A7b9b;
    font-size: 1.25rem;
    font-weight: 600;
}

textarea::placeholder, input::placeholder{
    font-weight: 200;
    font-size: 15px;
    color:#cfbdee;
    text-transform: uppercase;
    
}

textarea, input[type="text"], input[type="date"], input[type="tel"]{
    width: 100%;
    height: 50px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
    border-bottom: 1.2px solid #ccc;
    font-size: 1.55rem;
    color: #221cbd
}

input[type="text"]{
    text-transform: capitalize;
}

input[type="date"]{
    display: block !important;
}

textarea{
    resize: none;
}

textarea:focus, input[type="text"]:focus, input[type="date"]:focus, input[type="tel"]:focus{
    outline: none;
    border-bottom: 3px solid #4c46f5;
    
}


.buttons{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    gap:1rem;
}

input[type="reset"], input[type="submit"], .submit{
    width: 15rem;
    height: 3rem;
    /* background: (90deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%); */
    border: none;
    background-color: #D15D15;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.8); 
    transition: ease-in-out 3ms;   
    
}

input[type="reset"]:hover, input[type="submit"]:hover, .submit:hover{
    box-shadow: none;
    background: transparent;
    border: 2px solid#D15D15;
    color: #D15D15;
    font-weight: 600;
}

.form-radio, .form-check{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem ;
}

.form-radio{
    margin-top: 1rem;
}

.form-check{
    margin-top: 20px;
    margin-bottom: 20px;
}

input[type="radio"], input[type="checkbox"]{
    width: 1.5rem;
    height: 1.5rem
}

input[type="radio"]:checked, input[type="checkbox"]:checked{
    /* appearance: none; */
    accent-color: #2A7b9b;
}

input[type="file"]::file-selector-button{
    display: flex;
    flex-direction: column;
    height: 35px;
    width:150px;
    border: 2px solid #D15D15;
    border-radius: 10px;
    background: none;
    color:#D15D15;
    margin-top: 10px;
    
}



input[type="file"]{
    color:#2A7b9b;
}

input[type="file"]::file-selector-button:hover{
    height: 35px;
    width:150px;
    border: none;
    border-radius: 10px;
    background: #D15D15;
    color:#fff;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 10px;
}

.memType h4,.weekday h4{
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.memType-radio{
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0px 10px 0px 10px; */
    padding-left: 1rem;
    padding-right: 1rem;
    /* background: #f7c09f; */
}

input, textarea, button {
    touch-action: manipulation;
}
/* .buttons button{
    border: none;
    padding: 10px 20px;
    background: linear-gradient(90deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%);
} */
/* .form-button{
    width: 100px;
    height: auto;
} */

.notifications{
   position: fixed;
   bottom:30px;
   right:20px;
   z-index: 999;
}


.info{
    /* grid-column: span 2; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    gap:25px;

}

.price-info, .account-info{
    width: 80%;
    height: 180px;
    padding:15px;
    border-radius: 10px;
    line-height: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 10px; */
    color: #000;
    font-size: 1.4rem;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.7);
    /* background: linear-gradient(2deg, #D15D1555 0%,#57c785 50%, #2A7b9b 100%); */
    background: #5fc2e9;
}

/* .account-info{
    
    background-color: #D15D15;
} */

.price-info h4, .account-info h4{
    font-size: x-large;
    margin-bottom: 3px;
    /* color: #221cbd; */
}

.price-info p, .account-info p{
    font-weight: 500;
    margin-bottom: 3px;
    color: #fff;
}

.account-info p>span{
    font-style: italic;
    font-weight: 600;
    color: #221cbd;
}

.toast{
    position: relative;
    padding: 5px;
    color: #fff;
    margin-bottom: 10px;
    width: 300px;
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    /* border: 2px solid var(--color); */
    border-radius: 5px;
    --color: #0abf30;
    background-image: linear-gradient(to right,#0abf3055, #2c6e88 50%);
    box-shadow: 5px 5px 15px rgb(255, 255, 255, 0.5);
    animation: show 0.3s ease 1 forwards;
}

.toast.error{
    --color: #f24d4c;
    background-image: linear-gradient(to right,#f24d4c55, #2c6e88 50%);
    animation: show 0.3s ease 1 forwards;
}

.toast i{
    color: var(--color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
}

.toast i:nth-child(3){
    font-size: 1rem;

}

.toast span, .toast i:nth-child(3){
    color: #fff;
    opacity: 0.6;
}

.toast .title{
    font-size: 2rem;
    font-weight: 300;
}

@keyframes show{
    0%{
        transform: translateX(100%);
    }
    40%{
        transform: translateX(-5%);
    }
    80%{
    transform: translateX(0%);
    }
    100%{
        transform: translateX(-5%);
    }
}

.toast::before{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--color);
    width: 100%;
    height: 3px;
    content: '';
    box-shadow: 0 0 10px var(--color);
    animation: timeOut 5s linear 1 backwards;
}

@keyframes timeOut {
    to{
        width: 0;
    }
}

.imporInfo{
        /* background: #ccc; */
        position: relative;
        margin: 0.5rem;
        /* padding: 0rem; */
        font-style: italic;
}

.imporInfo ul li{
    margin-left: 2rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 2rem;
}

.imporInfo ul li::marker{
    color: #D15D15;
    font-size: 2rem;
    font-weight: 600;
    padding-left: 0.5rem;
    content: " - ";
}


/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */
@media (max-width: 850px){

    html{
        font-size: 1rem;
    }

    body{
        padding: 20px;
    }

    .container{
        width: 100%;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }

    .form-header h1{
        font-size: 2rem;
        letter-spacing: 0.2rem;
        text-align: center;
    }

    .image-header img{
        width: 75%;
    }

    .row{
        grid-template-columns: 1fr; /* single column */
        grid-gap: 15px;
    }

    .member-form label{
        font-size: 1rem;
    }

    textarea, 
    input[type="text"], 
    input[type="date"]{
        height: 40px;
        font-size: 16px;
        padding: 10px;
    }

    input[type="date"]{
        background: #fff;
    }

    textarea{
        height: 100px;
    }

    .buttons{
    flex-direction: column;
        /* width: 50rem; */
        gap: 1rem;
    }

    /* input[type="reset"], 
    input[type="submit"]{
        width: 100%;
        height: 5rem;
        font-size: 1rem;
    } */

    input[type="reset"], input[type="submit"], .submit{
    width: 20rem;
    height: 3rem;
    /* background: (90deg, #D15D15 0%,#57c785 50%, #2A7b9b 100%); */
    border: none;
    background-color: #D15D15;
    color: #fff;
    font-size: 1rem;  
    margin-bottom: 1rem;
    }

    input[type="file"]::file-selector-button{
        text-align: center;
        width: 50%;
    }

    .form-radio, 
    .form-check{
        flex-wrap: wrap;
    }
    .notifications{
        top: 30px;
    }

    .toast{
        padding: 2px;
        width: 250px;
    }

    .info {
        flex-direction: column;
        width: 100%;
    }

    .price-info, .account-info{
        width: 100%;
        font-size: 0.8rem;
    }


    .price-info h4, .account-info h4{
        font-size: 1.5rem;
        margin-bottom: 1.5px;
        /* color: #221cbd; */
    }

    .price-info p, .account-info p{
        font-weight: 500;
        margin-bottom: 3px;
        color: #fff;
    }
    
    .memType-radio{
        grid-column: span 2;
        flex-direction: column;
        justify-content: left;
        padding-left:5px;
        align-items: flex-start;
    }

}


/* =========================
   EXTRA SMALL DEVICES
   ========================= */
@media (max-width: 285px){

    html{
        font-size: 1rem;
    }

    .form-header h1{
        font-size: 0.8rem;
    }

    .image-header img{
        width: 80%;
    }

    textarea, 
    input[type="text"], 
    input[type="date"]{
        font-size: 16px;
        padding: 10px;
    }

    .memType h4,
    .weekday h4{
        font-size: 1rem;
    }

    .memType-radio{
    grid-column: span 2;
    
    }

}