* {
  margin: 0;
  padding: 0;

}

body {
  background: linear-gradient(135deg, #f1f2f3 0%, #e5e7eb 100%);
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  color: #333;
  margin: 20px auto;
  position: relative;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: 20px;
}

h1 {
  font-size: 2.1rem;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 1rem;
  color: #5a6268;
  max-width: 95%;
  margin: 0 auto;
}

.content {
  display: flex;
  gap: 20px;
}

.left-panel,
.right-panel {
  flex: 1;
  width: calc(50% - 10px);
  background: #f9fafb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.panel-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaeaea;
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-area {
  border: 3px dashed #d1d5db;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  background: #f8f9fa;
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: #3b82f6;
  background: #eff6ff;
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.upload-text {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.file-input {
  display: none;
}

.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e5e7eb;
  color: #4b5563;
}

.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-2px);
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-warning {
  background: #f59e0b;
  color: white;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.image-preview {
  width: 100%;
  max-height: 400px;
  min-height: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f4f6;
  display: none;
  margin-top: 15px;
  border: 1px solid #e5e7eb;
}

.exif-info {
  background: white;
  border-radius: 8px;
  padding: 10px;
  max-height: 1030px;
  min-height: 425px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
}

.exif-table {
  width: 100%;
  border-collapse: collapse;
}

.exif-table th {
  background: #f9fafb;
  text-align: left;
  padding: 12px 15px;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}

.exif-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #f3f4f6;
  overflow-wrap: anywhere;
  min-width: 180px;
  font-size: 13px;
}

.exif-table tr:last-child td {
  border-bottom: none;
}

.exif-table tr:hover td {
  background: #f9fafb;
}

.note {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 25px;
  font-size: 0.95rem;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.gps-link {
  color: #3b82f6;
  text-decoration: none;
}

.gps-link:hover {
  text-decoration: underline;
}

.image-info {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

.image-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  color: #495057;
}

.image-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.image-info li {
  margin-bottom: 5px;
  font-size: 14px;
}

footer {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 20px;
}

.copied-notice {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}

.copied-notice.warning {
  background: #f59e0b;
}

.copied-notice.info {
  background: #3b82f6;
}

.copied-notice.error {
  background: #ef4444;
}
