/* ============================================
   TOOL VERIFICA FILE - VERSIONE MULTILINGUA
   ============================================ */
.verify-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.verify-header {
    text-align: center;
    margin-bottom: 40px;
}

.verify-header h1 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 12px;
}

.verify-header p {
    color: #6b7280;
    font-size: 16px;
}

/* Card principale */
.verify-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* ============================================
   SEZIONE MODALITÀ
   ============================================ */
.mode-selector {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.mode-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    text-align: center;
}

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

.mode-option {
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.mode-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.mode-option.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.mode-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.mode-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.mode-desc {
    font-size: 13px;
    color: #6b7280;
}

.mode-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #10b981;
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

/* ============================================
   SEZIONI STEP
   ============================================ */
.verify-step {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.verify-step:last-child {
    border-bottom: none;
}

.verify-step.hidden {
    display: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

/* ============================================
   FORMAT SELECTOR
   ============================================ */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.format-group-title {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

.format-group-title:first-child {
    margin-top: 0;
}

.format-option {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.format-option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.format-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.format-option .format-label {
    font-weight: 500;
    color: #1f2937;
    font-size: 14px;
}

.format-option .format-size {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Custom format inputs */
.custom-format {
    display: none;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.custom-format.visible {
    display: grid;
}

.custom-format input {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
}

.custom-format span {
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   DROPZONE
   ============================================ */
.verify-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.verify-dropzone:hover,
.verify-dropzone.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.verify-dropzone.has-file {
    border-color: #10b981;
    background: #ecfdf5;
}

.dropzone-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #9ca3af;
}

.verify-dropzone.has-file .dropzone-icon {
    color: #10b981;
}

.dropzone-text {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 8px;
}

.dropzone-text a {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

.dropzone-hint {
    font-size: 13px;
    color: #9ca3af;
}

.dropzone-filename {
    display: none;
    font-weight: 600;
    color: #059669;
    margin-top: 12px;
}

.verify-dropzone.has-file .dropzone-filename {
    display: block;
}

/* ============================================
   SUGGERIMENTO FORMATI
   ============================================ */
.suggested-formats {
    display: none;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid #93c5fd;
}

.suggested-formats.visible {
    display: block;
}

.suggested-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.suggested-icon {
    font-size: 32px;
}

.suggested-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
}

.suggested-subtitle {
    font-size: 14px;
    color: #3b82f6;
}

.file-detected-info {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.file-detected-info .label {
    font-size: 13px;
    color: #6b7280;
}

.file-detected-info .value {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.suggested-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-format {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.suggested-format:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.suggested-format.selected {
    border-color: #10b981;
    background: #ecfdf5;
}

.suggested-format.best-match {
    border-color: #10b981;
    border-width: 3px;
}

.match-indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.match-indicator.perfect {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.match-indicator.excellent {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.match-indicator.good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.match-indicator.acceptable {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.match-indicator.scalable {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.match-percent {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.match-label-small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.suggested-format-info {
    flex: 1;
}

.suggested-format-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.suggested-format-size {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.suggested-format-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.suggested-format-badge.perfect {
    background: #d1fae5;
    color: #065f46;
}

.suggested-format-badge.excellent {
    background: #dcfce7;
    color: #166534;
}

.suggested-format-badge.good {
    background: #dbeafe;
    color: #1e40af;
}

.suggested-format-badge.acceptable {
    background: #fef3c7;
    color: #92400e;
}

.suggested-format-badge.scalable {
    background: #ffedd5;
    color: #c2410c;
}

.suggested-format-badge.needs-adapt {
    background: #fef2f2;
    color: #991b1b;
    margin-left: 8px;
}

.best-match-ribbon {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.suggested-format-wrapper {
    position: relative;
}

.use-format-btn {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.use-format-btn:hover {
    background: #2563eb;
}

/* ============================================
   RESULTS
   ============================================ */
.verify-results {
    display: none;
    padding: 24px;
    background: #f9fafb;
}

.verify-results.visible {
    display: block;
}

/* Rating card */
.rating-card {
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.rating-card.excellent,
.rating-card.good {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
}

.rating-card.warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
}

.rating-card.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
}

.rating-card.pending {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
}

.rating-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.rating-label {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rating-card.excellent .rating-label,
.rating-card.good .rating-label { color: #059669; }
.rating-card.warning .rating-label { color: #d97706; }
.rating-card.error .rating-label { color: #dc2626; }
.rating-card.pending .rating-label { color: #2563eb; }

.rating-message {
    color: #4b5563;
    font-size: 15px;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.info-value.good { color: #059669; }
.info-value.warning { color: #d97706; }
.info-value.error { color: #dc2626; }

/* Format comparison section */
.format-comparison {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.comparison-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-box {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.comparison-box.highlight {
    background: #eff6ff;
    border-color: #3b82f6;
}

.comparison-box.success {
    background: #ecfdf5;
    border-color: #10b981;
}

.comparison-box.error {
    background: #fef2f2;
    border-color: #ef4444;
}

.comparison-box.warning {
    background: #fffbeb;
    border-color: #f59e0b;
}

.comparison-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.comparison-note {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
}

.comparison-value {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.comparison-sub {
    font-size: 13px;
    color: #6b7280;
}

.comparison-status {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.comparison-status.ok { color: #059669; }
.comparison-status.warning { color: #d97706; }
.comparison-status.error { color: #dc2626; }

/* Comparison table */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #6b7280;
}

.comparison-table .check-ok { color: #059669; font-weight: 600; }
.comparison-table .check-warning { color: #d97706; font-weight: 600; }
.comparison-table .check-error { color: #dc2626; font-weight: 600; }

/* ============================================
   SEZIONE ADATTAMENTO VISIVO
   ============================================ */
.adaptation-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.adaptation-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.adaptation-info {
    margin-bottom: 20px;
}

.adaptation-status {
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.adaptation-status.perfect {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.adaptation-status.good {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.adaptation-status.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.adaptation-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Modalità di adattamento */
.adaptation-modes {
    margin-bottom: 24px;
}

.adapt-mode-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 12px;
}

.adapt-mode-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.adapt-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.adapt-mode-btn:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.adapt-mode-btn.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.adapt-mode-btn .adapt-mode-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.adapt-mode-btn .adapt-mode-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.adapt-mode-btn .adapt-mode-desc {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
}

/* Preview container */
.adaptation-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.preview-panel {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

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

.panel-title {
    font-weight: 600;
    color: #374151;
}

.panel-size {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
}

.panel-canvas-wrapper {
    position: relative;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.adapt-preview-canvas {
    max-width: 100%;
    max-height: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.aspect-ratio-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.preview-arrow {
    color: #9ca3af;
    flex-shrink: 0;
}

/* Misuratore deformazione */
.deformation-meter {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.meter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.meter-icon {
    font-size: 20px;
}

.meter-title {
    font-weight: 600;
    color: #991b1b;
}

.meter-bar-container {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.meter-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease, background 0.3s ease;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
}

.meter-value {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 8px;
}

.meter-description {
    text-align: center;
    font-size: 13px;
    color: #7f1d1d;
}

/* Dettagli */
.adaptation-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Raccomandazione */
.adaptation-recommendation {
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.adaptation-recommendation.success {
    background: #ecfdf5;
    border: 1px solid #10b981;
}

.adaptation-recommendation.info {
    background: #eff6ff;
    border: 1px solid #3b82f6;
}

.adaptation-recommendation.warning {
    background: #fffbeb;
    border: 1px solid #f59e0b;
}

.adaptation-recommendation.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
}

.recommendation-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.recommendation-text {
    font-size: 14px;
    color: #4b5563;
}

.recommendation-action {
    margin-top: 12px;
    padding: 8px 16px;
    background: white;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.recommendation-action:hover {
    opacity: 0.8;
}

/* Metadata section */
.metadata-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.metadata-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.2s;
}

.metadata-header:hover { background: #f3f4f6; }

.metadata-title {
    font-weight: 600;
    color: #374151;
}

.metadata-toggle {
    color: #6b7280;
    transition: transform 0.3s;
}

.metadata-toggle.collapsed { transform: rotate(-90deg); }

.metadata-content {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.metadata-content.collapsed { display: none; }

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metadata-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.metadata-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    word-break: break-word;
}

.metadata-value.highlight {
    color: #dc2626;
    font-weight: 600;
}

/* Software warning */
.software-warning {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
}

.software-warning.info {
    background: #eff6ff;
    border-color: #93c5fd;
}

.sw-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sw-icon { font-size: 20px; }
.sw-title { font-weight: 600; color: #92400e; }
.software-warning.info .sw-title { color: #1e40af; }

.sw-message {
    font-size: 14px;
    color: #78350f;
    margin-bottom: 8px;
}

.software-warning.info .sw-message { color: #1e3a8a; }

.sw-issues {
    margin: 0 0 12px 20px;
    padding: 0;
    font-size: 13px;
    color: #92400e;
}

.software-warning.info .sw-issues { color: #1e40af; }
.sw-issues li { margin-bottom: 4px; }

.sw-suggestion {
    font-size: 13px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 6px;
    color: #78350f;
}

.software-warning.info .sw-suggestion { color: #1e3a8a; }

/* Preview */
.preview-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.preview-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-container {
    position: relative;
    background: #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#pdfCanvas {
    max-width: 100%;
    max-height: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Issues list */
.issues-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.issues-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.issue-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.issue-item.warning { background: #fffbeb; }
.issue-item.error { background: #fef2f2; }

.issue-icon { font-size: 20px; flex-shrink: 0; }
.issue-content { flex: 1; }

.issue-message {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.issue-suggestion {
    font-size: 13px;
    color: #6b7280;
}

/* Actions */
.verify-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.btn-verify {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-verify.primary {
    background: #3b82f6;
    color: white;
}

.btn-verify.primary:hover { background: #2563eb; }
.btn-verify.primary:disabled { background: #9ca3af; cursor: not-allowed; }

.btn-verify.secondary {
    background: white;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-verify.secondary:hover { background: #f3f4f6; }

.btn-verify.success {
    background: #10b981;
    color: white;
}

.btn-verify.success:hover { background: #059669; }

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

/* Note */
.privacy-note {
    text-align: center;
    padding: 16px;
    color: #6b7280;
    font-size: 13px;
}

.privacy-note strong { color: #059669; }

/* Responsive */
@media (max-width: 768px) {
    .mode-options {
        grid-template-columns: 1fr;
    }

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

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

    .adapt-mode-buttons {
        grid-template-columns: 1fr;
    }

    .adaptation-preview-container {
        flex-direction: column;
    }

    .preview-arrow {
        transform: rotate(90deg);
    }

    .preview-panel {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .verify-container { padding: 16px; }
    .format-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .verify-actions { flex-direction: column; }
}

.verify-header h1 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 12px;
}
