* {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 600;
}

.navbar {
    /* background-color: #337ab7; */
    margin-bottom: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.services {
    background: transparent;
    /* giữ trong suốt để lộ gradient từ #main */
}

.servicesAccordion {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

/* Accordion item */
.accordionItem {
    background: #ffffff;
    border: 1px solid #d0e6e6;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accordionItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Header */
.accordionHeader {
    width: 100%;
    padding: 20px 28px;
    /* thêm chút padding cho cân đối */
    font-size: 1.5rem;
    /* tăng kích thước chữ */
    text-transform: uppercase;
    /* CHỮ HOA */
    letter-spacing: 0.5px;
    /* giãn chữ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    transition: background 0.3s ease;
}

.accordionHeader:hover {
    background: linear-gradient(90deg, #0069d9, #00a6e0);
}

.accordionHeader i {
    font-size: 1.3rem;
}

/* Nội dung accordion */
.accordionContent {
    display: none;
    padding: 20px 24px;
    background: #f9fdfd;
}

.accordionContent.open {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.accordionContent h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    border-left: 4px solid #00c6ff;
    padding-left: 10px;
}

/* Nội dung bên trong */
.paragraph {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.paragraph img {
    width: auto;
    height: auto;
    border-radius: 12px;
    background: #eaf6f6;
    padding: 4px;
}

.content-box {
    flex: 1;
}

.box-content {
    margin-bottom: 12px;
}

.box-content p {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.box-content a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.box-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Hiệu ứng xuất hiện */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive: ẩn ảnh trên mobile */
@media (max-width: 768px) {
    .paragraph img {
        display: none;
    }

    .accordionHeader {
        font-size: 1rem;
        padding: 14px 18px;
    }
}



.user {
    right: 10px;
    position: absolute;
    align-items: center;
    margin-top: 10px;
    color: black;
}

.User-name {
    color: black;
}

.page-content {
    margin-left: 20px;
    margin-bottom: 20px;
    display: flow;
    font-size: 25px;
}

.test {
    margin-left: 20px;
    margin-bottom: 50px;
}

.table thead {
    border: 1px solid black;
}

.test p {
    color: var(--white, #FFF);
    background: linear-gradient(45deg, #49008b, #06cdeb);
    font-size: 25px;
    padding: 0.3rem 0 0.3rem 1rem;
    font-style: normal;
    display: flex;
    align-items: center;
    font-family: ui-sans-serif;
    /* height: 40px; */
    border-radius: 0 30px 0 0;
    border: 2px solid black;
    margin-bottom: 0;
}

.table-hover tbody tr:hover td {
    background: rgb(190, 190, 190);
}

.table-hover tbody a:link {
    text-decoration: none;
    color: black;
}

.table-hover tbody a:visited {
    color: black;
}

.page-content {
    position: relative;
}

.add-devide-button {
    position: absolute;
    right: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.add-user-button {
    position: absolute;
    right: 20px;
    top: 180px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.add-maintenance-button {
    position: absolute;
    right: 20px;
    top: 180px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.add-engine-button {
    position: absolute;
    right: 200px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.input-group {
    margin-bottom: 20px;
    border: 1px solid black;
    /* width: 500px !important; */
}

.total-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* margin-left: 50px; */
    gap: 3%;
    padding-top: 10px;
    border-top: 5px solid black;
}

.content-box {
    position: relative;
    direction: ltr;
    display: flex;
    background: linear-gradient(45deg, rgb(96 136 255), rgb(80 255 255));
    width: 90%;
    height: 80%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border: 1px solid black;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
}

.box-header {
    display: block;
    margin-right: 20px;
}

.box-content {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}

.box-content>p {
    display: flex;
    position: relative;
    /* bottom: 20px; */
    left: 3%;
    /* width: 70% !important; */
    width: 90% !important;
    font-family: math !important;
    font-size: 2rem !important;
    font-style: normal;
    font-weight: 400 !important;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.box-content>span {
    display: flex;
    position: relative;
    left: 3%;
    bottom: 10px;
    right: 20px;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    align-items: center;
}

a:link {
    text-decoration: none;
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

/* .input-group>select.form-select {
    flex: 0 1 300px;
}

.input-group>textarea.form-control {
    flex: 0 1 300px;
} */

.navbar-brand {
    background: linear-gradient(to right, #8a2387, #e94057, #f27121) !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    font-weight: bold !important;
}

.Year-select {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    display: inline-grid;
    position: relative;
    left: 3%;
}

.Year-select>p {
    font-size: 1.5rem !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-family: sans-serif !important;
    position: relative;
    /* left: -20%; */
}


@media only screen and (max-width: 1500px) {
    .box-content>p {
        display: flex;
        position: relative;
        /* bottom: 20px; */
        /* left: 20%; */
        /* width: 70% !important; */
        font-family: math !important;
        font-size: 1.5rem !important;
        font-style: normal;
        font-weight: 400 !important;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }

    .Year-select>p {
        font-size: 1.2rem !important;
        font-style: normal !important;
        font-weight: 600 !important;
        font-family: sans-serif !important;
        position: relative;
        left: -20%;
    }
}

@media only screen and (max-width: 400px) {
    .w3-container>h1 {
        display: none;
    }

    .add-devide-button .btn-text {
        display: none;
    }
}

/* @media only screen and (max-width: 600px) {
    .services {
        display: none !important;
    }
} */