/* © 2024–2026 Satya Prakash Parida · https://infosatya.com · All rights reserved */
/* Web standards, accessibility, and content protection */

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: #04b4e0;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Deter casual copy on main content; allow-copy sections stay selectable */
.content-area {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.allow-copy,
.allow-copy * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

body {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  user-select: auto;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

.copyright-notice {
  font-size: 0.85em;
  opacity: 0.85;
}

.site-footer {
  text-align: center;
  padding: 14px 24px 20px;
  font-size: 11px;
  line-height: 1.55;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.fragment-copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

:focus-visible {
  outline: 2px solid #04b4e0;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Contact form */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form .messages .alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form .messages .alert-success {
  background-color: #e8f8ef;
  border: 1px solid #2ecc71;
  color: #1e7e34;
}

.contact-form .messages .alert-danger {
  background-color: #fdecea;
  border: 1px solid #e74c3c;
  color: #c0392b;
}

.contact-form .btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

[data-theme="dark"] .contact-form .messages .alert-success {
  background-color: #1a2e24;
  border-color: #2ecc71;
  color: #7dcea0;
}

[data-theme="dark"] .contact-form .messages .alert-danger {
  background-color: #2e1a1a;
  border-color: #e74c3c;
  color: #f1948a;
}
