.ev-card { padding: 28px; }
.ev-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 22px; }
.ev-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.ev-intro { color: #4b5563; line-height: 1.7; margin: 0 0 20px; }
.ev-intro strong { color: var(--site-dark); }

.ev-dropzone { border: 2px dashed #cbd5e1; border-radius: 10px; padding: 32px 20px; text-align: center; color: #6b7280; cursor: pointer; transition: all .15s ease; margin-bottom: 8px; }
.ev-dropzone.dragover { border-color: var(--site-light); background: #fff7ed; }
.ev-dropzone i { font-size: 2.2em; margin-bottom: 10px; display: block; color: var(--site-dark); }
.ev-dropzone input[type="file"] { display: none; }

.ev-hint { font-size: .85em; color: var(--site-danger); min-height: 1.2em; margin: 6px 2px 0; }
.ev-hint:empty { display: none; }

/* ===== Results ===== */
.ev-results { margin-top: 22px; }

.ev-preview-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.ev-preview-img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid #eee; background: #f7f8fa; flex-shrink: 0; }
.ev-preview-meta { flex: 1; min-width: 200px; }
.ev-filename { font-weight: 700; color: #23272f; margin: 0 0 8px; word-break: break-all; }
.ev-change-file { background: none; border: 1px solid #ddd; border-radius: 20px; padding: 6px 14px; font-size: .85em; font-weight: 600; color: #6b7280; cursor: pointer; }
.ev-change-file:hover { background: #f3f4f6; }

/* ===== GPS callout - the most important, privacy-sensitive result ===== */
.ev-gps-callout { display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(135deg, #fff1e8, #ffe4d5); border: 1.5px solid #f59e0b; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
.ev-gps-callout i { color: var(--site-dark); font-size: 1.6em; margin-top: 2px; flex-shrink: 0; }
.ev-gps-callout strong { display: block; color: var(--site-dark); font-size: 1.05em; margin-bottom: 6px; }
.ev-gps-callout p { margin: 0; color: #3d4148; line-height: 1.6; }
.ev-gps-callout a { color: var(--site-dark); font-weight: 700; text-decoration: underline; }
.ev-gps-callout a i { font-size: .8em; color: inherit; margin: 0; }
#evGpsCoords { font-family: "Courier New", monospace; font-weight: 700; color: #23272f; }

.ev-no-exif { display: flex; align-items: center; gap: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; color: var(--site-success); font-weight: 600; }
.ev-no-exif i { font-size: 1.2em; }

/* ===== Tag table ===== */
.ev-tag-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: .92em; }
.ev-tag-table tr { border-bottom: 1px solid #eee; }
.ev-tag-table tr:last-child { border-bottom: none; }
.ev-tag-table td { padding: 10px 12px; vertical-align: top; }
.ev-tag-table td:first-child { font-weight: 700; color: #4b5563; width: 42%; white-space: nowrap; }
.ev-tag-table td:last-child { color: #23272f; word-break: break-word; }
.ev-tag-table tr:nth-child(even) { background: #f7f8fa; }

/* ===== Resize & compress controls ===== */
.ev-resize-section { background: #f7f8fa; border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.ev-resize-toggle { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92em; cursor: pointer; user-select: none; margin-bottom: 4px; }
.ev-resize-toggle input[type="checkbox"] { accent-color: var(--site-dark); width: 16px; height: 16px; cursor: pointer; }
.ev-resize-toggle i { color: var(--site-accent); }
.ev-resize-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 14px 24px; }
.ev-resize-fields label { flex-basis: 100%; font-size: .84em; color: #6b7280; font-weight: 500; }
#evMaxDimension { width: 110px; border: 1px solid #ddd; border-radius: 6px; padding: 7px 10px; font-size: .9em; }
#evMaxDimension:focus { outline: none; border-color: var(--site-light); }
.ev-resize-out { font-size: .85em; color: var(--site-dark); font-weight: 600; font-family: "Courier New", monospace; }

.ev-quality-label { display: block; font-size: .88em; font-weight: 600; margin-bottom: 8px; }
.ev-quality-label i { color: var(--site-accent); margin-right: 4px; }
.ev-quality-note { display: block; font-weight: 400; color: #6b7280; font-size: .88em; margin-top: 2px; }
#evQuality { width: 100%; accent-color: var(--site-dark); cursor: pointer; }

.ev-btn { border: none; border-radius: 8px; padding: 13px 26px; font-weight: 700; cursor: pointer; font-size: .98em; display: inline-flex; align-items: center; gap: 8px; background: var(--site-dark); color: #fff; width: 100%; justify-content: center; }
.ev-btn:hover { background: var(--site-dark-2); }
.ev-btn:disabled { opacity: .5; cursor: not-allowed; }

.ev-status { text-align: center; color: #6b7280; font-size: .9em; margin-top: 14px; min-height: 1.4em; }
.ev-status.ev-error { color: var(--site-danger); }
.ev-status.ev-success { color: var(--site-success); font-weight: 600; }

@media (max-width: 500px) {
    .ev-preview-row { flex-direction: column; align-items: flex-start; }
    .ev-tag-table td:first-child { width: auto; white-space: normal; }
}
