@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  background: #0a0e27;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(125deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

.bg-animation::before,
.bg-animation::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.bg-animation::before {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.bg-animation::after {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  bottom: -100px;
  right: -100px;
  animation-delay: 5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

/* Navbar */
.navbar {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  color: white !important;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: #a78bfa !important;
  transform: translateY(-2px);
}

.btn-get-started {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* --- Custom Styles for Mobile Navbar Dropdown (Pop-up) --- */

@media (max-width: 991.98px) {
  .navbar .container {
    position: relative;
  }
  .navbar-collapse {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    /* width: 50%; */
    z-index: 1001;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    visibility: hidden;
    transition: all 0.2s ease-out;
  }

  .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 120px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.8;
  font-weight: 400;
}

/* Search Box */
.search-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.search-box {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s;
  backdrop-filter: blur(20px);
}

.search-box:focus-within {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1),
    0 20px 60px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  padding: 18px 24px;
  outline: none;
  font-weight: 500;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-box input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0px 1000px transparent inset !important; /* forces background color */
  transition: background-color 5000s ease-in-out 0s; /* prevents flash */
}

.btn-search {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 48px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-search:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.6);
}

.btn-search:active {
  transform: scale(0.98);
}

/* Result Card */
.result-card {
  background: rgb(255, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  max-width: 1800px;
  height: 150px;
  margin: 60px auto 0;
  backdrop-filter: blur(30px);
  animation: slideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.result-card h4 {
  margin-top: 2px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-row:first-child {
  padding-top: 0;
}

.result-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 800;
}

/* Status Badges */
.status-badge {
  padding: 14px 32px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-safe {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
}

.status-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.4);
}

/* Confidence Bar */
.confidence-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.confidence-bar-bg {
  width: 250px;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.confidence-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

/* Risk Level Colors */
.risk-safe {
  color: #10b981;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.risk-warning {
  color: #f59e0b;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

.risk-danger {
  color: #ef4444;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
}

/* Info Section */
.info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid #667eea;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 80px auto 40px;
  backdrop-filter: blur(20px);
}

.info-box h5 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.info-box p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

/* Footer */
footer {
  background: rgba(10, 14, 39, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 100px;
  position: relative;
  z-index: 1;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s;
}

footer a:hover {
  color: #a78bfa;
}

footer h6 {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Loading State */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .search-box {
    color: transparent;
    flex-direction: column;
    gap: 12px;
  }

  .btn-search {
    width: 100%;
    padding: 16px;
  }

  .result-card {
    padding: 28px;
  }

  .confidence-bar-bg {
    width: 180px;
  }

  .result-value {
    font-size: 1.2rem;
  }

  .status-badge {
    font-size: 1rem;
    padding: 10px 20px;
  }
}
body {
  background-color: #1e1e1e;
  color: #f8f9fa;
}

.result-card {
  background-color: #2c2c2c;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #3e3e3e;
}
.result-label {
  font-weight: 500;
  color: #adb5bd;
}
.status-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: bold;
}
.risk-safe {
  background-color: #198754;
  color: white;
}
.risk-warning {
  background-color: #ffc107;
  color: #212529;
}
.risk-danger {
  background-color: #dc3545;
  color: white;
}
.confidence-bar-bg {
  background-color: #495057;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}
.confidence-bar-fill {
  height: 100%;
  transition: width 1s ease-out;
}

/* Alerts are default Bootstrap colors but background adjusted for dark theme */

.alert-danger {
  background-color: #4a171c;
  border-color: #dc3545;
  color: #f8d7da;
}
.alert-warning {
  background-color: #4d3f0a;
  border-color: #ffc107;
  color: #fff3cd;
}
.alert-info {
  background-color: #123d50;
  border-color: #0dcaf0;
  color: #cff4fc;
}
.alert-success {
  background-color: #0f3d23;
  border-color: #198754;
  color: #d1e7dd;
}
.text-white {
  color: #f8f9fa !important;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(125deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

.bg-animation::before,
.bg-animation::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.bg-animation::before {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: -100px;
  left: -100px;
  z-index: -1;
}

.bg-animation::after {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  bottom: -100px;
  right: -100px;
  animation-delay: 5s;
  z-index: -1;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

.content-wrapper {
  position: relative;
  z-index: 1;
  padding: 10px 0;
}

.page-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Override result-card for organized layout */
.result-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  margin-bottom: 32px;
  backdrop-filter: blur(30px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  height: auto !important;
  max-width: 1200px !important;
}

.result-header {
  padding: 32px !important;
  text-align: center;
  border-radius: 24px 24px 0 0 !important;
}

.result-header h4 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 8px 0;
}

.result-header p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.result-body {
  padding: 32px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.result-row:last-child {
  border-bottom: none !important;
}

.result-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.status-badge {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.risk-safe {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.risk-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.risk-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.confidence-container {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.confidence-percentage {
  font-size: 1.5rem;
  font-weight: 900;
  min-width: 60px;
  text-align: right;
}

.confidence-bar-bg {
  width: 200px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.confidence-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 40px 0 20px 0;
  color: #fff;
}

.domain-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.domain-info-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.domain-info-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.domain-info-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.category-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.4);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.category-icon {
  font-size: 1.5rem;
}

.category-risk-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 8px 0;
  color: #fff;
}

.category-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 8px 0;
}

.category-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.category-percentage {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.bg-success {
  background: #10b981;
}
.bg-warning {
  background: #f59e0b;
}
.bg-danger {
  background: #ef4444;
}
.text-success {
  color: #10b981;
}
.text-warning {
  color: #f59e0b;
}
.text-danger {
  color: #ef4444;
}
.border-success {
  border-color: #10b981 !important;
}
.border-warning {
  border-color: #f59e0b !important;
}
.border-danger {
  border-color: #ef4444 !important;
}

.alert {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: #fcd34d;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #93c5fd;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #6ee7b7;
}

.alert h6 {
  font-weight: 700;
  margin-bottom: 12px;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

.alert li {
  margin: 4px 0;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .result-header h4 {
    font-size: 1.5rem;
  }

  .confidence-bar-bg {
    width: 120px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

.error-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.8s ease-out;
  max-width: 800px;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-code {
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -8px;
  animation: glitch 3s infinite;
  position: relative;
}

@keyframes glitch {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  }
  25% {
    text-shadow: -2px 2px 20px rgba(118, 75, 162, 0.5);
  }
  50% {
    text-shadow: 2px -2px 20px rgba(102, 126, 234, 0.5);
  }
  75% {
    text-shadow: -2px -2px 20px rgba(118, 75, 162, 0.5);
  }
}

.error-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  letter-spacing: -1px;
}

.error-message {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
  font-weight: 400;
}

.btn-home {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 48px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
  color: white;
}

.btn-home:active {
  transform: translateY(-1px);
}

.floating-icon {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
  animation: floatIcon 15s infinite ease-in-out;
  z-index: 1;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-30px, 30px) rotate(240deg);
  }
}

.icon-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.icon-2 {
  top: 70%;
  left: 15%;
  animation-delay: 3s;
}

.icon-3 {
  top: 25%;
  right: 15%;
  animation-delay: 6s;
}

.icon-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 9s;
}

/* Tablet breakpoint */
@media (max-width: 992px) {
  .error-code {
    font-size: 10rem;
    letter-spacing: -6px;
  }

  .error-title {
    font-size: 2.5rem;
  }

  .error-message {
    font-size: 1.2rem;
    padding: 0 15px;
  }
}

.login-form {
  width: 50%;
  margin: 10vh auto;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .error-container {
    padding: 30px 15px;
  }

  .error-code {
    font-size: 8rem;
    letter-spacing: -4px;
    margin-bottom: 15px;
  }

  .error-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .error-message {
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.6;
  }

  .btn-home {
    padding: 14px 36px;
    font-size: 1rem;
  }

  .floating-icon {
    font-size: 2rem;
  }

  .login-form {
    width: 75%;
    margin: 10vh auto;
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .error-container {
    padding: 20px 10px;
  }

  .error-code {
    font-size: 6rem;
    letter-spacing: -3px;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .error-message {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .btn-home {
    padding: 12px 28px;
    font-size: 0.9rem;
    width: 90%;
    max-width: 280px;
  }

  .floating-icon {
    font-size: 1.5rem;
    opacity: 0.1;
  }

  .login-form {
    width: 75%;
    margin: 10vh auto;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .error-code {
    font-size: 5rem;
  }

  .error-title {
    font-size: 1.3rem;
  }

  .error-message {
    font-size: 0.95rem;
  }
  .login-form {
    width: 75%;
    margin: 10vh auto;
  }
}

/* Login Form */
