:root {
    --bg-dark: #0f1115;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent-red: #ef4444;
    --accent-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.zoom-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Background Effects */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #4f46e5;
    animation: float 20s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #ec4899;
    animation: float 25s infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    animation: float 15s infinite alternate;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, 30px);
    }
}

/* Login Screen */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(20px);
}

.login-card .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.login-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

/* Layout */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.business-name-display {
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    white-space: nowrap;
}

.credits-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.credits-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.credits-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent-green);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    main {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Upload Section */
.upload-section h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.upload-zone {
    border: 2px dashed var(--card-border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--card-bg);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.icon-cloud {
    color: var(--primary);
    margin-bottom: 1rem;
}

.browser-btn {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.file-info {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--accent-green);
}

/* Controls */
.controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    color: white;
    padding: 0.75rem;
    padding-right: 2.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    /* Chrome-specific: remove default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    cursor: pointer;
}

select:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

select:focus {
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style options - works in Safari, limited in Chrome */
select option {
    background: var(--bg-dark);
    color: var(--text-main);
    padding: 0.75rem;
    font-size: 1rem;
}

select option:hover,
select option:focus,
select option:checked {
    background: var(--primary);
    color: white;
}

/* Chrome-specific: hide default arrow in IE/Edge */
select::-ms-expand {
    display: none;
}

/* Webkit browsers (Chrome, Safari) - try to style the dropdown */
select::-webkit-scrollbar {
    width: 8px;
}

select::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

select::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

select::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chrome-specific: Force dark background on select element */
@supports (-webkit-appearance: none) {
    select {
        background-color: rgba(0, 0, 0, 0.2) !important;
        color: white !important;
    }

    select:focus {
        background-color: rgba(0, 0, 0, 0.4) !important;
    }

    select option {
        background-color: var(--bg-dark) !important;
        color: var(--text-main) !important;
    }

    select option:checked,
    select option:focus {
        background-color: var(--primary) !important;
        color: white !important;
    }
}

.toggle-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.radio-label {
    flex: 1;
    position: relative;
}

.radio-label input {
    display: none;
}

.radio-label span {
    display: block;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.radio-label input:checked+span {
    background: var(--card-border);
    color: white;
    font-weight: 500;
}

#process-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

#process-btn:hover {
    background: var(--primary-hover);
}

#process-btn:disabled {
    background: #333;
    cursor: not-allowed;
    color: #666;
}

/* Preview Section */
.preview-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.standard-description {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.standard-description.hidden {
    display: none;
}

.badge {
    background: var(--accent-green);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.image-wrapper {
    width: 100%;
    min-height: 400px;
    max-height: 600px;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    position: relative;
    cursor: zoom-in;
    /* Chrome-specific: ensure wrapper is clickable */
    -webkit-user-select: none;
    user-select: none;
}

.preview-image {
    pointer-events: auto;
    cursor: zoom-in;
    /* Chrome-specific: ensure image is clickable */
    -webkit-user-select: none;
    user-select: none;
    /* Prevent drag in Chrome */
    -webkit-user-drag: none;
}

.image-wrapper:hover .zoom-hint {
    opacity: 1;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.feedback-section {
    margin-bottom: 1.5rem;
}

.feedback-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.image-details-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.feedback-textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.email-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Zoom Modal - Modern Design */
.zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    /* Break out of any parent positioning context */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Ensure it's positioned relative to viewport, not parent */
    inset: 0;
}

.zoom-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.zoom-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
    z-index: -1;
    /* Ensure backdrop covers full viewport */
    inset: 0;
    margin: 0;
    padding: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.zoom-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100%;
    min-height: 100%;
    background: rgba(15, 17, 21, 0.95);
    border: none;
    border-radius: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    margin: 0;
    padding: 0;
    flex: 1 1 100%;
    align-self: stretch;
    /* Ensure flex children can shrink */
    min-height: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.zoom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.zoom-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
}

.zoom-modal-title svg {
    color: var(--primary);
}

.zoom-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.zoom-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.zoom-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    transform: translateY(-1px);
}

.zoom-control-btn:active {
    transform: translateY(0);
}

.close-zoom-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    margin-left: 0.5rem;
}

.close-zoom-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.close-zoom-btn:active {
    transform: translateY(0);
}

.zoom-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    pointer-events: auto;
    min-height: 0;
    min-width: 0;
}

.zoom-image-wrapper {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
    padding: 2rem;
    box-sizing: border-box;
}

.zoom-image-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.zoom-image-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.zoom-image-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.zoom-image-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.zoomed-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    display: block;
}

.zoomed-image:active {
    cursor: grabbing;
}

.zoom-modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.zoom-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.zoom-info span {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-family: 'Inter', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .zoom-modal-container {
        width: 100%;
        height: 100%;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .zoom-modal-header {
        padding: 1rem;
    }

    .zoom-modal-content {
        padding: 1rem;
    }

    .zoom-control-btn {
        width: 32px;
        height: 32px;
    }

    .close-zoom-btn {
        width: 32px;
        height: 32px;
    }
}

.result-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-actions .primary-btn,
.result-actions .secondary-btn {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.result-actions #email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.result-actions #download-canvas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .result-actions {
        grid-template-columns: 1fr;
    }
}

.primary-btn,
.secondary-btn {
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    display: inline-block;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.primary-btn:hover {
    background: var(--primary-hover);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
}

.secondary-btn:hover {
    border-color: white;
    color: white;
}

.hidden {
    display: none;
}

.full-width {
    width: 100%;
}

/* Spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#process-btn.loading .spinner,
.primary-btn.loading .spinner {
    display: block;
}

#process-btn.loading span,
.primary-btn.loading span {
    display: none;
}

/* Validation Info */
/* Validation Icons */
.validation-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 0;
}

.validation-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.validation-icon:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.validation-icon-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.validation-icon-indicator.pass {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.validation-icon-indicator.fail {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.validation-icon-indicator.unknown {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.validation-icon-label {
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 500;
    flex: 1;
}

/* Validation Info as Icons */
/* Validation Info as Icons */
.validation-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0;
    background: transparent;
    max-height: none;
    overflow-y: visible;
}

.validation-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.validation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    /* Reduced gap */
    padding: 0.75rem;
    /* Reduced padding */
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 0.6rem;
    transition: all 0.2s;
}

.validation-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.validation-icon-wrapper {
    width: 28px;
    /* Smaller icon wrapper */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.3s;
}

.validation-icon-wrapper svg {
    width: 20px;
    /* Smaller svg */
    height: 20px;
}

/* Colors: Green for Good, Yellow for Bad/Unknown */
.validation-icon-wrapper.pass {
    color: #10b981;
    /* Green */
}

.validation-icon-wrapper.fail,
.validation-icon-wrapper.unknown {
    color: #f59e0b;
    /* Yellow */
}

.validation-label {
    font-size: 0.75rem;
    /* Smaller labels */
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}