/* Style cho body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.my-app {
    margin: 0 auto;
    max-width: 2000px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.my-app .content-area {
    border: 1px solid #ccc;
    flex-grow: 1;
}

.my-app .tab-content.active {
    display: block;
}

.my-app .title {
    position: sticky;
    top: 0;
    display: block;
    padding: 10px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: Canvas;
    color: CanvasText;
}


.my-app .body {
    overflow-x: auto;
    max-width: 100%;
}

.my-app .tabs {
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #ccc;
    overflow-x: auto;
}

.my-app .tab {
    padding: 10px 20px;
    background-color: #f0f0f0;
    flex-grow: 1;
    text-align: center;
    border-right: 1px solid #ccc;
    color: #4a90e2;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.my-app .tab:last-child {
    border-right: none;
}

.my-app .tab.active {
    background-color: #357abd;
    color: white;
}

.my-app .tab-content {
    display: none;
}

.my-app .loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: my-app-spin 1.2s linear infinite;
    position: sticky;
    top: calc(50vh - 25px);
    left: calc(50vw - 25px);
    transform: translate(-50%, -50%);
}

@keyframes my-app-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}