/* Ẩn thanh cuộn nhưng vẫn cho phép cuộn */
body, * {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
body::-webkit-scrollbar, *::-webkit-scrollbar {
    display: none;
}
/* Chia 2 cột cho email-info-container */
.email-sidebar {
    flex: 0 0 20%;
    min-width: 250px;
    max-width: 20%;
    height: 100vh;
    background: rgba(255,255,255,0.9);
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid #e0e0e0;
    align-items: stretch;
    box-sizing: border-box;
}

.email-list {
    flex: 1 1 80%;
    min-width: 0;
    max-width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    background: #fff;
}
/* Khu vực hiển thị email */
.email-info-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    /* Thêm hiệu ứng chuyển đổi nếu muốn */
    transition: all 0.3s ease;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}
.center-box {
    background: #fff;
    padding: 32px 32px 28px 32px;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    width: 50vw;
    min-width: 450px;
}
h2 {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #1976d2;
    letter-spacing: 1px;
}
form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100vw;
    justify-content: center;
}
.input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
input[type="text"] {
    padding: 9px 14px;
    border: 1px solid #bdbdbd;
    border-radius: 7px;
    font-size: 1rem;
    min-width: 100px;
    outline: none;
    transition: border 0.2s;
}
input[type="text"]:focus {
    border: 1.5px solid #1976d2;
}
select {
    padding: 9px 14px;
    border: 1px solid #bdbdbd;
    border-radius: 7px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    background: #fafafa;
}
select:focus {
    border: 1.5px solid #1976d2;
}
button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1976d2;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-left: 8px;
    box-shadow: 0 1px 4px rgba(25, 118, 210, 0.08);
}
button[type="submit"]:hover {
    background: #1565c0;
}
button[type="submit"] svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

#ads01, #ads02 {
    flex: 1;
    font-size: 1.2em;
    padding-top: 10px;
}

#noidung {
    flex: 3;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

/* Khi màn hình nhỏ hơn 1000px thì sắp dọc */
@media (max-width: 1000px) {
    .container {
        flex-direction: column;
    }
    #ads01, #ads02 {
        flex: 0 0 auto;
    }
    #noidung {
        flex: 1;
    }
}
