/* Image Quality Checker Specific Styles */

.tool-page-wrapper {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.tool-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tool-header p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Upload Zone */
.upload-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(10, 14, 26, 0.4);
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--primary-color);
  background: rgba(108, 99, 255, 0.1);
}

.drop-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.drop-zone h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.drop-zone .formats {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Loading State */
#loading-state {
  margin: 4rem 0;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* Results Dashboard */
.results-dashboard {
  animation: fadeIn 0.5s ease;
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mt-card {
  margin-top: 1.5rem;
}

/* Image Preview */
.img-preview-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.3) !important;
}

.img-preview-card img {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain;
}

/* Basic Info */
.basic-info-card h3 {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.data-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.data-list li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.data-list li strong {
  color: var(--text-secondary);
  display: inline-block;
  width: 120px;
}

.resolution-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.optimization-warning {
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid var(--warning-color);
  color: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* Metric Cards */
.metric-card {
  text-align: center;
  padding: 1.5rem;
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.metric-card h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.metric-result {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.metric-result.lg-text {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--success-color);
  transition: width 1s ease, background-color 0.5s ease;
}

/* Social Checklist */
.social-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.social-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.social-item .status {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Color Palette */
.palette-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.color-swatch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 100px;
}

.color-swatch {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  cursor: pointer;
}

.color-swatch:hover {
  transform: translateY(-5px);
}

.color-hex {
  font-family: monospace;
  font-size: 0.9rem;
}

/* EXIF Data */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.data-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.data-table td:first-child {
  font-weight: bold;
  color: var(--text-secondary);
  width: 40%;
}

.gps-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success-color);
  border-radius: var(--radius-sm);
}

.gps-info h4 {
  margin-bottom: 0.5rem;
}

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