/* Button tải về */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 0 auto;
    padding: 10px 28px;
    background: #0070f0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.download-btn:hover {
    background: #0057b8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
/* Ảnh trong section */
.section-image {
    display: block;
    margin: 16px auto 24px auto;
    width: 100vw;
    max-width: 100%;
    border-radius: 8px;
}
h2 {
    color: #0070f0;
    text-align: center;
}
/* Ẩn tất cả các thanh cuộn */
html, body, main, .tool-section {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
html::-webkit-scrollbar, body::-webkit-scrollbar, main::-webkit-scrollbar, .tool-section::-webkit-scrollbar {
    display: none;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
/* style.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background: #0070f0;
    color: #fff;
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 20px 32px 12px 32px;
}
.nav-buttons {
    display: flex;
    gap: 8px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1;
    flex: 0 0 auto;
    z-index: 2;
}
.logo span {
    display: inline-block;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
}

.nav-buttons {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    /* Giữ các button ở giữa header cả ngang và dọc */
}

.nav-buttons button {
    background: transparent;
    color: #fff;
    border: 1.5px solid transparent;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.nav-buttons button:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: transparent;
}

/* Hamburger menu icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 32px;
    height: 32px;
    margin-left: 16px;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
.menu-toggle span {
    height: 4px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0070f0;
    padding: 12px 0;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu button {
    background: transparent;
    color: #fff;
    border: 1.5px solid transparent;
    border-radius: 4px;
    margin: 6px 16px;
    padding: 8px 0;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.mobile-menu button:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 1100px) {
    .nav-buttons {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}



main {
    flex: 1 0 auto;
    padding: 12px 8px 12px 8px;
    height: calc(100vh - 64px - 64px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 1300px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.tool-section {
    height: 100%;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 24px;
    margin-bottom: 16px;
}

footer {
    background: #282f3d;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    flex-shrink: 0;
    position: static;
}

.tool-section p {
    margin: 0;
    padding: 5px 20px;
    font-size: 1rem;
    line-height: 1.5;
}

