/* Ultra Pro 4K HD Polish — additive quality refinements only.
   Does not change colors or layout, only crispness, depth, and consistency. */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* Crisper, more premium card depth */
.card, .box, .panel, .widget {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04) !important;
  border-radius: 12px !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover, .box:hover, .panel:hover, .widget:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.06) !important;
}

/* Smoother, more tactile buttons */
.btn {
  border-radius: 10px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn:active {
  transform: translateY(0);
}

/* Cleaner form fields */
.form-control, input, select, textarea {
  border-radius: 10px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06) !important;
}

/* Table polish */
table {
  border-collapse: separate !important;
  border-spacing: 0;
}
table th {
  letter-spacing: 0.02em;
}
table tr {
  transition: background-color 0.15s ease;
}

/* Sharper images/icons */
img, svg {
  image-rendering: -webkit-optimize-contrast;
}

/* Smooth scroll for anchor navigation */
html {
  scroll-behavior: smooth;
}

/* Subtle fade-in for page content */
body {
  animation: ultraPolishFadeIn 0.35s ease;
}
@keyframes ultraPolishFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
