/**
 * Reset CSS - Chuẩn hóa mặc định trình duyệt
 * Đảm bảo hiển thị nhất quán trên mọi trình duyệt
 */

/* Box-sizing: border-box cho mọi phần tử */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margin và padding mặc định */
* {
    margin: 0;
    padding: 0;
}

/* HTML và body */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-chinh);
    font-size: var(--font-size-thuong);
    line-height: 1.5;
    color: var(--mau-chu);
    background-color: var(--mau-nen);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Danh sách không có dấu chấm */
ul,
ol {
    list-style: none;
}

/* Liên kết kế thừa màu chữ */
a {
    color: inherit;
    text-decoration: none;
}

/* Hình ảnh responsive mặc định */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Form elements - font kế thừa */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Nút và input không có border/background mặc định lạ */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    cursor: pointer;
}

/* Bảng - border collapse */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/* Ẩn phần tử chỉ dùng cho screen reader */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
