﻿body {
    font-size: 14px;
}

ul#TopLanguageList {
    list-style: none;
    margin: 0;
    padding: 0
}

    ul#TopLanguageList li {
        display: inline-block;
        border: none;
        margin: 0;
        padding: 0;
        padding-left: 5px;
    }

        ul#TopLanguageList li.selected-language a span {
            color: black;
            font-weight: bold;
        }

.sweet-alert .icon,
.sweet-alert .icon.success .placeholder {
    -ms-border-radius: 50% !important;
    border-radius: 50% !important;
}

#LanguageDropDown .btn {
    border: none;
    padding: 2px;
}

#LanguageDropDown li.language-menu-item a {
    padding: 8px 5px;
}

@media (max-width: 1024px) {
    .header .header-navigation {
        display: block;
    }
}

.row-staff {
    display: grid;
    grid-template-columns: repeat(5, 5fr);
    gap: 10px;
    padding: 0 10px;
    margin-bottom: 30px
}

.staff-card {
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cardstaff {
    border: 1px solid #006b4e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

 .cardstaff img {
        border-radius: 20px !important;
        width: 100%;
        height: 100%;    
        object-fit: cover;
        display: block; 
    }
.cardstaff-img-container {
    height: 200px;
    width: 80%; 
    overflow: hidden; 
    margin: 0 auto; 
    margin: 10px 5px;
}

.cardstaff-h5 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #006b4e;
}

.cardstaff p {
    color: #333;
}

.cardstaff-body {
    padding: 10px;
}


.cardstaff:hover {
    transform: scale(1.05);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .row-staff {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .row-staff {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .row-staff {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .row-staff {
        grid-template-columns: 1fr;
    }
}

.search-container {
    display: flex;
    justify-content: center;
    margin: 0 20px 30px;
    margin-left: 10%
}

.search-wrapper {
    position: relative;
    width: 40%;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #006b4e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px !important;
    outline: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .search-input:focus {
        transform: scale(1.02);
    }

.search-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #67bd3c;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

    .search-button:hover {
        color: #006b4e;
    }

.modal-header {
    text-align: center;
}

.modal-body img {
    margin-bottom: 15px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.feedback-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .feedback-btn button {
        border-radius: 12px !important;
        padding: 5px;
        height: 100px;
        width: 100px;
        margin-bottom: 10px
    }

    .feedback-btn img {
        margin-bottom: 5px;
    }



.feedback-modal-content {
    overflow: hidden;
    max-width: 600px; /* Giới hạn chiều rộng tối đa */
    margin: auto; /* Căn giữa modal */
}

.feedback-modal-header {
    border-bottom: 1px solid #ddd;
    color: white;
}

.feedback-modal-body {
    padding: 20px;
}

.feedback-modal-image img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: cover;
    /*    margin: 0 auto;*/
}

.feedback-modal-info {
    padding-left: 5px; /* Giảm khoảng cách giữa ảnh và thông tin */
    text-align: left;
}

.feedback-modal-feedback {
    resize: none;
    margin-top: 20px
}

@media (max-width: 768px) {
    .feedback-modal-body .row {
        flex-direction: column;
        text-align: center;
    }

    .feedback-modal-image {
        margin-bottom: 20px;
    }

    .feedback-modal-info {
        padding-left: 0;
    }
}
