@font-face {
    font-family: 'poppinsblack';
    src: url('poppins-black.eot');
    src: url('poppins-black.eot?#iefix') format('embedded-opentype'),
        url('poppins-black.woff2') format('woff2'),
        url('poppins-black.woff') format('woff'),
        url('poppins-black.ttf') format('truetype'),
        url('poppins-black.svg#poppinsblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsbold';
    src: url('poppins-bold.eot');
    src: url('poppins-bold.eot?#iefix') format('embedded-opentype'),
        url('poppins-bold.woff2') format('woff2'),
        url('poppins-bold.woff') format('woff'),
        url('poppins-bold.ttf') format('truetype'),
        url('poppins-bold.svg#poppinsbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinslight';
    src: url('poppins-light.eot');
    src: url('poppins-light.eot?#iefix') format('embedded-opentype'),
        url('poppins-light.woff2') format('woff2'),
        url('poppins-light.woff') format('woff'),
        url('poppins-light.ttf') format('truetype'),
        url('poppins-light.svg#poppinslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsregular';
    src: url('poppins-regular.eot');
    src: url('poppins-regular.eot?#iefix') format('embedded-opentype'),
        url('poppins-regular.woff2') format('woff2'),
        url('poppins-regular.woff') format('woff'),
        url('poppins-regular.ttf') format('truetype'),
        url('poppins-regular.svg#poppinsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsmedium';
    src: url('poppins-medium.eot');
    src: url('poppins-medium.eot?#iefix') format('embedded-opentype'),
        url('poppins-medium.woff2') format('woff2'),
        url('poppins-medium.woff') format('woff'),
        url('poppins-medium.ttf') format('truetype'),
        url('poppins-medium.svg#poppinsmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsextrabold';
    src: url('poppins-extrabold.eot');
    src: url('poppins-extrabold.eot?#iefix') format('embedded-opentype'),
        url('poppins-extrabold.woff2') format('woff2'),
        url('poppins-extrabold.woff') format('woff'),
        url('poppins-extrabold.ttf') format('truetype'),
        url('poppins-extrabold.svg#poppinsextrabold') format('svg');
    font-weight: normal;
    font-style: normal;
}



:root {
    --primary-green: #7AB51D;
    --primary-green-rgb: 122, 181, 29;
    --primary-green-hover: #6ea31a;
    --primary-green-light: rgba(122, 181, 29, 0.1);
    --primary-green-border: rgba(122, 181, 29, 0.2);
}

html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Primary Color Overrides */
.text-primary {
    color: var(--primary-green) !important;
    font-family: 'poppinsregular';
}

.bg-primary {
    background-color: var(--primary-green) !important;
}

.btn-primary {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-green-hover) !important;
    border-color: var(--primary-green-hover) !important;
}

.btn-outline-primary {
    color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green) !important;
    color: white !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-green) !important;
}

a {
    color: var(--primary-green);
}

a:hover {
    color: var(--primary-green-hover);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-green-border);
    border-color: var(--primary-green);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'poppinsregular', Arial, sans-serif !important;
}

b,
strong,
th,
h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold,
.bold,
.btn,
[style*="font-weight: 700"],
[style*="font-weight: bold"],
[style*="font-weight:700"] {
    font-family: 'poppinsbold', Arial, sans-serif !important;
    font-weight: normal !important;
}

.wizard-step-banner {
    color: white;
    padding: 10px 30px;
    font-family: 'poppinsbold', Arial, sans-serif !important;
    font-size: 16px;
    font-weight: normal !important;
    background-color: var(--primary-green);
    clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.navbar-brand {
    color: var(--primary-green) !important;
    font-family: 'poppinsbold', Arial, sans-serif !important;
    font-weight: normal !important;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

/* Resizable Table Columns */
.table-resizable {
    border-collapse: collapse;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.table-resizable th {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.table-resizable td,
.table-resizable select,
.table-resizable input {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    cursor: col-resize;
    user-select: none;
    height: 100%;
    z-index: 10;
}

.resizer:hover,
.resizing {
    background: var(--primary-green-light);
    border-right: 2px solid var(--primary-green);
}

.table-header-green,
.table-header-green th,
.table-header-green td {
    background-color: #f1f9ec !important;
}

/* Custom Header Styling */
.navbar-brand-custom {
    color: var(--primary-green) !important;
    font-family: 'poppinsbold';
    font-size: 20px;
    text-decoration: none;
}

.btn-new-conversion {
    background-color: #00A88F;
    color: white !important;
    padding: 8px 30px 8px 40px;
    font-family: 'poppinsbold';
    font-size: 14px;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    text-transform: none;
    display: inline-block;
    text-decoration: none;
    border: none;
}

.btn-new-conversion:hover {
    background-color: #008f79;
}

.header-separator {
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    margin: 15px 0 25px 0;
    border: none;
}

/* Culture / Language Switcher */
.culture-switcher {
    border: 1px solid var(--primary-green);
    border-radius: 20px;
    padding: 2px;
    background-color: #f8f9fa;
    display: inline-flex;
    align-items: center;
}

.culture-switcher .lang-btn {
    border-radius: 16px;
    padding: 3px 12px;
    font-family: 'poppinsbold';
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    line-height: 1.5;
}

.culture-switcher .lang-btn:hover {
    color: var(--primary-green);
    background-color: rgba(122, 181, 29, 0.1);
}

.culture-switcher .lang-btn.active {
    background-color: var(--primary-green) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(122, 181, 29, 0.3);
}