/******************************************************************************
 * Download Google Webfonts: https://gwfh.mranftl.com/fonts
 ******************************************************************************/

/* noto-serif-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    src: url('/front/fonts/noto-serif-v22-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 300;
    src: url('/front/fonts/noto-serif-v22-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    src: url('/front/fonts/noto-serif-v22-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 400;
    src: url('/front/fonts/noto-serif-v22-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 700;
    src: url('/front/fonts/noto-serif-v22-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 700;
    src: url('/front/fonts/noto-serif-v22-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('/front/fonts/lato-v24-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url('/front/fonts/lato-v24-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('/front/fonts/lato-v24-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    src: url('/front/fonts/lato-v24-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/******************************************************************************
 * Box model
 ******************************************************************************/
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/******************************************************************************
 * Default
 ******************************************************************************/
html {
    overflow-y: scroll;
}

html,
body {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: #202124;
    background-image: url('/front/img/pattern01-05.png');
    background-size: 220px auto;
    color: #bdc1c6;
}

body,
input,
textarea,
select {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.6rem;
}

a {
    color: inherit;
}

/* Accessibility: Hide element visually but keep it for screen readers and browsers */
.visually-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

header {
    padding: 20px 0;
}

main {}

.auth {
    display: block;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

nav li {}

nav li a,
nav li span,
nav li form {
    display: inline-block;
    padding: 0 10px;
}

nav li:after {
    content: '•';
    content: '●';
}

nav li:first-child a,
nav li:first-child span {
    padding-left: 0;
}

nav li:last-child a {
    padding-right: 0;
}

nav li:last-child:after {
    content: '';
}

nav li.active {
    font-weight: bold;
}

nav li a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-family: 'Noto Serif';
    font-weight: normal;
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin: 0 0 1.5rem 0;
}

h2 {
    font-family: 'Noto Serif';
    font-weight: normal;
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin: 3rem 0 1.5rem 0;
}

h1+h2 {
    margin-top: 0;
}

.logo svg {
    background: transparent;
    fill: #bdc1c6;
    stroke: #202124;
    stroke-width: 1px;
    stroke-linecap: round;
    margin: 0;
    height: 35px;
}

.lomitko {
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    padding: 1rem 0;
}

.lomitko pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow-x: auto;
}

.lomitko pre code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/******************************************************************************
 * Forms
 ******************************************************************************/
form {
    max-width: 840px;
    /*margin:0 auto;*/
}

form.delete {
    display: inline-block;
}

div.medium-width {
    max-width: 600px;
}

div.field {
    margin: 30px 0;
}

div.field-combo {
    display: flex;
    justify-content: flex-end;
}

div.field-combo input[type=text] {}

div.field-combo button,
div.field-combo .button {
    border-radius: 0;
}

div.field-combo button:last-child,
div.field-combo .button:last-child {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

label {
    display: block;
}

.radios label {
    display: inline-block;
}

input[type=text],
input[type=email],
input[type=password] {
    border: 1px solid #666;
    background: #ccc;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 3px 10px;
    width: 100%;
}

select {
    border: 1px solid #666;
    background: #ccc;
    height: 34px;
    padding: 3px 10px;
}

textarea {
    border: 1px solid #666;
    background: #ccc;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 3px 10px;
    width: 100%;
    min-height: 150px;
}

/* Password field with toggle visibility button */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    flex: 1;
    padding-right: 45px;
    /* Space for the toggle button */
}

.password-field .toggle-password {
    position: absolute;
    right: 5px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 1.2rem;
    line-height: 1;
}

.password-field .toggle-password:hover {
    color: #139;
}

.password-field .toggle-password:focus {
    outline: 2px solid #139;
    outline-offset: 2px;
}

input[type=submit],
button,
.button {
    border: 1px solid #139;
    background: #139;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 3px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.button-main {
    border: 1px solid #139;
    background: #139;
}

.button-alert {
    border: 1px solid #d21;
    background: #d21;
}

.button-secondary {
    border: 1px solid #444;
    background: #444;
}

.button-cancel {
    border: 1px solid transparent;
    background: transparent;
}

.error-message {
    background: #d21;
    color: #fff;
    margin: 1rem 0;
    padding: 15px;
    list-style: none;
}

.error-hint {
    color: #d21;
}

.error label {
    color: #d21;
}

.error input[type=text],
.error input[type=email],
.error input[type=password],
.error textarea,
.error select {
    color: #d21;
    border: 1px solid #d21;
    background-color: #ecc;
}

.hint {
    font-style: italic;
}

.alert {
    border: 1px solid #999;
    background: #ccc;
    color: #000;
    padding: 15px;
}

.alert-success {
    border: 1px solid #090;
    background: #efe;
    color: #090;
}

.badge {
    display: inline-block;
    background: #444;
    color: #fff;
    padding: 3px 16px;
    margin-right: 10px;
    line-height: 24px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.card {
    width: 600px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 40px;
    margin: 0 auto;
}

button.link {
    display: inline;
    padding: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-transform: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tr {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

th,
td {
    text-align: left;
    padding: 3px 5px;
}

th.actions,
td.actions {
    text-align: right;
}


/******************************************************************************
 * Pagination
 ******************************************************************************/
.pagination {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.pagination li {
    display: inline-block;
    padding: 0;
}

.pagination li:first-child {
    padding-left: 0;
}

.pagination li:last-child {
    padding-right: 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    line-height: 28px;
    min-width: 28px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
}

.pagination .paginationActive a,
.pagination .paginationActive span {
    background: #444;
}

.pagination .paginationFirst a,
.pagination .paginationFirst span,
.pagination .paginationPrevious a,
.pagination .paginationPrevious span,
.pagination .paginationNext a,
.pagination .paginationNext span,
.pagination .paginationLast a,
.pagination .paginationLast span {
    background: none;
}

/******************************************************************************
 * Inscription2
 ******************************************************************************/
table.size {
    width: auto;
}

table.size td {
    width: 100px;
}

input.tel {
    width: 200px;
    display: inline-block;
}

/******************************************************************************
 * Agenda
 ******************************************************************************/
table.agenda th {
    width: 300px;
}

/******************************************************************************
 * Key Info
 ******************************************************************************/
/******************************************************************************
 * Key Info
 ******************************************************************************/
table.language th:first-child,
table.language td:first-child {
    width: 300px;
}

/******************************************************************************
 * Blocked Views (Rate Limiting)
 ******************************************************************************/
.countdown-box {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.countdown-box h2 {
    margin: 0 0 1.5rem 0;
    color: #495057;
    font-size: 1.2rem;
}

.countdown-timer {
    font-size: 4rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #dc3545;
    margin: 1rem 0;
    letter-spacing: 0.1em;
}

.countdown-text {
    margin: 1rem 0 0 0;
    font-size: 1.1rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.info-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h2 {
    margin: 0 0 1rem 0;
    color: #856404;
    font-size: 1.1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin: 0.5rem 0;
    color: #856404;
}

.info-box a {
    color: #856404;
    text-decoration: underline;
    font-weight: bold;
}

.info-box a:hover {
    color: #533f03;
}

/* ============================================
   Utility Classes
   ============================================ */

/* Clickable cursor for interactive elements */
.clickable {
    cursor: pointer;
}

/* Inline form display */
.inline-form {
    display: inline;
}

/* Margin top utility */
.mt-20 {
    margin-top: 20px;
}

/* Inline select with auto width */
.inline-select {
    width: auto;
    display: inline-block;
}