:root {

    --color-primary: #107aca;
    --color-primary-dark: #1177c3;
    --color-primary-light: #e3f2fd;

    --text-main: #021730;
    --text-light: #eaf4ff;
    --text-dark: #1d2836;
    --text-gray: #4b5563;
    --text-danger: #cf3e33;

    --bg-body: #f1f7fe;
    --bg-card: #ffffff;
    --bg-button: var(--color-primary-dark);
    --bg-button-disabled: #1176c3ce;
    --bg-danger: #d93025;

    --border-primary: #bbdefb;

    --border-primary-dark: var(--color-primary-dark);
    --border-primary-light: #97cbff;
    --border-danger: #d93025;

    --grey-light: #f5f5f5;

    --header-height: 4rem;
    --sidebar-width: 16rem;

    --transition-base: all 0.3s ease;

    --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-drawer: -4px 0 16px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

img,
picture,
svg {
    max-width: 100%;
    display: block;
    height: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Custom Checkbox Styling */
/* Custom Checkbox Styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-primary);
    border-radius: 4px;
    background-color: var(--bg-card);
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    /* Prevent shrinking in flex containers */

    /* Centering the checkmark */
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

input[type="checkbox"]:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    /* Visual adjustment to center the checkmark perfectly */
    margin-top: -2px;
}

input[type="checkbox"]:hover {
    border-color: var(--color-primary);
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary-light);
    border-color: var(--color-primary);
}

/* Custom Select Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23107aca'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

select:hover {
    border-color: var(--color-primary-dark);
}

/* Option styling (limited support) */
option {
    color: var(--text-main);
    background-color: var(--bg-card);
    padding: 0.5rem;
}