.exif-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .exif-layout {
    grid-template-columns: 1fr;
  }
}

.exif-left,
.exif-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upload-zone {
  border: 2px dashed #c9cdd4;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover {
  border-color: #165DFF;
  background: #f0f5ff;
}

.upload-zone.dragover {
  border-color: #165DFF;
  background: #e8f3ff;
  transform: scale(1.01);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.upload-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 8px;
}

.upload-subtitle {
  font-size: 14px;
  color: #4e5969;
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 12px;
  color: #86909c;
}

.image-list-container {
  border: 2px solid #e5e6eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.image-list-header {
  padding: 12px 16px;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e6eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #4e5969;
}

.image-list {
  max-height: 300px;
  overflow-y: auto;
}

.image-list-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  overflow: hidden;
}

.image-list-item:last-child {
  border-bottom: none;
}

.image-list-item:hover,
.image-list-item.active {
  background: #f0f5ff;
}

.image-list-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e6eb;
  flex-shrink: 0;
}

.image-list-info {
  flex: 1;
  min-width: 0;
}

.image-list-name {
  font-size: 14px;
  font-weight: 500;
  color: #1d2129;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.image-list-meta {
  font-size: 12px;
  color: #86909c;
}

.image-list-remove {
  padding: 4px 8px;
  font-size: 12px;
  color: #f53f3f;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.image-list-remove:hover {
  opacity: 1;
}

.panel-actions-panel {
  background: #fff;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

.action-item {
  display: flex;
  align-items: center;
}

.action-full {
  grid-column: 1 / -1;
}

.action-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4e5969;
  cursor: pointer;
}

.action-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #165DFF;
}

.action-buttons {
  display: flex;
  gap: 12px;
  padding: 0 20px 20px;
}

.action-buttons .btn-lg {
  flex: 1;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}

.exif-content {
  min-height: 400px;
  position: relative;
  background: #fafafa;
  border-radius: 8px;
}

.exif-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #c9cdd4;
  width: 80%;
}

.exif-empty svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.exif-empty p {
  font-size: 14px;
  color: #86909c;
  margin-bottom: 4px;
}

.exif-hint {
  font-size: 12px !important;
  color: #c9cdd4 !important;
}

.exif-data {
  padding: 20px;
}

.exif-image-preview {
  text-align: center;
  margin-bottom: 20px;
}

.exif-image-preview img {
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.exif-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exif-section {
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  overflow: hidden;
}

.exif-section-header {
  padding: 12px 16px;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e6eb;
  font-size: 15px;
  font-weight: 600;
  color: #1d2129;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exif-section-icon {
  font-size: 18px;
}

.exif-section-body {
  padding: 12px 16px;
}

.exif-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}

.exif-row:last-child {
  border-bottom: none;
}

.exif-label {
  color: #86909c;
  font-weight: 500;
}

.exif-value {
  color: #1d2129;
  word-break: break-all;
}

.exif-value.privacy-sensitive {
  color: #f53f3f;
  font-weight: 500;
  background: #fff2f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.panel-privacy-warning {
  background: linear-gradient(135deg, #fff7e8 0%, #ffe8c2 100%);
  border: 2px solid #ffc72c;
}

.privacy-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.privacy-content h4 {
  font-size: 16px;
  color: #997b1d;
  margin-bottom: 8px;
}

.privacy-content p {
  font-size: 13px;
  color: #86909c;
  margin-bottom: 8px;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.privacy-content li {
  font-size: 13px;
  color: #4e5969;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.privacy-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ff7d00;
  font-weight: bold;
}

.privacy-tip {
  color: #f53f3f !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.btn-tiny {
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid #c9cdd4;
  background: #fff;
  color: #4e5969;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tiny:hover:not(:disabled) {
  border-color: #165DFF;
  color: #165DFF;
}

.btn-tiny:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .upload-zone {
    padding: 32px 16px;
    min-height: 200px;
  }

  .upload-icon svg {
    width: 48px;
    height: 48px;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .exif-row {
    grid-template-columns: 120px 1fr;
    gap: 8px;
    font-size: 12px;
  }

  .exif-content {
    min-height: 300px;
  }
}