/* ===== CUSTOM FONT ===== */
@font-face {
    font-family: 'Optima';
    src: url('../fonts/OPTIMA.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* OPTIONAL: BOLD VERSION (if you have it) */
@font-face {
    font-family: 'Optima';
    src: url('../fonts/OPTIMA_B.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
html, body {
    font-family: 'Optima', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* APPLY EVERYWHERE */
input, button, select, textarea {
    font-family: 'Optima', Arial, sans-serif !important;
    font-weight: 600;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* TEXT */
p,small {
    font-weight: 500;
    line-height: 1.6;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* BUTTON RESET */
button {
    font-family: inherit;
    border: none;
    outline: none;
}

/* INPUT RESET */
input, select, textarea {
    font-family: inherit;
    outline: none;
}

/* IMAGE */
img {
    max-width: 100%;
    display: block;
}


/* ===== LIST STYLES ===== */
ul, ol {
    margin: 10px 0;
    padding-left: 20px;
    font-weight: 500;
}

ul li, ol li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* REMOVE DEFAULT BULLET STYLE (OPTIONAL CLEAN UI) */
ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

/* ===== TABLE STYLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Optima', Arial, sans-serif;
    margin: 15px 0;
    background: #fff;
}

thead {
    background: linear-gradient(135deg,#7a2539,#a02c45);
    color: #fff;
}

th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

/* ROW HOVER */
tr:hover {
    background: rgba(122,37,57,0.05);
}

/* ===== FORM ELEMENTS ===== */
label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* ===== BUTTON IMPROVEMENT ===== */
button {
    cursor: pointer;
}

/* ===== HR ===== */
hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* ===== SMALL TEXT ===== */
small {
    color: #777;
}

/* ===== STRONG / BOLD ===== */
strong, b {
    font-weight: 700;
}

/* ===== CODE BLOCK ===== */
code {
    background: #f4f4f4;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* ===== BLOCKQUOTE ===== */
blockquote {
    border-left: 4px solid #a02c45;
    padding-left: 15px;
    margin: 15px 0;
    color: #555;
    font-style: italic;
}

/* ===== SCROLLBAR (OPTIONAL PREMIUM) ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #a02c45;
    border-radius: 10px;
}

.password-field input.password-mode {
    font-family: Arial, sans-serif !important;
}

.password-field input {
    transition: font-family 0.2s ease;
}


input[type="password"]::placeholder {
    font-family: 'Optima', Arial, sans-serif !important;
}