﻿#preloader {
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.4;
    display: none;
}

    #preloader #preloader-inner {
        display: block;
        position: relative;
        left: 50%;
        top: 50%;
        width: 150px;
        height: 150px;
        margin: -75px 0 0 -75px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #3498db;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
    }

        #preloader #preloader-inner:before {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #e74c3c;
            -webkit-animation: spin 3s linear infinite;
            animation: spin 3s linear infinite;
        }

        #preloader #preloader-inner:after {
            content: "";
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #f9c922;
            -webkit-animation: spin 1.5s linear infinite;
            animation: spin 1.5s linear infinite;
        }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


#vue_class .card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out;
}


.salary-container {
    max-height: 30em; /* Giới hạn chiều cao bảng */
    overflow: auto; /* Cho phép cuộn */
    position: relative;
    border: 1px solid #ddd;
}

/* Cố định phần thead khi cuộn */
.salary-table thead {
    position: sticky;
    top: 0;
    background-color: #007bff;
    color: white;
    z-index: 10;
}

/* Định dạng bảng */
.salary-table {
    width: 100%;
    border-collapse: collapse;
}

    .salary-table th, .salary-table td {
        padding: 10px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .salary-table th {
        background-color: #007bff;
        color: white;
    }

    .salary-table tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }




/* Bố cục */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background: linear-gradient(to right, #b1d4fc, #e3f2fd);
    min-height: 100vh;
}

/* Nội dung bên trái */
.content {
    max-width: 500px;
}

    .content h2 {
        font-size: 32px;
        font-weight: bold;
        color: #2d4ef5;
        line-height: 1.3;
    }

        .content h2 span {
            color: #1a37d4;
        }

    .content p {
        margin: 20px 0;
        font-size: 16px;
        color: #444;
    }

/* Nút bấm */
.button {
    display: inline-block;
    padding: 12px 24px;
    background: #3b82f6;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

    .button:hover {
        background: #1e3a8a;
    }

/* Phần hình ảnh */
.image-container {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-container img {
        position: absolute;
        max-width: 100%;
        transition: transform 0.5s ease-in-out;
    }

/* Hiệu ứng animation */
.rocket {
    animation: rocketUp 2s infinite alternate;
}

@keyframes rocketUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.chart {
    animation: fadeIn 2s ease-in-out;
}

.people {
    animation: fadeIn 2s ease-in-out 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




.font-w{
    font-weight: bold;
    font-size: 18px;
}


/* Thiết kế responsive cho mobile */
@media screen and (max-width: 768px) {
    .salary-table, .salary-table thead, .salary-table tbody, .salary-table tr, .salary-table th, .salary-table td {
        display: block;
        width: 100%;
    }

        .salary-table thead {
        }

        .salary-table tbody tr {
            margin-bottom: 10px;
            border: 1px solid #ddd;
            padding: 10px;
            display: flex;
            flex-direction: column;
        }

        .salary-table td::before {
            content: attr(data-label);
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            color: #007bff;
        }
}
