@font-face {
    font-family: 'BechtlePro';
    src: url('../fonts/BechtlePro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BechtlePro-Light';
    src: url('../fonts/BechtlePro-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-dark-green: #075033;
    --primary-hover-green: #06442b;
    --primary-disabled-green: #a0d5bd;

    --btn-back-bg: #6c757d;
    --btn-back-hover-bg: #5a6268;
    --btn-back-active-bg: #545b62;
}

body {
    background-color: #ffffff;
    color: #212529;
    font-family: 'BechtlePro-Light', Arial, sans-serif;
}

h1, h4, h5 {
    color: #000000;
    font-family: 'BechtlePro', Arial, sans-serif;
    font-weight: normal !important;
}

.header-space {
    height: 120px;
}

.content-wrapper {
    padding-bottom: 40px;
}

/* CARD */
.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.card-header {
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1.25rem;
    font-weight: normal !important;
    font-size: 1.25rem;
    font-family: 'BechtlePro', Arial, sans-serif;
    color: #000000;
}

form {
    margin: 0 !important;
    padding: 0;
}

/* TABLES */
table.table-bordered {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

table.table-bordered th,
table.table-bordered td {
    border: 1px solid #dee2e6 !important;
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

tr.selectable:hover {
    background-color: #e9f7ef;
    cursor: pointer;
}

tr.selected {
    background-color: transparent;
    outline: 2px solid var(--primary-dark-green);
    color: inherit;
}

/* PRE FORMATTING */
pre {
    background-color: #f8f9fa !important;
    border: none !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.2;
    user-select: text;
}

.sticky-card-btn {
    position: fixed;
    bottom: 40px;
    left: 60px;
    z-index: 1050;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-dark-green) !important;
    outline-offset: 2px;
}

.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* SUCCESS BUTTON */
.btn.btn-success {
    background-color: var(--primary-dark-green) !important;
    color: #fff !important;
    border: none !important;
    font-family: 'BechtlePro', Arial, sans-serif !important;
    font-weight: normal !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn.btn-success:hover,
.btn.btn-success:focus-visible {
    background-color: var(--primary-hover-green) !important;
}

.btn.btn-success:active {
    background-color: var(--primary-hover-green) !important;
    transform: scale(0.98);
}

.btn.btn-success:disabled {
    background-color: var(--primary-disabled-green) !important;
    cursor: not-allowed;
}

/* BACK BUTTON */
.btn.btn-back {
    background-color: transparent !important;
    color: var(--primary-dark-green) !important;
    border: 2px solid var(--primary-dark-green) !important;
    font-family: 'BechtlePro', Arial, sans-serif !important;
    font-weight: normal !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn.btn-back:hover,
.btn.btn-back:focus-visible {
    background-color: rgba(7, 80, 51, 0.08) !important;
}

.btn.btn-back:active {
    transform: scale(0.98);
}

.btn.btn-back:disabled {
    color: var(--primary-disabled-green) !important;
    border-color: var(--primary-disabled-green) !important;
    cursor: not-allowed;
}


/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header h2 {
    margin: 0;
    font-size: 25px;
    color: #000000;
    font-family: 'BechtlePro', Arial, sans-serif;
    line-height: 1;
}

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.8px solid black;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2000;
    min-width: 130px;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-family: 'BechtlePro-Light', Arial, sans-serif;
    font-size: 14px;
}

.language-dropdown a:hover {
    background-color: #f2f2f2;
}

.language-dropdown img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.language-switcher.open .language-dropdown {
    display: block;
}

.language-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.language-btn:focus-visible {
    outline: 2px solid black !important;
    outline-offset: 2px;
}
