﻿
.ewc .header {
    font-family: psuStidi-Bold;
    font-size: 1.5rem;
}
.ewc .coming {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.ewc .moodwelcome {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.ewc .kainui{
    display: flex;
    flex: 0.65;
}
.ewc .moodwelcome .ewcheader {
    display: flex;
    flex-direction: column;
    font-family: psuStidi-Bold;
    font-size: 1.5rem;
    text-align: left;
    align-items: flex-start;
}

.ewc .moodwelcome .takecare {
    font-family: psuStidi-Bold;
    font-size: 3rem;
    text-align: left;
}
.ewc .moodwelcome .under {
    font-size: 1rem !important;
    font-family: psuStidi-Regular;
}
.ewc .moodwelcome .under .sameline{
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping */
    align-items: center;}
.ewc .moodwelcome  .green {
    color: #00C26E;
    margin-right: 10px;
    text-decoration: none; /* Remove underline if it's a link */

}
.ewc .emer-btn {
    padding: 5px 20px;
    border-radius: 8px;
    background-color: #CA0B00;
    color: white;
    font-family: psuStidi-Bold;
}
.moodcheck {
    background-color: var(--gray-color3);
    border-radius: 20px;
    padding: 20px 10px;
    margin: auto;
    margin-bottom: 20px;
}

    .moodcheck .tophead {
        font-size: 1.3rem;
        font-weight: 600;
        text-decoration: underline;
        margin-bottom: 20px;
        text-align: start;
        font-family: psuStidi-Bold;
    }

    .moodcheck .emoji {
        display: flex;
        justify-content: space-around;
    }

    .moodcheck .card-mood {
        font-family: psuStidi-Bold;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1.4rem;
        text-align: center;
    }

        .moodcheck .card-mood .reportbox {
            background-color: var(--primary-color);
            color: #ffff;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 1.2rem;
            cursor: pointer;
        }

        .moodcheck .card-mood .moremood {
            display: flex;
            justify-content: space-between; 
            align-items: center;
            width: 100%;
        }

.card-mood .moremood-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between !important;
    font-size: 0.9rem;
}

    .card-mood .moremood-full .column-f {
        display: flex;
        flex-direction: column;
        font-family: psuStidi-Regular;
        font-size: 0.8rem;
        margin-left: 5px;
        margin-right:5px;
        text-align:center;
    }

.moodcheck .card-mood .moremood .more {
    display: flex;
    flex-direction: column;
    font-family: psuStidi-Regular;
    width: 10%;
    font-size: 0.7rem;
    justify-content: center;
    align-items: center;
}

.moodcheck .emoji .mood img {
    width: 80%;
}

.moodcheck .emoji .mood span {
    display: none;
}

.moodcheck .emoji .mood:hover span {
    display: block;
    border-radius: 6px;
    background-color: #ffffe0;
    padding: 5px;
    max-width: 200px;
    position: fixed;
    overflow: hidden;
    z-index: 1000;
    text-align: center;
}
.moodcheck .mood-mb {
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #ffff;
    border-radius: 10px;
    padding: 0px 5px;
    cursor: pointer;
}

.moodcheck .description {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.moodcheck .emoji .mood {
    cursor: pointer;
    width: 20%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.moodcheck .description .mood {
    width: 17%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 1.1rem;
    cursor: pointer;
}

.moodcheck .gradient-line {
    position: relative;
    width: 100%;
    height: 5px;
    background: linear-gradient( to right, #4caf50, #8bc34a, #ff873e, #ff9800, #f44336 );
    border-radius: 5px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .moodcheck .gradient-line .circle {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background-color: white; /* Add a white background to make them stand out */
        border: 5px solid transparent; /* Add transparent border for spacing */
    }

    .moodcheck .gradient-line .green {
        background-color: #3ed856;
    }

    .moodcheck .gradient-line .light-green {
        background-color: #98d74a;
    }

    .moodcheck .gradient-line .yellow {
        background-color: #f7c74e;
    }

    .moodcheck .gradient-line .orange {
        background-color: #ff873e;
    }

    .moodcheck .gradient-line .red {
        background-color: #f1392d;
    }

.ewc .form-container .modal-content{
    align-self: center;
    padding: 20px;
    background: #BCEAC6;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}
.ewc .form-container .econ-label{
    font-weight: bold;
    min-width: fit-content;
}
.ewc form {
    max-width: 720px;
}
.animate-expand {
    transition: max-height 1s ease, opacity 1s ease;
    overflow: hidden;
    opacity: 1;
}

.ewc .animate-expand {
    max-height: 120px;
}

.animate-expand.hidden {
    max-height: 0;
    opacity: 0;
}
.ewc  .form-title {
    font-weight: bold;
    font-size: 1.2em;
}

.ewc  .btn-submit {
    background-color: #28a745;
    color: white;
    font-weight: bold;
}

    .ewc  .btn-submit:hover {
        background-color: #218838;
    }

.ewc .navbar-s {
    justify-content: center;
    align-items: center;
}

    .ewc .navbar-s .tab-btn {
        font-family: psuStidi-Bold;
        font-size: 1rem;
        padding: 10px 10px;
        transition: 0.2s;
        border-radius: 10px;
        border: none;
        background-color: #00C26E;
        color: #ffff;
    }


.ewc .route-row {
    display: grid;
    margin: auto;
    grid-template-columns: repeat(auto-fill, 23%);
    justify-content: space-between;
    row-gap: 1em;
}

    .ewc .route-row .routebullet {
        cursor: pointer;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        font-family: psuStidi-Bold;
        color: aliceblue;
        background-color: #2FA7B4;
        text-align: center;
        padding: 10px 0px;
        border-radius: 10px
    }

    .ewc .route-row .desc-bullet {
        font-family: psuStidi-Regular;
        font-size: 0.8rem
    }

.ewc .help {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ewc .econhelp {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-left: auto;
    margin-right: auto;
    font-family: psuStidi-Bold;
    text-align: center;
    padding: 10px 15px;
    background-color: var(--primary-color);
    width: fit-content;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}
.ewc .help-self {
    display: grid;
    margin: auto;
    grid-template-columns: repeat(auto-fill, 23%);
    justify-content: space-between;
    row-gap: 1em;
}
.ewc .help-self .card {
    display: flex;
    padding: 10px;
    text-decoration: none;
    border-bottom: none;
    text-align: center;
    font-size: 0.8rem;
    min-height: 270px;
}

    .ewc .help-self .card img {
        border-radius: 5px;
        width: 100%;
        height: 170px;
        object-fit: cover;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        margin-bottom: 10px;
    }

.ewc .bullet {
    margin-top: 10px;
    font-size: 1rem;
    font-family: psuStidi-Bold;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 10px;
}
.ewc .toplabel {
    color: white;
    border-radius: 10px;
    padding: 10px 15px;
    width: fit-content;
    background-color: #016064;
    margin: 15px;
}
.ewc .help .bottom {
        display: flex;
        flex-direction: column;
        font-family: psuStidi-Bold;
        align-items: center;
        justify-content: space-between  ;
}
.ewc .navlink-btn {
    padding: 10px 15px;
    min-width: 120px;
    border-radius: 10px;
    background-color: #5271ff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.radio-group input[type="radio"]:checked:before {
    background-color: #000; /* สีของจุดด้านในเมื่อ active */
}

.form-container .contact-info input {
    width: 48%;
}

@media (max-width: 600px) {
    .moodcheck .card-mood {
        font-size: 0.9rem;
        text-align: center;
    }

        .moodcheck .card-mood .reportbox {
            background-color: var(--primary-color);
            color: #ffff;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 1rem;
        }
}

.problem .top {
    flex-wrap: wrap;
    display: flex;
    column-gap: 10px;
    justify-content: center;
}

    .problem .top .header-1 {
        max-height: min-content;
        font-family: psuStidi-Bold;
        font-size: 1rem;
        background-color: var(--gray-color1);
        padding: 5px 20px;
        border-radius: 20px;
        justify-self: center;
        margin: 0px auto;
        min-width: max-content;
        margin: 0px auto;
    }

.problem .information {
    min-height: 300px;
    background-color: var(--gray-color1);
    padding: 10px;
    margin: 10px;
}

.ewc .help-carousel {
    display: flex;
    flex-direction: column !important;
}
.ewc .help-carousel .slick-prev {
    left: 0px !important;
    z-index: 100;
        width: 30px;
    height: 30px;
    top: 45%;
        color: #b9b8b8;

}
.ewc .help-carousel .slick-next {
    color: #b9b8b8;
    right: 0px !important;
    width: 30px;
    height: 30px;
    top: 45%;
}
.ewc .help-carousel .slick-prev::before{
    color: #b9b8b8;
    font-size: 30px;
}
.ewc .help-carousel .slick-next::before{
    color: #b9b8b8;
    font-size: 30px;
}
.ewc .help-carousel .slide-content {
    width: 220px;
    overflow: hidden;
    margin: 20px;
    text-align: center;
    justify-self: center;
}

.ewc .help-carousel .slick-dots {
    margin: unset;
}

.ewc .help-carousel .hoverimg {
    position: relative;
    text-align: center;
}
    .ewc .help-carousel .hoverimg .img-desc {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--gray-color4);
        width: 100%;
        height: 100%;
        padding: 20px;
        border-radius: 10px;
        transition: 0.3s ease;
        opacity: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.ewc .hoverimg .carousel-image {
    transition: 0.3s ease-in-out;
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

    .ewc .hoverimg:hover .carousel-image {
        opacity: 0;
    }

    .ewc .hoverimg:hover .img-desc {
        opacity: 1;
    }

@media only screen and (max-width: 600px) {
    .ewc .help-self {
        grid-template-columns: repeat(auto-fill, 48%);
    }

    .ewc .route-row {
        grid-template-columns: repeat(auto-fill, 48%);
    }

    .ewc .coming {
        width: 80%;
    }
}