/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
    --primary-color: #8287FA;
    --secondary-color: #FF8700;
    --background-color: #f5f7fa;
    --card-color: #ffffff;
    --text-color: #010304;
    --border-color: #e0e0e0;
    --error-color: #e74c3c;
    --warning-color: #FF8700;
    --success-color: #7ECB19;
}

/* --- Globale Stijlen & Reset --- */
body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
}

/* Prevent any element from expanding beyond its container */
* {
    box-sizing: border-box;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.app-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 0; /* Ensures flex items can shrink */
}

.validation-page .app-content {
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0 auto;
}

/* --- App Header & Knoppen --- */
.app-header {
    background-color: var(--card-color);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.app-logo {
        display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo images - no filter needed for light theme */
.app-logo img,
.app-header .app-logo img,
header .app-logo img {
    filter: none !important;
}

.app-title h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.app-title p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.version-badge {
    font-size: 10px;
    color: #999;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

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

.feedback-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, background-color 0.2s, border-color 0.2s;
    box-shadow: none;
}

.feedback-btn:hover {
    background-color: #f5f7fa;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.feedback-btn:active {
    transform: translateY(0) scale(0.98);
}

.new-validation-btn {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, background-color 0.2s;
    box-shadow: none;
}

.new-validation-btn:hover {
    background-color: #6d72e8;
    border-color: #6d72e8;
    transform: translateY(-1px);
}

.new-validation-btn:active {
    transform: translateY(0) scale(0.98);
}

.new-validation-btn img {
    filter: brightness(0) invert(1);
}

/* --- Validatie Pagina Specifiek (Oude app.css) --- */
.validation-page {
    --primary-color: #8287FA;
    --secondary-color: #FF8700;
    --background-color: #f5f7fa;
    --card-color: #ffffff;
    --border-color: #e0e0e0;
    background-color: var(--background-color);
}

.validation-page .app-content {
    background-color: var(--background-color);
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0 auto;
}

.validation-page .validation-card {
    width: 100%;
    min-width: 450px;
    max-width: 600px;
    margin: 20px auto 0 auto;
}

.validation-page .app-header {
    background-color: var(--card-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.validation-page .app-title h1 {
    color: var(--text-color);
}

.validation-page .app-title p {
    color: #666;
}

.validation-page .new-validation-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.validation-page .new-validation-btn:hover {
    background-color: #6d72e8;
    border-color: #6d72e8;
    box-shadow: none;
    transform: translateY(-1px);
}

.validation-page .new-validation-btn:active {
    transform: translateY(0) scale(0.98);
}

.validation-page .new-validation-btn img {
    filter: brightness(0) invert(1);
}

.validation-page .feedback-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    box-shadow: none;
}

.validation-page .feedback-btn:hover {
    background-color: #f5f7fa;
    border-color: var(--primary-color);
    box-shadow: none;
}

/* --- Validatie Formulier Stijlen (Oude app.css) --- */
.validation-card {
    background-color: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    margin-top: 20px;
    width: 100%;
    min-width: 600px;
    box-sizing: border-box;
}

.validation-page .validation-card {
    background-color: var(--card-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Login page specific - smaller card */
.login-page .validation-card {
    max-width: 450px;
}

.validation-card h2 {
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.validation-page .validation-card h2 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 24px;
}

.validation-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.validation-page .validation-header {
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.validation-page .validation-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.validation-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.validation-page .validation-subtitle {
    color: #666;
}

.form-section {
    margin-bottom: 32px;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;
    gap: 12px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    flex-shrink: 0;
}

.validation-page .section-title {
    color: var(--text-color);
}

.section-hint {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background-color: #f5f7fa;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.validation-page .section-hint {
    color: #666;
    background-color: #f5f7fa;
}

.section-hint.optional {
    color: #95a5a6;
}

.validation-page .section-hint.optional {
    color: #95a5a6;
}

/* Required hint - use primary color */
.validation-page .section-hint:not(.optional) {
    color: var(--primary-color);
    background-color: rgba(130, 135, 250, 0.1);
}

.field-hint {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #95a5a6;
    line-height: 1.5;
    padding-left: 2px;
}

.validation-page .field-hint {
    color: #666;
}

/* Collapsible Section */
.form-section-collapsible {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.form-section-collapsible:hover {
    border-color: #CFC7B5;
}

.validation-page .form-section-collapsible {
    border-color: var(--border-color);
}

.validation-page .form-section-collapsible:hover {
    border-color: var(--border-color);
}

.validation-page .section-toggle-btn:hover {
    background-color: transparent;
}

.section-toggle-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: background-color 0.2s;
}

.section-toggle-btn:hover {
    background-color: #fafafa;
}

.section-toggle-btn .section-header {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.section-toggle-icon {
    color: #666;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.section-toggle-icon.open {
    transform: rotate(180deg);
}

.utm-section-content {
    padding: 0 20px 20px 20px;
    animation: slideDown 0.2s ease-out;
}

.utm-section-content .utm-input-group:last-child {
    margin-bottom: 0;
}

/* UTM Inklapbare Component (Nieuw) */
.utm-section-wrapper {
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--card-color);
    overflow: hidden;
}

.validation-page .utm-section-wrapper {
    border: 1px solid var(--border-color);
    background-color: var(--card-color);
}

.utm-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.utm-toggle-header:hover {
    background-color: #f5f7fa;
}

.validation-page .utm-toggle-header:hover {
    background-color: #f5f7fa;
}

.utm-toggle-header .section-label {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validation-page .utm-toggle-header .section-label {
    color: var(--text-color);
}

.utm-section {
    padding: 0 15px 15px 15px;
    animation: fadeIn 0.3s ease-in-out;
    margin-bottom: 0; /* Override previous margin */
}

/* Chevron Icoon Stijl (Nieuw) */
.chevron-icon {
    color: var(--text-color);
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.chevron-icon:hover {
    opacity: 1;
}

.chevron-icon.rotated {
    transform: rotate(180deg);
}

.validation-page .chevron-icon {
    color: var(--text-color);
}

.utm-description {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.validation-page .utm-description {
    color: #666;
}

/* Modus Kiezer */
.mode-selector {
    display: flex;
    background-color: #f0f2f5;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 16px;
    width: 100%;
    gap: 4px;
    border: 1px solid var(--border-color);
}

.validation-page .mode-selector {
    background-color: #f0f2f5;
    border: 1px solid var(--border-color);
}

.mode-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    transition: all 0.2s ease;
    height: 48px;
    min-width: 0;
}

.mode-btn .mode-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.mode-btn.active {
    background-color: var(--card-color);
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mode-btn:hover:not(.active) {
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
}

.validation-page .mode-btn {
    color: #666;
}

.validation-page .mode-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(130, 135, 250, 0.3);
}

.validation-page .mode-btn:hover:not(.active) {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.5);
}

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

.input-section {
    margin-bottom: 0;
    margin-top: 0;
    transition: opacity 0.2s ease;
    width: 100%;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Fields & Textareas */
.app-input, .app-textarea {
    width: 100%;
    border: 1px solid #CFC7B5;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}

.validation-page .app-input,
.validation-page .app-textarea {
    border-color: var(--border-color);
    background-color: #ffffff;
    color: var(--text-color);
}

.validation-page .app-input::placeholder,
.validation-page .app-textarea::placeholder {
    color: #95a5a6;
}

.app-input {
    height: 50px;
    min-height: 50px;
}

.app-textarea {
    min-height: 120px;
    resize: vertical;
}

.app-input:focus, .app-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(130, 135, 250, 0.1);
}

.validation-page .app-input:focus,
.validation-page .app-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(130, 135, 250, 0.1);
}

.option-item {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.option-item .ea-select {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.option-item .form-label,
.utm-label {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.validation-page .option-item .form-label,
.validation-page .utm-label {
    color: var(--text-color);
}

.option-item .ea-select .selected {
    background: var(--card-color);
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    width: 100%;
    min-width: 0;
    border-radius: 12px !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.2s ease;
    min-height: 50px;
    height: auto;
}

.validation-page .option-item .ea-select .selected {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-color);
}

.option-item .ea-select .selected.placeholder,
.option-item .ea-select .selected[data-placeholder="true"] {
    color: #95a5a6 !important;
}

.option-item .ea-select.has-value .selected {
    color: var(--text-color);
}

.validation-page .option-item .ea-select .selected.placeholder,
.validation-page .option-item .ea-select .selected[data-placeholder="true"] {
    color: #95a5a6 !important;
}

.validation-page .option-item .ea-select.has-value .selected {
    color: var(--text-color);
}

.option-item .ea-select .selected:hover {
    border-color: var(--border-color);
    background-color: #f5f7fa;
}

.validation-page .option-item .ea-select .selected:hover {
    border-color: var(--border-color);
    background-color: #fafafa;
}

.option-item .ea-select .selected.placeholder:hover {
    color: #95a5a6;
}

.option-item .ea-select .selected:focus,
.option-item .ea-select .selected:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(130, 135, 250, 0.1);
    outline: none;
}

.validation-page .option-item .ea-select .selected:focus,
.validation-page .option-item .ea-select .selected:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(130, 135, 250, 0.1);
}

.option-item .ea-select .selected .icon {
    width: 20px;
    height: 20px;
    display: block;
    position: static !important;
    flex-shrink: 0;
    margin-left: 8px;
    top: auto !important;
    right: auto !important;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.option-item .ea-select .selected:hover .icon {
    opacity: 0.7;
}

.option-item .ea-select .selected:hover .icon:not(.open) {
    transform: translateY(2px);
}

.option-item .ea-select .selected.placeholder .icon {
    opacity: 0.5;
}

.option-item .ea-select.has-value .selected .icon {
    opacity: 0.5;
}

.option-item .ea-select .selected .icon.open,
.option-item .ea-select[aria-expanded="true"] .selected .icon {
    transform: rotate(180deg);
}

.validation-page .option-item .ea-select .selected .icon {
    opacity: 0.5;
    filter: none;
}

.validation-page .option-item .ea-select .selected:hover .icon {
    opacity: 0.7;
    filter: none;
}

.validation-page .option-item .ea-select .selected:hover .icon:not(.open) {
    transform: translateY(2px);
}

.validation-page .option-item .ea-select .selected.placeholder .icon {
    opacity: 0.5;
    filter: none;
}

.validation-page .option-item .ea-select.has-value .selected .icon {
    opacity: 0.5;
    filter: none;
}

.validation-page .option-item .ea-select .selected .icon.open,
.validation-page .ea-select[aria-expanded="true"] .selected .icon {
    transform: rotate(180deg);
    filter: none;
}

.option-item .ea-select .options {
    border-radius: 12px !important;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    background: var(--card-color);
    overflow: hidden;
}

.validation-page .option-item .ea-select .options {
    border-color: var(--border-color);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.option-item .ea-select .options .option {
    padding: 12px 18px;
    border-radius: 0;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 15px;
}

.option-item .ea-select .options .option:hover:not(.disabled) {
    background-color: #F4F1EB;
    color: var(--text-color);
}

.validation-page .option-item .ea-select .options .option {
    color: var(--text-color);
}

.validation-page .option-item .ea-select .options .option:hover:not(.disabled) {
    background-color: #F4F1EB;
    color: var(--text-color);
}

.option-item .ea-select .options .option.disabled {
    color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.option-item .ea-select .options .option:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.option-item .ea-select .options .option:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.section-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #666;
}

/* New UTM Parameters Section with Input Fields */
.utm-input-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
    width: 100%;
}

.utm-toggle {
    flex-shrink: 0;
    margin-top: 28px; /* Align checkbox with input field */
    display: flex;
    align-items: center;
    justify-content: center;
}

.utm-input-wrapper {
    flex: 1;
    min-width: 0;
}

.utm-input {
    height: 44px;
    transition: opacity 0.2s;
}

.utm-input.disabled {
    opacity: 0.5;
}

.validation-page .utm-input {
    border-color: var(--border-color);
    background-color: #ffffff;
    color: var(--text-color);
}

.validation-page .utm-input::placeholder {
    color: #95a5a6;
}

.validation-page .utm-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(130, 135, 250, 0.1);
}

/* Custom checkbox */
.checkbox-container {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
    height: 20px;
    width: 20px;
    margin: 0;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--card-color);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.validation-page .checkmark {
    background-color: #eee;
    border-color: var(--border-color);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f5f5f5;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.validation-page .checkbox-container:hover input ~ .checkmark {
    background-color: #f5f7fa;
    border-color: var(--primary-color);
}

.validation-page .checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Toggle Switch */
.toggle-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 20px;
}

.toggle-label-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    cursor: pointer;
}

.validation-page .toggle-label {
    color: var(--text-color);
}

.toggle-hint {
    font-size: 13px;
    color: #95a5a6;
    line-height: 1.4;
    margin: 0;
}

.validation-page .toggle-hint {
    color: #95a5a6;
}

.validation-page input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.validation-page .toggle-switch:hover input:not(:checked) + .toggle-slider {
    background-color: rgba(255, 135, 0, 0.3);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.validation-page input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* --- Submit Button (Corrected Purple Style) --- */
.submit-button {
    /* New style: purple */
    background-color: #7B45B3;
    color: #FFFFFF;

    width: 100%;
    padding: 16px 24px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(249, 209, 58, 0.2);
    height: 56px;
    min-height: 56px;
}

.validation-page .submit-button {
    background-color: var(--primary-color); /* Terug naar primary color voor validation-page context */
    color: #ffffff;
    box-shadow: none;
}

.submit-button span {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.submit-button img {
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.validation-page .submit-button img {
    filter: brightness(0) invert(1);
}

.validation-page .submit-button:hover:not(:disabled) img {
    transform: translateX(4px);
    filter: brightness(0) invert(1);
}

.validation-page .submit-button:active img {
    transform: translateX(2px);
}

.submit-button:hover:not(:disabled) {
    background-color: #6A3A9C; /* Donkerder paars voor hover */
    box-shadow: 0 2px 8px rgba(123, 69, 179, 0.3); /* Paarse schaduw */
    transform: translateY(-1px);
}

.validation-page .submit-button:hover:not(:disabled) {
    background-color: #6d72e8; /* Primaire kleur hover */
    box-shadow: 0 2px 8px rgba(130, 135, 250, 0.3);
    transform: translateY(-1px);
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:disabled {
    background-color: var(--primary-color);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.8;
}

.validation-page .submit-button:disabled {
    background-color: var(--primary-color);
    color: #ffffff;
    opacity: 0.8;
}

.submit-button:disabled:hover {
    background-color: var(--primary-color);
    transform: none;
}

.validation-page .submit-button:disabled:hover {
    background-color: var(--primary-color);
    transform: none;
}

.bouncing-arrow {
    animation: bounce-right 0.6s ease-in-out infinite;
}

@keyframes bounce-right {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

/* --- Responsive & Media Queries --- */
@media (max-width: 1024px) {
    .main-content-container {
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .main-content-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .left-section {
        width: 45%;
    }
    .right-section {
        width: 55%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .validation-card {
        padding: 24px;
    }

    .form-section {
        margin-bottom: 24px;
    }

    .section-header {
        gap: 8px;
    }

    .toggle-option {
        gap: 16px;
    }

    .submit-button {
        height: 50px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 8px;
    }

    .mode-btn {
        padding: 10px 12px;
        height: 44px;
        font-size: 13px;
    }

    .option-item .ea-select .selected {
        min-height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .main-content-container {
        gap: 16px;
    }
    .section-header {
        padding: 12px 16px;
    }
    .info-badges-container {
        padding: 12px 16px;
    }
    .issues-grid {
        padding: 12px 16px 16px;
        gap: 12px;
    }
    .issue-icon-container {
        width: 36px;
        height: 36px;
    }
    .issue-count {
        font-size: 18px;
    }
    .tab-content {
        padding: 16px;
    }
}

/* --- App Footer & Notification --- */
.app-footer {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: #95a5a6;
    background-color: var(--card-color);
    border-top: 1px solid var(--border-color);
}

.app-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-out;
    max-width: 90%;
    text-align: center;
}

.app-notification.show {
    transform: translateX(-50%) translateY(0);
}

/* --- Layout Contianers --- */
.content-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}

.main-content-container {
    display: flex;
    flex: 1;
    overflow: hidden !important;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .main-content-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: calc(100vh - 20px);
    }
}

.left-section,
.right-section {
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* --- Resultaten Overzicht --- */
.results-summary-section {
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.results-summary-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--text-color);
}

.summary-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.summary-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    background-color: #f5f7fa;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    width: calc(25% - 12px);
    min-width: 220px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
}

.summary-item:hover {
    background-color: #e8ecef;
    transform: translateY(-2px);
}

.summary-item.has-issues {
    background-color: rgba(231, 76, 60, 0.2);
    border-color: var(--error-color);
}

.summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: #fff;
    margin-right: 14px;
}

.summary-item.has-issues .summary-icon {
    background-color: var(--error-color);
}

.summary-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
}

.summary-count {
    font-size: 16px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: #fff;
    color: var(--text-color);
    text-align: center;
    border: 1px solid var(--border-color);
}

.summary-item.has-issues .summary-count {
    background-color: var(--error-color);
    color: #fff;
    border-color: var(--error-color);
}

/* --- Email Preview Sectie --- */
.email-preview-section {
    display: flex;
    flex-direction: column;
    background-color: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-column: 1;
    border: 1px solid var(--border-color);
    padding: 0;
}

.email-preview-section * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/*.email-preview-section pre,*/
/*.email-preview-section code,*/
/*.email-preview-section .html-code-display,*/
/*.email-preview-section .code-container,*/
/*.email-preview-section .code-scroll-area,*/
/*.email-preview-section pre *,*/
/*.email-preview-section code * {*/
/*    max-width: 100% !important;*/
/*    width: 100% !important;*/
/*    overflow-x: hidden !important;*/
/*    word-break: break-all !important;*/
/*    overflow-wrap: break-word !important;*/
/*    box-sizing: border-box !important;*/
/*    hyphens: auto !important;*/
/*    white-space: pre-wrap !important;*/
/*}*/

.preview-placeholder-container {
    height: 100%;
}

.preview-placeholder {
    background-color: #f4f6f8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    height: 100%;
    min-height: 500px;
    border: 1px solid var(--border-color);
}

.preview-icon {
    color: #95a5a6;
    margin-bottom: 12px;
}

.preview-placeholder p {
    color: #95a5a6;
    font-size: 14px;
    margin: 0;
}

.email-preview-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.view-toggle-buttons {
    display: flex;
    background-color: #f0f2f5;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid var(--border-color);
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
}

.view-toggle-btn:hover {
    color: var(--text-color);
}

.view-toggle-btn.active {
    background-color: white;
    color: var(--text-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.device-selector-bar {
    padding: 8px 16px;
    background-color: #f0f2f5;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-start;
}

.preview-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.device-selector {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.device-selector-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.device-selector-trigger:hover {
    background-color: #f9fafb;
    border-color: var(--primary-color);
}

.device-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chevron {
    transition: transform 0.2s ease;
    color: #666;
}

.chevron.open {
    transform: rotate(180deg);
}

.device-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    min-width: 140px;
}

.device-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.device-option:hover {
    background-color: #f9fafb;
}

.device-option:last-child {
    border-bottom: none;
}

.device-option.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: none;
}

@media (max-width: 768px) {
    .device-selector-bar {
        padding: 6px 12px;
    }
    
    .device-selector-trigger {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .device-option {
        padding: 6px 10px;
        font-size: 13px;
    }
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.copy-btn:hover {
    background-color: #6d72e8;
}

.preview-content-container {
    flex: 1;
    overflow: hidden !important;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: all 0.3s ease;
}

.preview-content-container .code-scroll-area {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

.preview-content-container.device-desktop iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    border-radius: 0;
    transition: width 0.3s ease;
}

.preview-content-container.device-mobile iframe {
    width: 375px; /* Mobile width */
    height: 100%;
    min-height: 600px;
    border: none;
    border-radius: 0;
    margin: 0 auto;
    display: block;
    transition: width 0.3s ease;
}

.preview-content-container.device-desktop .preview-scroll-area,
.preview-content-container.device-mobile .preview-scroll-area {
    width: 100%;
    height: 100%;
}

.preview-scroll-area {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.preview-content {
    padding: 16px;
    background-color: #ffffff;
}

/* --- HTML Code Weergave --- */
.code-scroll-area {
    height: 100%;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.code-scroll-area [data-slot="scroll-area-viewport"] {
    overflow-x: auto !important;
    overflow-y: auto !important;
    width: 100%;
    height: 100%;
    display: block;
    scrollbar-width: thin;
    scrollbar-color: #555 #2a2a2a;
}

/* Custom scrollbar voor code-scroll-area viewport (Webkit browsers) */
.code-scroll-area [data-slot="scroll-area-viewport"]::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.code-scroll-area [data-slot="scroll-area-viewport"]::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 6px;
}

.code-scroll-area [data-slot="scroll-area-viewport"]::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 6px;
    border: 2px solid #2a2a2a;
}

.code-scroll-area [data-slot="scroll-area-viewport"]::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.code-scroll-area [data-slot="scroll-area-viewport"]::-webkit-scrollbar-corner {
    background: #2a2a2a;
}

.html-code-display {
    padding: 20px 20px 20px 70px; /* Meer padding */
    margin: 0;
    background-color: #1e1e1e; /* Donkere achtergrond */
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px; /* Grotere lettergrootte */
    white-space: pre;
    word-break: normal;
    overflow: visible;
    max-width: none;
    width: max-content;
    min-width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    line-height: 1.5; /* Verbeterde regelafstand */
    overflow-wrap: normal;
    table-layout: fixed;
    color: #e0e0e0; /* Lichte tekstkleur */
    border-radius: 8px; /* Grotere randen */
    border: 1px solid #3a3a3a;
    position: relative;
    counter-reset: line;
}

.html-code-display code {
    /* Reset van de te kleine waarden uit de globale of Prism stijlen */
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #e0e0e0 !important; /* Lichte tekstkleur voor donkere achtergrond */

    /* Zorg dat de layout eigenschappen correct blijven */
    word-break: normal !important;
    overflow-wrap: normal !important;
    max-width: none !important;
    min-width: max-content !important;
    hyphens: auto !important;
    white-space: pre;
    display: block;
}

/* Custom HTML syntax highlighting voor donkere achtergrond */
.html-code-display code .html-tag {
    color: #569cd6 !important; /* Blauw voor < en > */
}

.html-code-display code .html-tag-name {
    color: #4ec9b0 !important; /* Turquoise voor tag namen (default) */
    font-weight: 500;
}

/* Structurele elementen (table, tr, td, etc.) */
.html-code-display code .html-tag-structural {
    color: #86c5ff !important; /* Lichtblauw voor structurele elementen */
    font-weight: 500;
}

/* Link elementen */
.html-code-display code .html-tag-link {
    color: #4fc1ff !important; /* Helderblauw voor links */
    font-weight: 500;
}

/* Media elementen */
.html-code-display code .html-tag-media {
    color: #ff6b9d !important; /* Roze voor media elementen */
    font-weight: 500;
}

/* Form elementen */
.html-code-display code .html-tag-form {
    color: #c586c0 !important; /* Paars voor form elementen */
    font-weight: 500;
}

/* Text elementen */
.html-code-display code .html-tag-text {
    color: #ce9178 !important; /* Oranje voor text elementen */
    font-weight: 500;
}

/* List elements */
.html-code-display code .html-tag-list {
    color: #b5cea8 !important; /* Light green for list elements */
    font-weight: 500;
}

/* Semantic elementen */
.html-code-display code .html-tag-semantic {
    color: #d7ba7d !important; /* Goud voor semantic elementen */
    font-weight: 500;
}

/* Meta elementen */
.html-code-display code .html-tag-meta {
    color: #808080 !important; /* Grijs voor meta elementen */
    font-weight: 500;
    font-style: italic;
}

/* Script en style */
.html-code-display code .html-tag-script {
    color: #f48771 !important; /* Zalmroze voor script/style */
    font-weight: 600;
}

/* Line breaks en separators */
.html-code-display code .html-tag-break {
    color: #6a9955 !important; /* Green for breaks */
    font-weight: 500;
}

.html-code-display code .html-attr {
    color: #9cdcfe !important; /* Lichtblauw voor attribute namen */
}

.html-code-display code .html-attr-special {
    color: #dcdcaa !important; /* Geel voor class en id attributen */
    font-weight: 500;
}

.html-code-display code .html-attr-boolean {
    color: #c586c0 !important; /* Paars voor boolean attributen */
    font-weight: 500;
}

.html-code-display code .html-data-attr {
    color: #9cdcfe !important; /* Lichtblauw voor data-* attributen */
    font-weight: 500;
}

.html-code-display code .html-aria-attr {
    color: #9cdcfe !important; /* Lichtblauw voor aria-* attributen */
    font-weight: 500;
}

.html-code-display code .html-string {
    color: #ce9178 !important; /* Oranje voor string values */
}

.html-code-display code .html-string-url {
    color: #4fc1ff !important; /* Lichtblauw voor URL values */
    text-decoration: underline;
}

.html-code-display code .html-string-boolean {
    color: #c586c0 !important; /* Paars voor boolean values */
}

.html-code-display code .html-comment {
    color: #6a9955 !important; /* Green for comments */
    font-style: italic;
}

.html-code-display code .html-doctype {
    color: #808080 !important; /* Grijs voor DOCTYPE */
    font-style: italic;
}

.html-code-display code .html-cdata {
    color: #808080 !important; /* Grijs voor CDATA */
    font-style: italic;
}

.html-code-display code .html-entity {
    color: #d7ba7d !important; /* Goud voor HTML entities */
}

.html-code-display code .html-number {
    color: #b5cea8 !important; /* Light green for numbers */
}

.html-code-display code .html-unit {
    color: #b5cea8 !important; /* Light green for units (px, %, etc.) */
    font-weight: 500;
}

/* CSS highlighting */
.html-code-display code .html-css-property {
    color: #9cdcfe !important; /* Lichtblauw voor CSS properties */
    font-weight: 500;
}

.html-code-display code .html-css-value {
    color: #ce9178 !important; /* Oranje voor CSS values */
}

.html-code-display code .html-css-selector {
    color: #d7ba7d !important; /* Goud voor CSS selectors */
    font-weight: 500;
}

/* JavaScript highlighting */
.html-code-display code .html-js-keyword {
    color: #c586c0 !important; /* Paars voor JavaScript keywords */
    font-weight: 600;
}

.html-code-display code .html-event-handler {
    color: #4ec9b0 !important; /* Turquoise voor event handlers */
    font-weight: 500;
}

.html-code-display code .html-event-code {
    color: #ce9178 !important; /* Oranje voor event handler code */
}

.html-code-display code::before {
    counter-increment: line; /* Verhoog de teller voor elke code regel */
    content: counter(line); /* Toon de huidige tellerwaarde */

    /* Styling en positionering */
    display: inline-block;
    width: 50px; /* Vaste breedte voor uitlijning */
    margin-left: -70px; /* Verschuif naar de gereserveerde padding-left */
    padding-right: 10px;
    text-align: right;
    user-select: none;
    color: #888; /* Lighter color for line numbers so they stand out */
    font-weight: 500; /* Iets dikker voor betere zichtbaarheid */

    /* Scheidingslijn (Optioneel) */
    border-right: 1px solid #3a3a3a; /* Donkere lijn op donkere achtergrond */
    line-height: 1.5; /* Match de line-height van de code */
    height: 1.5em; /* Match de hoogte van de code */
}

/* Line numbers */
.code-container {
    display: flex;
    align-items: flex-start;
    font-family: monospace;
    font-size: 12px;
    width: max-content;
    min-width: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.line-numbers {
    text-align: right;
    padding-right: 8px;
    border-right: 1px solid #ddd;
    color: #888;
    user-select: none;
    flex-shrink: 0;
    min-width: 40px;
    max-width: 40px;
    font-size: 12px; /* Iets groter */
    line-height: 1.5;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.line-numbers span {
    display: block;
    height: 1.5em;
    line-height: 1.5em;
}

.error-line {
    background-color: #DD2222;
}

/* --- Analyse Sectie & Badges --- */
.analysis-section {
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    padding: 12px;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    grid-column: 2;
    border: 1px solid var(--border-color);
}

.section-header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.section-header h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.issues-detail-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.issues-header {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
}

.info-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.info-badge {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 6px 10px;
    flex: 1;
    min-width: calc(25% - 8px);
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.info-badge.status-badge {
    background-color: #f9f6f0;
}

.info-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
}

.status-indicator {
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.status-indicator.available {
    color: var(--success-color);
}

.status-indicator.missing {
    color: var(--warning-color);
}

.status-indicator::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-indicator.available::before {
    background-color: var(--success-color);
}

.status-indicator.missing::before {
    background-color: var(--warning-color);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.info-card {
    background-color: #F4F1EB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.check-icon, .warning-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-icon {
    color: var(--success-color);
}

.warning-icon {
    color: var(--warning-color);
}

.issue-value {
    font-size: 18px;
    padding: 4px 12px;
    border-radius: 100px;
    background-color: #e8f8f5;
    color: var(--success-color);
    display: inline-block;
}

.issue-value.has-issues {
    background-color: var(--error-color);
    color: #fff;
}

/* --- Tabs --- */
.tabs-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tab-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
}

.tab-button:hover {
    background-color: #f0f2f5;
    border-color: var(--primary-color);
    color: var(--text-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: none;
}

.issue-badge {
    background-color: #F9D13A;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    padding: 3px 8px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1;
    flex-shrink: 0;
}

.tab-content {
    background-color: var(--card-color);
    overflow: visible;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.tab-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

/* Styling voor titels in andere tabs (copy issues, files, url issues) - zelfde als HTML issues */
.copy-issues-header,
.image-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.image-stats .stat-item {
    font-size: 12px;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.image-stats .stat-item strong {
    color: #ffffff;
    font-weight: 600;
}

.images-section-header,
.url-issues-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
    min-width: 0;
    position: sticky;
    top: 48px;
    background-color: #1e1e1e;
    z-index: 10;
    padding: 12px 16px;
    margin-bottom: 0;
    margin-top: -1px;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
}

.images-section-header {
    flex-direction: column;
    align-items: flex-start;
}

.copy-issues-header h3,
.images-section-header h3,
.url-issues-header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    flex: 0 0 auto;
    min-width: 0;
}

/* Tab-header zonder ronde hoeken onderin wanneer gevolgd door copy-issues-header, images-section-header, url-issues-header of html-element-header */
.tab-header:has(+ .copy-issues-header),
.tab-header:has(+ .images-section-header),
.tab-header:has(+ .url-issues-header),
.tab-header:has(+ .html-element-header) {
    border-radius: 8px 8px 0 0;
}

.tab-content .copy-issues,
.tab-content .html-issues,
.tab-content .image-issues,
.tab-content .url-issues,
.tab-content .images-section,
.tab-content .copy-issues-container {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

.tab-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    padding: 12px 16px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tab-header:has(+ .html-element-header) {
    border-radius: 8px 8px 0 0;
}

.issues-detail-section {
    flex: 1;
    overflow: hidden;
    padding: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: 100%;
}

.element-details-content {
    overflow-y: auto !important;
    max-height: 400px !important;
}

/* --- Tabellen & Code Weergave --- */
.responsive-table {
    overflow-x: auto;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 10px;
    min-height: 0;
    flex: 1;
    display: block;
    background-color: var(--card-color);
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-height: 100%;
}

.responsive-table table {
    display: table;
    width: 100%;
    table-layout: fixed;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    flex: 1;
    min-height: 0;
    table-layout: fixed;
}

/* Make URL issues table wider */
.url-issues .responsive-table {
    min-width: 800px;
}

.url-issues table {
    min-width: 800px;
}

.images-section table {
    table-layout: auto;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

table .code-cell {
    width: 35%;
}

th {
    background-color: #f8f9fa;
    text-align: left;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Ensure sticky headers work in all tables */
.responsive-table table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

.images-section .responsive-table table thead th,
.url-issues .responsive-table table thead th,
.copy-issues-container .responsive-table table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

/* Consistent column widths for all tables */
table th:nth-child(1),
table td:nth-child(1) {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}

table th:nth-child(2),
table td:nth-child(2) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

table th:nth-child(3),
table td:nth-child(3) {
    width: auto;
    min-width: 200px;
}

table th:nth-child(4),
table td:nth-child(4) {
    width: auto;
    min-width: 150px;
}

/* Override for URL issues table - wider columns */
.url-issues table th:nth-child(3),
.url-issues table td:nth-child(3) {
    min-width: 400px;
    max-width: none;
    width: auto;
}

.url-issues table th:nth-child(4),
.url-issues table td:nth-child(4) {
    min-width: 200px;
}

td {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    vertical-align: middle;
    color: var(--text-color);
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

/* Zebra striping for better readability */
tbody tr:nth-child(even) td {
    background-color: #f8f9fa;
}

tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

/* Hover effect */
tbody tr:hover td {
    background-color: #f0f4f8;
    cursor: pointer;
}

tr:last-child td {
    border-bottom: none;
}

/* Better spacing for URL cells */
.url-cell code {
    display: block;
    padding: 4px 0;
    word-break: break-all;
    line-height: 1.5;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0;
    background-color: transparent !important;
    border-radius: 0 !important;
    vertical-align: middle;
    margin: 0 auto;
}

.status-icon svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: block;
    flex-shrink: 0;
}

.status-icon svg circle,
.status-icon svg path,
.status-icon svg line {
    fill: none !important;
    stroke: currentColor;
}

.status-icon.error-icon {
    color: #ef4444;
}

.status-icon.warning-icon {
    color: #f59e0b;
}

.status-icon.ok-icon {
    color: #10b981;
}

/* Center align icon cells in tables (2nd column) */
table td:nth-child(2) {
    text-align: center;
    vertical-align: middle;
}

table td:nth-child(2) .status-icon {
    margin: 0 auto;
}

/* Left align Issue column in URL issues table */
.url-issues table td:nth-child(4),
.url-issues table th:nth-child(4) {
    text-align: left;
}

/* Right align last column in Files table (Size column) */
.images-section table td:nth-child(4),
.images-section table th:nth-child(4) {
    text-align: right;
}

.text-cell, .url-cell {
    max-width: none;
    overflow-x: auto;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 400px;
}

.text-cell code,
.url-cell code {
    display: block;
    padding: 4px 0;
    word-break: break-all;
    line-height: 1.5;
    font-size: 13px;
    color: var(--text-color);
    white-space: pre-wrap;
}

/* URL Issues - Card Based Layout */
.url-issues-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.url-issue-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.url-issue-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.url-issue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.url-issue-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.row-badge {
    font-size: 11px;
    color: #999;
    background-color: #f5f7fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.url-issue-url {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.url-display {
    flex: 1;
    min-width: 0;
}

.url-display code {
    display: block;
    font-size: 13px;
    color: #333;
    word-break: break-all;
    line-height: 1.5;
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
    white-space: pre-wrap;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.url-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    color: #007bff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-width: 36px;
    height: 36px;
}

.url-open-btn:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
}

.url-open-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 123, 255, 0.2);
}

.url-issue-footer {
    display: flex;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.issue-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.code-cell {
    max-width: none;
    min-width: 0;
    width: 100%;
    overflow: visible;
    word-wrap: break-word;
    padding: 0;
    vertical-align: top;
}

.hidden {
    display: none !important;
}

.highlight-text {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
    display: inline-block;
    word-break: break-word;
}

.proposed-cell {
    background-color: #d4edda;
}

.proposed-cell .highlight-text {
    background-color: #d1ecf1;
}

.code-cell code {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-wrap: anywhere;
    display: block;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.html-code-display code,
.code-line {
    white-space: pre !important;
    word-break: normal;
    overflow-wrap: normal;
}

tr:hover {
    background-color: #f8f9fa;
}

.html-issue-row {
    transition: background-color 0.2s ease;
    border-left: 3px solid transparent;
}

.html-issue-row:hover {
    background-color: #f0f0f0;
}

.html-issue-row.expanded {
    background-color: #ffffff;
    border-left-color: var(--primary-color);
}

.html-issue-row td {
    padding: 14px 12px;
}

.html-issue-row td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.html-issue-details {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.html-issue-details-cell {
    border-top: none !important;
    padding: 24px !important;
    background-color: #ffffff;
    border-left: 3px solid var(--primary-color);
    width: 100%;
    max-width: 100%;
}

.html-issue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.html-issue-content > * {
    min-width: 0;
    max-width: 100%;
}

.html-code-display {
    position: relative;
}

.html-code-display.highlight-line-temp::after {
    content: "";
    position: absolute;
    left: 50px;
    right: 0;
    z-index: 1;
    top: calc(var(--highlight-line-index) * var(--highlight-line-height));
    height: var(--highlight-line-height);

    background-color: rgba(255, 193, 7, 0.6); /* Geel met hogere opacity voor donkere achtergrond - blijft permanent */
    transition: opacity 0.2s ease-in-out;
}

@media (max-width: 768px) {
    .html-issue-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.html-issue-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1;
}

.html-issue-code {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.html-issue-label {
    font-weight: 600;
    font-size: 12px;
    color: #495057;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.html-issue-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.html-issue-label-row .html-issue-label {
    margin-bottom: 0;
}

.html-issue-code code {
    margin: 0;
    padding: 16px;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.7;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: #212529;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.html-issue-column .proposed-cell code {
    background-color: #f0fff4;
    border-color: #d4edda;
}

/* Custom scrollbar for code blocks */
.html-issue-code code::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.html-issue-code code::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 5px;
}

.html-issue-code code::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 5px;
    border: 2px solid #f8f9fa;
}

.html-issue-code code::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.copy-proposed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
}

.copy-proposed-btn:hover {
    background-color: #6d72e8;
    transform: scale(1.05);
}

.copy-proposed-btn:active {
    transform: scale(0.95);
}

.copy-proposed-btn svg {
    width: 16px;
    height: 16px;
}

/* --- Afbeelding Kaarten --- */
.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.image-card {
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.image-card.oversized {
    border-color: var(--warning-color);
    background-color: #FEF9E7;
}

.image-info {
    padding: 16px;
}

.image-url {
    display: block;
    margin-bottom: 8px;
}

.image-url a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.image-url a:hover {
    text-decoration: underline;
}

.file-details {
    max-width: 100%;
}

.images-section table {
    table-layout: fixed;
    width: 100%;
}

/* Column widths are now handled by the general table rules above */

/* Apply zebra striping and hover effects to images table */
.images-section table tbody tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.images-section table tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

.images-section table tbody tr:hover td {
    background-color: #f0f4f8;
    cursor: pointer;
}

.images-section table td {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.images-section table th {
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

.warning-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--warning-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.image-filename {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-color);
}

.image-path {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.size-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    color: var(--success-color);
    background-color: #e8f8f5;
    display: inline-block;
}

.size-badge.oversized {
    color: var(--warning-color);
    background-color: #FEF2E0;
}

/* Image Preview Tooltip */
.image-preview-tooltip {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: inline-block;
    line-height: 0;
    width: auto;
    height: auto;
}

.image-preview-tooltip img {
    max-width: 200px;
    max-height: 200px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    aspect-ratio: unset;
}

/* URL Preview Tooltip */
.url-preview-tooltip {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: inline-block;
    width: auto;
    height: auto;
}

.url-preview-tooltip iframe {
    width: 400px;
    height: 300px;
    border: none;
    border-radius: 4px;
    display: block;
    background-color: #fff;
}

/* --- Email on Acid Integratie & Screenshots --- */
.email-on-acid-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-on-acid-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.email-on-acid-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.email-on-acid-preview-section {
    margin-bottom: 20px;
    background-color: var(--card-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.preview-title-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.client-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
}

.client-stats span {
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.total-clients {
    background: #e3f2fd;
    color: #1976d2;
}

.complete-clients {
    background: #e8f5e8;
    color: #2e7d32;
}

.processing-clients {
    background: #fff3e0;
    color: #f57c00;
}

.open-preview-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.open-preview-btn:hover {
    background-color: #218838;
}

.email-on-acid-iframe-container {
    padding: 16px;
    background-color: var(--card-color);
}

/* Screenshot Thumbnails Gallery */
.screenshot-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eaecef;
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .screenshot-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
        padding: 15px;
    }
}

@media (min-width: 1200px) {
    .screenshot-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    background: #e3f2fd;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.selected {
    border-color: var(--primary-color);
    background: rgba(130, 135, 250, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Status indicator */
.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid white;
}

.thumbnail-item[data-status="Complete"]::after {
    background: #28a745;
}

.thumbnail-item[data-status="Processing"]::after {
    background: #ffc107;
    animation: pulse 2s infinite;
}

.thumbnail-item[data-status="Pending"]::after {
    background: #6c757d;
}

.thumbnail-item[data-status="Bounced"]::after {
    background: #dc3545;
}

.thumbnail-image {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: none;
}

.thumbnail-info {
    margin-top: 8px;
    text-align: center;
}

.client-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-details {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-category-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 4px;
    text-transform: uppercase;
}

.client-category-badge.mobile,
.client-category-badge.application,
.client-category-badge.web {
    background: #007bff;
}

.selected-screenshot-container {
    background: var(--card-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.screenshot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.screenshot-header h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 16px;
}

.client-category {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.screenshot-display {
    padding: 20px;
    text-align: center;
}

.screenshot-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.screenshot-image:hover {
    transform: none;
}

/* Email on Acid Loading State */
.email-on-acid-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--card-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.loading-content {
    text-align: center;
    padding: 40px;
}

.loading-content h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.loading-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* --- Offcanvas Panel (Volledige weergave) --- */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.offcanvas-panel {
    background: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    width: 95%;
    max-width: 1400px;
    min-width: 900px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideInDown 0.3s ease-out;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.offcanvas-title h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.offcanvas-meta {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: nowrap;
}

.offcanvas-meta .client-category-badge {
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: baseline;
}

.offcanvas-meta .client-os,
.offcanvas-meta .client-browser {
    background: var(--background-color);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    line-height: 1;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: baseline;
}

.offcanvas-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.navigation-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 12px;
    padding: 6px 12px;
    background: var(--background-color);
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: none;
}

.nav-btn:hover:not(:disabled) {
    background: #6d72e8;
    transform: translateY(-1px);
    box-shadow: none;
}

.nav-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
    color: #999;
}

.offcanvas-action-btn,
.offcanvas-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.offcanvas-action-btn {
    background: var(--secondary-color);
    color: white;
}

.offcanvas-action-btn:hover {
    background: #e67700;
    transform: translateY(-1px);
    box-shadow: none;
}

.offcanvas-close-btn {
    background: var(--error-color);
    color: white;
}

.offcanvas-close-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: none;
}

.offcanvas-content {
    flex: 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-radius: 0 0 16px 16px;
}

.offcanvas-layout {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

.offcanvas-screenshot-area {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 0;
    background: var(--background-color);
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: #6b7280 transparent;
    border-radius: 0 0 0 16px;
}

.offcanvas-screenshot-area::-webkit-scrollbar {
    width: 8px;
}

.offcanvas-screenshot-area::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.offcanvas-screenshot-area::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.offcanvas-screenshot-area::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.screenshot-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-height: 100%;
    margin: 0;
    position: relative;
    padding: 20px;
}

.screenshot-wrapper:has(.screenshot-loading) {
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.screenshot-wrapper:has(.screenshot-error-placeholder) {
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.offcanvas-thumbnails-sidebar {
    width: 600px;
    min-width: 600px;
    border-left: 1px solid var(--border-color);
    background: var(--card-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 16px 0;
}

.thumbnails-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    column-count: 3;
    column-gap: 16px;
    column-fill: balance;
    scrollbar-width: thin;
    scrollbar-color: #6b7280 transparent;
}

.thumbnails-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.thumbnails-scroll-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.thumbnails-scroll-container::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.thumbnails-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.client-info-top {
    background: #f8f9fa;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.client-name-large {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.client-details-large {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.client-category-badge-large {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.client-os-large,
.client-browser-large {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.client-info-bottom {
    background: #f8f9fa;
    padding: 12px 20px;
    border-top: 1px solid #eaecef;
    border-radius: 0;
    margin-top: auto;
}

.screenshot-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #666;
}

.client-id {
    font-weight: 500;
}

.screenshot-status {
    font-weight: 500;
    text-transform: capitalize;
}

.offcanvas-screenshot {
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block;
    image-rendering: auto;
    margin: 0;
    background: white;
    transform: none;
    transform-origin: center;
}

.offcanvas-screenshot.loading {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.offcanvas-screenshot.hidden {
    display: none !important;
}

.offcanvas-screenshot.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Mobile screenshots - always 350px wide */
.mobile-screenshot,
.offcanvas-screenshot[data-category*="mobile" i],
.offcanvas-screenshot[data-category*="Mobile" i],
.offcanvas-screenshot[data-category*="MOBILE" i] {
    width: 350px !important;
    height: auto !important;
}

.offcanvas-screenshot:hover {
    transform: none;
}

/* Responsive offcanvas */
@media (max-width: 768px) {
    .offcanvas-panel {
        width: 100%;
        min-width: unset;
        height: 100vh;
    border-radius: 0;
    }

    .offcanvas-header {
        padding: 16px 20px;
        border-radius: 0;
    }

    .offcanvas-content {
        padding: 10px;
        overflow: auto;
    }

    .offcanvas-layout {
        flex-direction: column;
    }

    .offcanvas-thumbnails-sidebar {
        width: 100%;
        min-width: unset;
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-height: 200px;
    }

    .thumbnails-scroll-container {
        column-count: 2;
        column-gap: 12px;
    }

    .nav-thumbnail {
        margin-bottom: 12px;
    }

    .offcanvas-screenshot {
        max-width: 100%;
        max-height: 100%;
    }
}

/* --- Navigation Thumbnails (Sidebar) --- */
.nav-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    background: var(--background-color);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: inline-block;
    break-inside: avoid;
    margin-bottom: 16px;
    page-break-inside: avoid;
}

.nav-thumbnail:hover {
    border-color: var(--primary-color);
    background: var(--card-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-thumbnail.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-thumbnail .thumbnail-container {
    position: relative;
    width: 100%;
    min-height: 150px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px;
}

.thumbnail-placeholder.thumbnail-error {
    background: #f9f9f9;
    border: 1px dashed #ddd;
}

.thumbnail-placeholder-text {
    color: #999;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
}

.screenshot-error-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
}

.screenshot-error-icon {
    color: #999;
    margin-bottom: 16px;
}

.screenshot-error-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.screenshot-error-name {
    color: #999;
    font-size: 12px;
    margin: 0;
}

.nav-thumbnail .thumbnail-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    transition: opacity 0.3s ease;
}

.thumbnail-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--background-color);
}

.thumbnail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.thumbnail-error:hover {
    background: var(--card-color);
    border-color: var(--primary-color);
}

.thumbnail-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 8px;
    padding: 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.nav-thumbnail.active .thumbnail-label {
    color: var(--text-color);
    font-weight: 600;
}

.retry-text {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Laad- en Foutstaten --- */
.loading-card, .error-card {
    background-color: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
}

/* --- Empty State (Geen Issues) --- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    min-height: 300px;
    background-color: var(--card-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    animation: fadeIn 0.5s ease-out;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 2;
}

.empty-state p {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.empty-state p::before {
    content: "✓ ";
    color: #28a745;
    font-weight: 600;
    margin-right: 8px;
}

.spinner, .loading-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    animation: spin 1s infinite linear;
    margin: 0 auto 24px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: bounce-horizontal 1s infinite ease-in-out;
}

.error-icon {
    margin: 0 auto 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--error-color);
}

.action-button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.action-button:hover {
    background-color: #6d72e8;
}

.action-button:active {
    transform: scale(0.98);
}

.loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px 24px;
    margin: 40px auto;
    max-width: 500px;
    border: 1px solid var(--border-color);
}

.loading-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-color);
}

.loading-section p {
    font-size: 16px;
    color: #666;
    margin: 0;
    max-width: 400px;
    line-height: 1.6;
}

.bounce-animation-container {
    margin-bottom: 12px;
    height: 120px;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bouncing-logo {
    animation: tilt-bounce 3s infinite;
    position: relative;
    z-index: 2;
    transform-origin: bottom center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.shadow-element {
    width: 40px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 10px;
    filter: blur(4px);
    z-index: 1;
    animation: wobble-shadow 3s infinite;
}

.screenshot-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.screenshot-loader .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.screenshot-loader .loading-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.screenshot-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 40px;
    text-align: center;
    background: var(--background-color);
    border-radius: 12px;
    margin: 20px;
}

.screenshot-error-state .error-icon {
    font-size: 64px;
    color: #ef4444;
}

.screenshot-error-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.screenshot-error-state p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

.screenshot-error-state .retry-button {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.screenshot-error-state .retry-button:hover {
    background: #6d72e8;
    transform: translateY(-2px);
    box-shadow: none;
}

.thumbnail-error-state {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid var(--error-color);
    border-radius: 8px;
}

.thumbnail-error-state .error-icon {
    font-size: 20px;
    color: #ef4444;
}

.screenshot-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 40px;
    text-align: center;
    background: var(--background-color);
    border-radius: 12px;
    margin: auto;
    width: 100%;
    min-height: 400px;
}

.screenshot-loading .bounce-animation-container {
    margin-bottom: 0;
}

.screenshot-loading .loading-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 0;
}

.thumbnail-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    border-radius: 8px;
    min-height: 60px;
    border: 1px solid var(--border-color);
}

.thumbnail-loading .bounce-animation-container {
    margin-bottom: 0;
}

.offcanvas-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding: 40px;
    width: 100%;
}

.offcanvas-loading-content {
    text-align: center;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offcanvas-loading-content .bounce-animation-container {
    margin-bottom: 24px;
}

.offcanvas-loading-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    margin-top: 0;
}

.offcanvas-loading-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- Login Stijlen (Nieuw) --- */
.google-sso-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    margin-top: 15px;
    margin-bottom: 25px;
    background-color: #FFFFFF;
    color: #424242;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
}

.google-sso-button:hover:not(:disabled) {
    background-color: #F8F8F8;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.google-sso-button:active:not(:disabled) {
    background-color: #EEEEEE;
}

.google-sso-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #FFFFFF;
}

.google-sso-button img {
    margin-right: 12px;
}

.login-helper-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.validation-page .login-helper-text {
    color: #666;
}


.password-reset-container {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

.password-reset-btn {
    background: none;
    border: none;
    color: #4A90E2;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.2s, text-decoration 0.2s;
}

.password-reset-btn:hover {
    color: #357ae8;
    text-decoration: underline;
}

.password-reset-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.html-code-display {
    padding: 20px 20px 20px 70px; /* Reserveert ruimte voor nummers */
    background-color: #1e1e1e; /* Donkere achtergrond */
    color: #e0e0e0; /* Lichte tekstkleur */
    border: 1px solid #3a3a3a;
    /* ... andere stijlen ... */
    position: relative;
    counter-reset: line; /* ESSENTIAL: Start the counter */
    white-space: pre !important; /* Force respect for new lines */
}

/* The <code> tag, ensures that the formatting is preserved */
.html-code-display code {
    /* The !important is essential here to override all browser defaults or other styles */
    white-space: pre !important;
    display: block !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #e0e0e0 !important; /* Lichte tekstkleur voor donkere achtergrond */
    /* ... andere stijlen ... */
}

/* De individuele code-lijn elementen die in JavaScript zijn aangemaakt */
.code-line {
    display: block !important; /* Ensures that each span is a new line */
    line-height: 1.5 !important;
    min-height: 1.5em;
    white-space: pre !important; /* Zorgt dat inspringing in elke lijn wordt behouden */
}

/* De CSS-teller zelf (laatste versie van de implementatie) */
.code-line::before {
    counter-increment: line;
    content: counter(line);
    display: inline-block;
    width: 50px;
    margin-left: -70px;
    padding-right: 10px;
    text-align: right;
    user-select: none;
    color: #888; /* Lighter color for line numbers so they stand out */
    font-weight: 500; /* Iets dikker voor betere zichtbaarheid */
    border-right: 1px solid #3a3a3a; /* Donkere lijn op donkere achtergrond */
    line-height: 1.5 !important;
    height: 100%;
    white-space: pre; /* Behoudt de layout van de teller */
}

/* --- Animatie Keyframes --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-horizontal {
    0% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(-20px);
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes tilt-bounce {
    0% {
        transform: translateY(0) rotate(0deg);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    15% {
        transform: translateY(-25px) rotate(-6deg);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
    }
    30% {
        transform: translateY(3px) rotate(-3deg);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    40% {
        transform: translateY(-7px) rotate(-2deg);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
    }
    45% {
        transform: translateY(0) rotate(0deg);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
    }
    55% {
        transform: translateY(0) rotate(0deg);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    70% {
        transform: translateY(-25px) rotate(6deg);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
    }
    85% {
        transform: translateY(3px) rotate(3deg);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    95% {
        transform: translateY(-7px) rotate(2deg);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes wobble-shadow {
    0% {
        transform: scale(0.8) translateX(0);
        opacity: 0.3;
    }
    15% {
        transform: scale(0.6) translateX(5px);
        opacity: 0.15;
    }
    30% {
        transform: scale(0.7) translateX(3px);
        opacity: 0.25;
    }
    40% {
        transform: scale(0.65) translateX(2px);
        opacity: 0.2;
    }
    45%, 55% {
        transform: scale(0.8) translateX(0);
        opacity: 0.3;
    }
    70% {
        transform: scale(0.6) translateX(-5px);
        opacity: 0.15;
    }
    85% {
        transform: scale(0.7) translateX(-3px);
        opacity: 0.25;
    }
    95% {
        transform: scale(0.65) translateX(-2px);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.8) translateX(0);
        opacity: 0.3;
    }
}

/* --- Toast Notifications Styling --- */
.Toastify__toast-container {
    z-index: 9999;
}

.Toastify__toast {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 16px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 500;
    min-height: 56px;
    margin-bottom: 12px;
}

.Toastify__toast--success {
    background-color: #5FA015 !important;
    color: #ffffff !important;
}

.Toastify__toast--error {
    background-color: var(--error-color);
    color: #ffffff;
}

.Toastify__toast--info {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.Toastify__toast--warning {
    background-color: #F57C00;
    color: #ffffff;
}

.Toastify__toast-body {
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

.Toastify__toast--success .Toastify__toast-body {
    color: #ffffff !important;
}

.Toastify__toast--error .Toastify__toast-body {
    color: #ffffff;
}

.Toastify__toast--info .Toastify__toast-body {
    color: #ffffff !important;
}

.Toastify__toast--warning .Toastify__toast-body {
    color: #ffffff;
}

.Toastify__progress-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 3px;
}

.Toastify__progress-bar--success {
    background: rgba(50, 120, 10, 0.8) !important;
}

.Toastify__progress-bar--error {
    background: rgba(255, 255, 255, 0.3);
}

.Toastify__progress-bar--info {
    background: rgba(65, 75, 180, 0.9) !important;
}

.Toastify__progress-bar--warning {
    background: rgba(255, 255, 255, 0.3);
}

.Toastify__close-button {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.Toastify__close-button:hover {
    opacity: 1;
}

.Toastify__toast--success .Toastify__close-button,
.Toastify__toast--error .Toastify__close-button,
.Toastify__toast--info .Toastify__close-button {
    color: #ffffff;
}

.Toastify__toast--success .Toastify__close-button > svg,
.Toastify__toast--error .Toastify__close-button > svg,
.Toastify__toast--info .Toastify__close-button > svg {
    fill: #ffffff;
}

/* Toast icon styling */
.Toastify__toast--success .Toastify__toast-icon {
    color: #ffffff !important;
}

.Toastify__toast--success .Toastify__toast-icon svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.Toastify__toast--success svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}

/* Info toast icon styling */
.Toastify__toast--info .Toastify__toast-icon {
    color: #ffffff !important;
}

.Toastify__toast--info .Toastify__toast-icon svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.Toastify__toast--info svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.Toastify__toast--warning .Toastify__close-button {
    color: #ffffff;
}

.Toastify__toast--warning .Toastify__close-button > svg {
    fill: #ffffff;
}

/* Toast animations */
.Toastify__toast--rtl {
    direction: rtl;
}

.Toastify__toast--default {
    background-color: var(--primary-color);
    color: #ffffff;
}

.Toastify__toast-container--top-right {
    top: 20px;
    right: 20px;
}

.Toastify__toast-container--top-left {
    top: 20px;
    left: 20px;
}

.Toastify__toast-container--top-center {
    top: 20px;
}

.Toastify__toast-container--bottom-right {
    bottom: 20px;
    right: 20px;
}

.Toastify__toast-container--bottom-left {
    bottom: 20px;
    left: 20px;
}

.Toastify__toast-container--bottom-center {
    bottom: 20px;
}

/* --- HTML Element Issues Card Layout --- */
.html-element-check-issues {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.html-element-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
    min-width: 0;
    position: sticky;
    top: 48px;
    background-color: #1e1e1e;
    z-index: 10;
    padding: 8px 16px;
    margin-bottom: 0;
    margin-top: -1px;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.html-element-header h3 {
    color: #ffffff;
}

.html-element-header .html-element-tab {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.html-element-header .html-element-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

.html-element-header .html-element-tab.active {
    background: var(--primary-color);
    color: #ffffff;
}

.html-element-check-issues h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    min-width: 0;
}

.html-element-header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    width: 100%;
    min-width: 0;
}

@media (max-width: 768px) {
    .html-element-header {
    flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .html-element-check-issues h3 {
        width: 100%;
    }
}

.html-element-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.html-element-tab {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: var(--background-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.html-element-tab:hover {
    background: var(--card-color);
    transform: translateY(-1px);
}

.html-element-tab.active {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.html-element-issues-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.html-element-issues-cards .html-issue-card {
    width: 100%;
    display: block;
}

.html-issue-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    overflow: hidden;
}

.html-issue-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #d0d0d0;
}

.html-issue-card.selected {
    border-color: var(--primary-color);
    border-left-width: 4px;
    box-shadow: none;
    background-color: rgba(95, 75, 180, 0.05);
    transform: scale(1.01);
}

.html-issue-card.selected .html-issue-card-header {
    background-color: rgba(95, 75, 180, 0.08);
    border-bottom-color: var(--primary-color);
}

.html-issue-card.selected .html-issue-card-line-number {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.html-issue-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-color);
    flex-wrap: wrap;
}

.html-issue-card-status-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(220, 53, 69, 0.1);
}

.html-issue-card.status-ok .html-issue-card-status-icon {
    background-color: rgba(95, 160, 21, 0.1);
}

.html-issue-card.status-warning .html-issue-card-status-icon {
    background-color: rgba(255, 193, 7, 0.1);
}

.html-issue-card-line-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    padding: 4px 12px;
    background-color: var(--background-color);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
}

.html-issue-card-code-section {
    padding: 16px;
    background-color: #1e1e1e;
    border-top: 1px solid #3a3a3a;
    border-bottom: 1px solid #3a3a3a;
    position: relative;
}

.html-issue-card-code-wrapper {
    position: relative;
    padding-left: 70px;
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
}

.html-issue-card-code-line-number {
    position: absolute;
    left: 0;
    width: 55px;
    padding-right: 12px;
    text-align: right;
    color: #888;
    font-weight: 500;
    border-right: 1px solid #3a3a3a;
    user-select: none;
}

.html-issue-card-code {
    white-space: pre-wrap;
    word-break: break-word;
    color: #e0e0e0;
    padding-left: 12px;
}

.html-issue-card-header-error {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.html-issue-card-error-text {
    font-size: 11px;
    color: var(--error-color);
    line-height: 1.4;
    font-weight: 500;
}

.html-issue-card-header-success {
    font-size: 11px;
    color: var(--success-color);
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    min-width: 0;
}

.toggle-switch input {
    display: none;
}

.toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    order: 1;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .toggle-label {
    font-size: 12px;
    }
}

.toggle-slider {
    width: 40px;
    height: 22px;
    background-color: var(--border-color);
    border-radius: 11px;
    position: relative;
    transition: background-color 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    order: 2;
}

.toggle-slider.active {
    background-color: var(--primary-color);
}

.toggle-slider-handle {
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-slider.active .toggle-slider-handle {
    left: 20px;
}

.html-element-tab .issue-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.html-element-tab .issue-badge.tab-active {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.html-element-tab .issue-badge.tab-inactive {
    background-color: var(--error-color);
    color: #ffffff;
}

.html-element-tab .issue-badge.success-badge.tab-inactive {
    background-color: var(--success-color);
    color: #ffffff;
}
