/**
 * reset.css
 * Minimal CSS Reset for tpl_msg Joomla 6 Template
 * Based on a modern reset approach (box-sizing, margin, padding normalization)
 */

/* ============================================================
   Box sizing reset
============================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ============================================================
   Remove default margin and padding
============================================================= */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
li,
pre,
fieldset,
legend,
table,
caption,
th,
td,
form,
hr {
    margin: 0;
    padding: 0;
}

/* ============================================================
   Root defaults
============================================================= */
html {
    font-size: 100%;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Typography reset
============================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* ============================================================
   List reset
============================================================= */
ul,
ol {
    list-style: none;
}

/* ============================================================
   Link reset
============================================================= */
a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   Media elements
============================================================= */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* ============================================================
   Form elements
============================================================= */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

button {
    cursor: pointer;
}

/* ============================================================
   Table reset
============================================================= */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ============================================================
   Hidden elements
============================================================= */
[hidden] {
    display: none !important;
}

/* ============================================================
   Focus visible (accessibility)
============================================================= */
:focus-visible {
    outline: 2px solid var(--color-primary, #0070f3);
    outline-offset: 2px;
}




