/* ========================================
   Design System — CSS Custom Properties
   ======================================== */
:root {
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-muted: #6b6b6b;
  --color-accent: #e8563a;
  --color-accent-hover: #cf3e23;
  --color-accent-light: rgba(232, 86, 58, 0.1);
  --color-border: #e5e2dc;
  --color-navbar: #111111;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Base typography */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
}

.tagify-textarea {
  min-height: 100px;
  height: auto;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

/* Lazy Loading Styles */
img[data-src] {
  opacity: 0.6;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  transition: opacity 0.3s ease-in-out;
}

img[data-src].loaded {
  opacity: 1;
  background: none;
  animation: none;
}

img[data-src].error {
  opacity: 0.3;
  background: #f8d7da;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Skeleton Loader Styles */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-text.large {
  height: 20px;
}

.skeleton-text.small {
  height: 8px;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.skeleton-avatar.large {
  width: 100px;
  height: 100px;
}

.skeleton-avatar.small {
  width: 40px;
  height: 40px;
}

.skeleton-card {
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skeleton-line {
  height: 1px;
  background: #e0e0e0;
  margin: 10px 0;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Hide skeleton when content is loaded */
.skeleton-hidden {
  display: none;
}

#copyright-block,
#copyright-block a:link,
#copyright-block a:visited {
  color: white;
}

#copyright-block a:hover,
#copyright-block a:focus {
  opacity: 0.5;
}

div.navbar,
.title,
div#hero-section h2 {
  text-transform: uppercase;
}

footer a:link,
footer a:visited {
  color: white;
  opacity: 1;
  text-decoration: none;
}

footer a:hover,
footer a:active {
  opacity: 0.6;
}

footer h5 {
  opacity: 0.6;
  text-transform: uppercase;
  border-bottom: 0.5px solid rgb(104, 103, 103);
}

footer .footer-text {
  opacity: 0.6;
}

button#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  z-index: 999;
}

#radiosGrid .card-footer {
  background-color: #555454;
}

#radiosGrid a:link,
#radiosGrid a:visited {
  text-decoration: none;
}

.card-title a:link,
.card-title a:visited {
  text-decoration: none;
}

.barChart {
  min-height: 500px;
}

body#loginPage {
  padding-top: 0;
}

#loginPage .loginContent {
  padding-top: 100px;
  padding-bottom: 100px;
  background: url("/static/img/login-bg.jpg") no-repeat center center;
  background-size: cover;
}

#loginPage #loginRow {
  min-height: 560px;
}

#loginPage #copyright-block,
#loginPage #copyright-block a:link,
#loginPage #copyright-block a:visited {
  color: white;
}

/* afrinomad Styling */

.article-card,
.trip-card,
.page-title,
.article-featured-image,
.article-body,
.article-photo-grid,
.article-tags,
.trip-featured-image,
.trip-body,
.trip-photo-grid,
.trip-tags,
.divider,
.comment-list {
  margin-bottom: 60px;
}

.divider {
  border: 1px solid black;
}

#footer {
  /* margin-top:60px; */
  margin-top: 0;
}

#requirementBox {
  padding-bottom: 300px;
}

/* Disclaimer Page Styles */
.disclaimer-hero {
  background: linear-gradient(135deg, #d9230f 0%, #d9831f 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

.disclaimer-hero-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.disclaimer-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.disclaimer-card {
  border-radius: 20px;
  overflow: hidden;
}

.disclaimer-section-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.disclaimer-icon-primary {
  color: #029acf;
}

.disclaimer-icon-danger {
  color: #d9230f;
}

.disclaimer-icon-warning {
  color: #d9831f;
}

.disclaimer-highlight-box {
  background-color: rgba(217, 131, 31, 0.1);
}

.disclaimer-contact-card {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.05),
    rgba(217, 131, 31, 0.05)
  );
  border-radius: 15px;
  padding: 2rem;
}

.disclaimer-contact-icon {
  color: #d9230f;
}

.disclaimer-contact-link {
  color: #d9230f;
}

/* Terms of Service Page Styles */
.terms-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

.terms-hero-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.terms-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.terms-card {
  border-radius: 20px;
  overflow: hidden;
}

.terms-section-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d9831f, #029acf);
}

.terms-icon-success {
  color: #469408;
}

.terms-icon-danger {
  color: #d9230f;
}

.terms-icon-primary {
  color: #029acf;
}

.terms-icon-warning {
  color: #d9831f;
}

.terms-subsection-title {
  color: #d9831f;
}

.terms-contact-card {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(2, 154, 207, 0.05)
  );
  border-radius: 15px;
  padding: 2rem;
}

.terms-contact-icon {
  color: #d9831f;
}

.terms-contact-link {
  color: #d9831f;
}

.terms-privacy-link {
  color: #029acf;
}

/* Privacy Policy Page Styles */
.privacy-hero {
  background: linear-gradient(135deg, #469408 0%, #029acf 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

.privacy-hero .bi-shield-check {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.privacy-content-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.privacy-card {
  border-radius: 20px;
  overflow: hidden;
}

.privacy-section-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.privacy-section-number span {
  color: #fff;
  font-weight: bold;
}

.privacy-list .bi-check-circle-fill,
.privacy-list .bi-shield-check {
  color: #469408;
}

.privacy-list .bi-clock-fill,
.privacy-list .bi-cookie {
  color: #d9831f;
}

.privacy-section-title {
  color: #029acf;
}

.privacy-contact-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
  padding: 2rem;
}

.privacy-contact-card .bi-envelope-fill {
  color: #029acf;
}

.privacy-contact-link {
  color: #029acf;
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

.contact-hero-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-card {
  border-radius: 20px;
  overflow: hidden;
}

.contact-card-header {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.contact-form-label {
  color: #212529;
}

.contact-form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.contact-form-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.contact-submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3);
}

.contact-info-card {
  border-radius: 15px;
}

.contact-info-card-email {
  border-left: 4px solid #029acf !important;
}

.contact-info-card-social {
  border-left: 4px solid #469408 !important;
}

.contact-icon-badge-blue {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #029acf, #03b3e8);
}

.contact-icon-badge-blue i {
  font-size: 1.3rem;
}

.contact-icon-badge-green {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #469408, #5db30a);
}

.contact-icon-badge-green i {
  font-size: 1.3rem;
}

.contact-email-link {
  color: #029acf;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.3);
  color: white;
}

/* Visas List Page Styles */
.visas-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.visas-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.visas-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.visas-filter-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.visas-filter-icon {
  color: #029acf;
}

.visas-filter-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.visas-filter-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.visas-stat-card-blue {
  border-radius: 15px;
  background: linear-gradient(135deg, #029acf 0%, #0277a0 100%);
}

.visas-stat-card-green {
  border-radius: 15px;
  background: linear-gradient(135deg, #469408 0%, #367006 100%);
}

.visas-stat-card-orange {
  border-radius: 15px;
  background: linear-gradient(135deg, #ff6b35 0%, #d9541f 100%);
}

.visa-card {
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-in;
}

.visa-card:hover {
  transform: translateY(-5px);
}

.visa-card .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.visa-card:hover .card {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.visa-card .card-body {
  padding: 1.5rem;
  background: white;
}

.visa-card .country-name {
  font-weight: 700;
  font-size: 1.3rem;
  color: #212529;
  margin-bottom: 0.5rem;
}

.visa-card .region-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.visa-card .visa-info {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.visa-card .visa-info i {
  color: #029acf;
  width: 20px;
}

.visa-card a {
  text-decoration: none;
  color: inherit;
}

.region-europe {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.region-asia {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.region-north_central_america {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.region-south_america {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.region-caribbean {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.region-africa {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  color: white;
}

.region-oceania {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

.visas-skeleton-card {
  border-radius: 15px;
  overflow: hidden;
  animation: pulse 1.5s ease-in-out infinite;
}

.visas-skeleton-circle {
  width: 40px;
  height: 40px;
}

.visas-skeleton-text-lg {
  width: 70%;
  height: 24px;
  margin-bottom: 8px;
}

.visas-skeleton-text-md {
  width: 40%;
  height: 20px;
}

.visas-skeleton-text-line1 {
  width: 90%;
  height: 16px;
}

.visas-skeleton-text-line2 {
  width: 85%;
  height: 16px;
}

.visas-skeleton-text-line3 {
  width: 80%;
  height: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Passports List Page Styles */
.passports-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.passports-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.passports-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.passports-filter-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.passports-filter-icon {
  color: #029acf;
}

.passports-filter-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.passports-filter-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.passport-card {
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-in;
}

.passport-card:hover {
  transform: translateY(-5px);
}

.passport-card .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.passport-card:hover .card {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.passport-card .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.passport-card:hover .card-img-top {
  transform: scale(1.05);
}

/* ========================================
   Passport Detail Page Styles
   ======================================== */

/* Hero Section */
.passport-detail-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
  position: relative;
  overflow: hidden;
}

/* Decorative Elements */
.passport-detail-hero-deco-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.passport-detail-hero-deco-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.passport-detail-hero-icon {
  font-size: 4rem;
  opacity: 0.9;
}

.passport-detail-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.passport-detail-hero-container {
  z-index: 1;
}

/* Content Background */
.passport-detail-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Filter Card */
.passport-detail-filter-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.passport-detail-filter-icon-blue {
  color: #029acf;
}

.passport-detail-filter-icon-green {
  color: #469408;
}

.passport-detail-filter-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding-top: 17px;
  padding-bottom: 16px;
}

.passport-detail-filter-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Table Styles */
.passport-detail-table-header {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  color: white;
}

.passport-detail-table-header th {
  color: white !important;
  background: transparent !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.passport-detail-table-header th:first-child {
  border-top-left-radius: 16px;
}

.passport-detail-table-header th:last-child {
  border-top-right-radius: 16px;
}

.passport-detail-loader {
  width: 3rem;
  height: 3rem;
}

#requirementsTable {
  border-collapse: separate;
  border-spacing: 0;
}

#requirementsTable thead {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%) !important;
}

#requirementsTable thead th {
  color: white !important;
  background: transparent !important;
}

#requirementsTable tbody tr {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  animation: fadeIn 0.3s ease-out;
}

#requirementsTable tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(2, 154, 207, 0.08) 0%,
    rgba(2, 154, 207, 0.02) 100%
  );
  border-left-color: #029acf;
  transform: translateX(2px);
}

#requirementsTable tbody td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

#requirementsTable tbody td:first-child {
  font-weight: 500;
  color: #1e293b;
}

#requirementsTable tbody td img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#requirementsTable tbody tr:last-child td {
  border-bottom: none;
}

#requirementsTable tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

#requirementsTable tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.destination-name {
  font-weight: 600;
  margin-left: 0.5rem;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Tags Section */
.passport-detail-tags-icon {
  color: #029acf;
}

.passport-detail-tag-badge {
  background: linear-gradient(135deg, #029acf, #469408);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Tagify Input */
.tagify {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.5rem;
}

.tagify:hover {
  border-color: #029acf;
}

.tagify.tagify--focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.tagify__tag {
  background: #e9ecef;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
}

.tagify__tag-text {
  color: black !important;
}

.tagify__dropdown {
  z-index: 9999 !important;
  position: absolute !important;
}

/* Ensure card containers don't clip tagify dropdowns */
.card:has(.tagify) {
  overflow: visible !important;
  z-index: 10;
  position: relative;
}

.card:has(.tagify.tagify--focus) {
  z-index: 1000 !important;
  position: relative;
}

/* Specific z-index for countries and tags cards */
.card:has(#countries) {
  z-index: 50;
}

.card:has(#countries.tagify--focus) {
  z-index: 2000 !important;
}

.card:has(#tags) {
  z-index: 1;
}

/* Prevent card hover transform from creating new stacking context on tagify cards */
.card:has(.tagify):hover {
  transform: none !important;
}

/* Visa Badge Styles */
.visa-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0.25rem;
}

.visa-badge i {
  font-size: 0.85rem;
}

/* Visa-free - Green */
.visa-badge-free {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.visa-badge-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* eVisa/Easy entry - Blue */
.visa-badge-easy {
  background: linear-gradient(135deg, #029acf, #0284c7);
  color: white;
  box-shadow: 0 2px 8px rgba(2, 154, 207, 0.25);
}

.visa-badge-easy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.35);
}

/* Visa required - Red */
.visa-badge-required {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.visa-badge-required:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* Default - Gray */
.visa-badge-default {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  box-shadow: 0 2px 8px rgba(107, 114, 128, 0.25);
}

.visa-badge-default:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.35);
}

/* Form Styles */
.form-control-lg {
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

/* Submit Button Hover */
button[type="submit"]:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .passport-detail-hero {
    padding: 80px 0 40px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  #requirementsTable tbody td {
    padding: 1rem;
  }

  .visa-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .destination-name {
    font-size: 0.9rem;
  }
}

/* ========================================
   Passport Ranking Page Styles
   ======================================== */

/* Hero Section */
.passport-ranking-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.passport-ranking-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Content Background */
.passport-ranking-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Info Card */
.passport-ranking-info-card {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(2, 154, 207, 0.05)
  );
  border-radius: 15px;
}

.passport-ranking-info-icon {
  color: #d9831f;
}

.passport-ranking-passport-icon {
  color: #029acf;
  font-size: 2rem;
}

.passport-ranking-count {
  font-size: 1.5rem;
  color: #d9831f;
}

/* Ranking Table Card */
.passport-ranking-table-card {
  border-radius: 20px;
  overflow: hidden;
}

.passport-ranking-table-header {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

/* Table Styles */
#passportsTable thead {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.1),
    rgba(2, 154, 207, 0.1)
  );
  border-bottom: 2px solid #dee2e6;
}

#passportsTable thead th {
  color: #495057;
  white-space: nowrap;
}

#passportsTable tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  animation: fadeIn 0.5s ease-in;
}

#passportsTable tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(217, 131, 31, 0.08),
    rgba(2, 154, 207, 0.08)
  );
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#passportsTable tbody td {
  vertical-align: middle;
  padding: 1rem 1.5rem;
}

.table-hover > tbody > tr:hover > * {
  color: inherit;
}

/* Table Header Icons */
.passport-ranking-rank-icon {
  color: #d9831f;
}

.passport-ranking-flag-icon {
  color: #029acf;
}

.passport-ranking-country-icon {
  color: #469408;
}

.passport-ranking-score-icon {
  color: #d9831f;
}

/* Rank Badge Styling */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #495057;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rank-badge.rank-top3 {
  background: transparent;
  box-shadow: none;
  min-width: auto;
  height: auto;
  font-size: 1.75rem;
}

/* Passport Image Styling */
.passport-image {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Country Link Styling */
.country-link {
  color: #212529;
  text-decoration: none;
  transition: color 0.2s;
}

.country-link:hover {
  color: #029acf;
}

/* Error Icon Large Red */
.error-icon-large-red {
  font-size: 4rem;
  color: #dc3545;
}

/* Score Badge Styling */
.score-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.score-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.badge-excellent {
  background: linear-gradient(135deg, #469408, #5cb85c);
  color: white;
}

.badge-good {
  background: linear-gradient(135deg, #029acf, #5bc0de);
  color: white;
}

.badge-moderate {
  background: linear-gradient(135deg, #d9831f, #f0ad4e);
  color: white;
}

.badge-default {
  background: linear-gradient(135deg, #6c757d, #95a5a6);
  color: white;
}

/* Country Link Styling */
.country-link:hover {
  color: #d9831f !important;
  text-decoration: underline !important;
}

/* Skeleton Loader Styles */
.skeleton-row {
  animation: pulse 1.5s ease-in-out infinite;
}

.passport-ranking-skeleton-text-rank {
  width: 40px;
  height: 28px;
  border-radius: 14px;
}

.passport-ranking-skeleton-image {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.passport-ranking-skeleton-text-country {
  width: 200px;
  height: 20px;
}

.passport-ranking-skeleton-text-score {
  width: 90px;
  height: 36px;
  border-radius: 18px;
}

/* Legend Card */
.passport-ranking-legend-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.passport-ranking-legend-icon {
  color: #029acf;
}

.passport-ranking-check-icon {
  color: #469408;
}

.passport-ranking-globe-icon {
  color: #029acf;
}

/* ========================================
   Countries List Page Styles
   ======================================== */

/* Hero Section */
.countries-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.countries-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Content Background */
.countries-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Filter Card */
.countries-filter-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.countries-filter-icon-blue {
  color: #029acf;
}

.countries-filter-icon-green {
  color: #469408;
}

.countries-filter-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.countries-filter-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Countries Grid */
.countries-grid {
  min-height: 400px;
}

.countries-loader {
  width: 3rem;
  height: 3rem;
}

/* Country Card */
.country-card {
  transition: all 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
}

.country-card .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.country-card:hover .card {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.country-card-flag {
  font-size: 4rem;
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
}

.country-flag {
  width: 24px;
  height: 16px;
  margin-right: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
}

.country-info {
  padding: 1.5rem;
}

.country-info h5 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.country-info .region-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
}

.view-guide-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-guide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.3);
  color: white;
}

/* No Results Message */
.countries-no-results-icon {
  font-size: 4rem;
  color: #ccc;
}

/* ========================================
   Country Detail Page Styles
   ======================================== */

/* Hero Section */
.country-detail-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.country-detail-flag {
  font-size: 5rem;
}

/* Content Background */
.country-detail-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Cards */
.country-detail-card {
  border-radius: 15px;
}

.country-detail-card-border-blue {
  border-left: 4px solid #029acf !important;
}

.country-detail-card-border-orange {
  border-left: 4px solid #ff9900 !important;
}

.country-detail-card-border-red {
  border-left: 4px solid #d9230f !important;
}

.country-detail-card-border-green {
  border-left: 4px solid #469408 !important;
}

/* Card Header Icons */
.country-detail-icon-blue {
  color: #029acf;
}

.country-detail-icon-green {
  color: #469408;
}

.country-detail-icon-orange {
  color: #d9831f;
}

.country-detail-icon-red {
  color: #d9230f;
}

.country-detail-icon-gray {
  color: #6c757d;
}

.country-detail-icon-yellow {
  color: #ff9900;
}

/* Quick Facts Boxes */
.country-detail-fact-box-blue {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
}

.country-detail-fact-box-green {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.1),
    rgba(217, 131, 31, 0.1)
  );
}

.country-detail-fact-box-orange {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.1),
    rgba(217, 35, 15, 0.1)
  );
}

.country-detail-fact-box-red {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.1),
    rgba(2, 154, 207, 0.1)
  );
}

.country-detail-fact-box-gradient {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
}

.country-detail-fact-box-schengen {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.country-detail-fact-value {
  color: #1e293b;
}

/* Season Badges */
.country-detail-badge-peak {
  font-size: 0.9rem;
}

.country-detail-badge-shoulder {
  font-size: 0.9rem;
}

.country-detail-badge-low {
  font-size: 0.9rem;
}

/* Alert Boxes */
.country-detail-alert {
  border-radius: 10px;
}

.country-detail-alert-power {
  background-color: #fff3e0;
  border-color: #ffcc80;
}

.country-detail-alert-power-text {
  color: #e65100;
}

.country-detail-alert-emergency {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.1),
    rgba(217, 131, 31, 0.1)
  );
}

/* Cost Boxes */
.country-detail-cost-budget {
  border-color: #28a745 !important;
}

.country-detail-cost-midrange {
  border-color: #ffc107 !important;
}

.country-detail-cost-luxury {
  border-color: #dc3545 !important;
}

/* Power & Electricity */
.country-detail-plug-badge {
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ff9900 0%, #ffb347 100%);
  color: white;
}

.country-detail-voltage-box {
  background: linear-gradient(135deg, #ffd54f 0%, #ffeb3b 100%);
}

.country-detail-voltage-icon {
  color: #f57f17;
}

.country-detail-voltage-value {
  color: #f57f17;
}

.country-detail-voltage-label {
  color: #f57f17;
  font-size: 0.75rem;
}

.country-detail-frequency-box {
  background: linear-gradient(135deg, #81d4fa 0%, #4fc3f7 100%);
}

.country-detail-frequency-icon {
  color: #01579b;
}

.country-detail-frequency-value {
  color: #01579b;
}

.country-detail-frequency-label {
  color: #01579b;
  font-size: 0.75rem;
}

/* Provider Badges */
.country-detail-provider-badge {
  font-size: 0.9rem;
}

/* Language & Currency Badges */
.country-detail-lang-badge {
  font-size: 0.9rem;
  font-weight: 500;
}

.country-detail-currency-symbol {
  font-size: 2rem;
}

/* Emergency Numbers */
.country-detail-emergency-box-general {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.05),
    rgba(217, 131, 31, 0.05)
  );
}

.country-detail-emergency-circle-general {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.country-detail-emergency-number-general {
  color: #d9230f;
}

.country-detail-emergency-box-police {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
}

.country-detail-emergency-circle-police {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.country-detail-emergency-number-police {
  color: #029acf;
}

.country-detail-emergency-box-ambulance {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.05),
    rgba(217, 131, 31, 0.05)
  );
}

.country-detail-emergency-circle-ambulance {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.country-detail-emergency-number-ambulance {
  color: #d9230f;
}

.country-detail-emergency-box-fire {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.05),
    rgba(217, 131, 31, 0.05)
  );
}

.country-detail-emergency-circle-fire {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.country-detail-emergency-number-fire {
  color: #d9230f;
}

/* E-Visa & Tourism */
.country-detail-evisa-icon {
  font-size: 3rem;
  color: #029acf;
}

/* Border Country Badges */
.country-detail-border-badge {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   Leaderboard Page Styles
   ======================================== */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

.passport-card .card-body {
  padding: 1.25rem;
  background: white;
}

.passport-card .card-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #212529;
  text-align: center;
  margin: 0;
}

.passport-card a {
  text-decoration: none;
  color: inherit;
}

.passports-skeleton-card {
  border-radius: 15px;
  overflow: hidden;
  animation: pulse 1.5s ease-in-out infinite;
}

.passports-skeleton-image {
  height: 200px;
}

.passports-skeleton-text {
  width: 80%;
  height: 24px;
}

/* Claim Account Page Styles */
.claim-section {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.claim-decorative-circle-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.claim-decorative-circle-bottom {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.claim-container {
  z-index: 1;
  padding: 60px 0;
}

.claim-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.claim-icon-blue {
  font-size: 3rem;
  color: #029acf;
}

.claim-icon-small-blue {
  color: #029acf;
}

.claim-icon-orange {
  color: #d9831f;
}

.claim-badge-green {
  background: #469408;
}

.claim-submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.claim-submit-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3) !important;
  color: white;
}

.claim-link {
  color: #029acf;
}

.claim-link:hover {
  opacity: 0.8;
  color: #029acf;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.claim-badge {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* Invitation Info Page Styles */
.invitation-info-section {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.invitation-decorative-circle-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.invitation-decorative-circle-bottom {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.invitation-container {
  z-index: 1;
  padding: 60px 0;
}

.invitation-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.invitation-icon-blue {
  font-size: 4rem;
  color: #029acf;
}

.invitation-step-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.invitation-info-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
}

.invitation-info-icon {
  color: #029acf;
}

.invitation-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
}

.invitation-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907);
  color: white;
  transform: translateY(-2px);
}

.invitation-link {
  color: #029acf;
  text-decoration: none;
}

.invitation-link:hover {
  color: #027ba8;
  text-decoration: none;
}

/* My Trip Plans Page Styles */
.trip-plans-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.trip-plans-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trip-plans-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-plans-card {
  border-radius: 20px;
}

.trip-plans-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.trip-plans-body {
  max-height: 600px;
  overflow-y: auto;
}

.connection-requests-header {
  background: linear-gradient(135deg, #764ba2, #667eea);
  border: none;
}

.connection-requests-tabs {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 4px;
}

.connection-requests-tabs .nav-link {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.connection-requests-tabs .nav-link:hover {
  opacity: 1;
}

.connection-requests-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}

.trip-plan-item {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.trip-plan-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.trip-plan-destinations {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #495057;
  font-weight: 500;
}

.trip-plan-destinations i {
  color: #667eea;
}

.trip-plan-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
  flex-wrap: wrap;
}

.trip-plan-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-planning {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.status-confirmed {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-traveling {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.1),
    rgba(255, 143, 0, 0.1)
  );
  color: #ff8f00;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-completed {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.status-cancelled {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1),
    rgba(200, 35, 51, 0.1)
  );
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* My Group Trips Page Styles */
.trips-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.trips-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trips-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trips-card {
  border-radius: 20px;
}

.trips-header {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.trips-filter-tabs {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 4px;
}

.trips-filter-tabs .nav-link {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.trips-filter-tabs .nav-link:hover {
  opacity: 1;
}

.trips-filter-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}

.trips-body {
  max-height: 600px;
  overflow-y: auto;
}

.trips-quick-link-card {
  border-radius: 15px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.trips-quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.trips-quick-link-icon-green {
  font-size: 2.5rem;
  color: #469408;
}

.trips-quick-link-icon-blue {
  font-size: 2.5rem;
  color: #029acf;
}

.trip-item {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.trip-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #029acf;
}

.trip-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.trip-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-upcoming {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  color: #029acf;
  border: 1px solid rgba(2, 154, 207, 0.3);
}

.status-ongoing {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.1),
    rgba(2, 154, 207, 0.1)
  );
  color: #469408;
  border: 1px solid rgba(70, 148, 8, 0.3);
}

/* Referrals Page Styles */
.referrals-hero {
  background: linear-gradient(135deg, #d9831f 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.referrals-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.referrals-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.referrals-card {
  border-radius: 20px;
}

.referrals-header {
  background: linear-gradient(135deg, #d9831f, #469408);
  border: none;
}

.referrals-stat-icon-blue {
  font-size: 2rem;
  color: #029acf;
}

.referrals-stat-icon-orange {
  font-size: 2rem;
  color: #d9831f;
}

.referrals-share-icon {
  color: #d9831f;
}

.referrals-link-input {
  background: white;
  border-radius: 10px 0 0 10px;
}

.referrals-copy-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  border-radius: 0 10px 10px 0;
}

.referrals-copy-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907);
}

.referrals-check-icon {
  color: #198754;
}

.referrals-benefits-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  border-radius: 15px;
}

.referrals-star-icon {
  color: #d9831f;
}

/* Register Page Styles */
.register-section {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.register-decorative-circle-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.register-decorative-circle-bottom {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.register-container {
  z-index: 1;
  padding: 60px 0;
}

.register-marketing-icon {
  font-size: 4rem;
  opacity: 0.9;
}

.register-marketing-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

.register-benefit-icon {
  font-size: 1.5rem;
}

.register-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.register-signin-link {
  color: #029acf;
}

.register-signin-link:hover {
  color: #027ba8;
}

.register-invite-alert {
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
}

.register-invite-icon {
  font-size: 1.5rem;
  color: #469408;
}

.register-passport-input {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.register-username-feedback {
  display: none;
}

.register-username-spinner {
  display: none;
}

.register-submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.register-submit-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3) !important;
  color: white;
}

.register-link {
  color: #029acf;
}

.register-link:hover {
  opacity: 0.8;
  color: #029acf;
}

.register-recaptcha-error {
  display: none;
}

/* My Links Page Styles */
.links-hero {
  background: linear-gradient(135deg, #d9831f 0%, #d9230f 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.links-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.links-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.links-card {
  border-radius: 20px;
}

.links-header {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.links-add-btn {
  font-weight: 600;
}

.link-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.03),
    rgba(70, 148, 8, 0.03)
  );
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.1);
  border-color: #029acf;
}

.link-card-content {
  display: flex;
  align-items: center;
}

.link-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #029acf, #469408);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.link-title {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.link-category {
  font-size: 0.875rem;
  color: #6c757d;
}

.link-arrow {
  color: #029acf;
  font-size: 1.25rem;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(5px);
}

.link-card-small {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(217, 35, 15, 0.05)
  );
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.link-card-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 131, 31, 0.15);
  border-color: #d9831f;
}

.links-modal-content {
  border-radius: 20px;
  border: none;
}

.links-modal-header {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.links-icon-blue {
  color: #029acf;
}

.links-icon-green {
  color: #469408;
}

.links-icon-orange {
  color: #d9831f;
}

.links-icon-red {
  color: #d9230f;
}

.links-input {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.links-checkbox {
  border: 2px solid #029acf;
}

.links-save-btn {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
  font-weight: 600;
}

.links-save-btn:hover {
  background: linear-gradient(135deg, #b86f1a, #b71f0c);
}

.delete-modal-header {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
}

.delete-modal-content {
  border-radius: 20px;
  border: none;
}

.links-delete-btn {
  font-weight: 600;
}

/* Network Page Styles */
.network-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.network-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.network-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.network-stat-card {
  border-radius: 20px;
  cursor: pointer;
}

.network-stat-icon-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
}

.network-stat-icon-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
}

.network-stat-icon-green-orange {
  background: linear-gradient(135deg, #469408, #d9831f);
}

.network-tabs {
  gap: 1rem;
}

.network-card {
  border-radius: 20px;
}

.network-header-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.network-header-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.network-header-green-orange {
  background: linear-gradient(135deg, #469408, #d9831f);
  border: none;
}

.network-search-container {
  max-width: 300px;
}

.network-search-input {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.network-search-icon {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.network-grid {
  display: none;
}

.network-empty {
  display: none;
}

.network-empty-icon {
  font-size: 4rem;
  color: #dee2e6;
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
}

.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.traveler-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Countries Visited Page Styles */
.countries-hero {
  background: linear-gradient(135deg, #d9230f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.countries-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.countries-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.countries-card {
  border-radius: 20px;
}

.countries-header {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.countries-btn-light {
  font-weight: 600;
}

.countries-btn-outline {
  font-weight: 600;
}

.countries-stat-icon {
  background: linear-gradient(135deg, #d9230f, #029acf);
  width: 80px;
  height: 80px;
}

.countries-stat-icon-inner {
  font-size: 2.5rem;
  line-height: 80px;
}

.countries-progress-section {
  display: none;
}

.countries-empty {
  display: none;
}

.countries-empty-icon {
  font-size: 4rem;
  color: #dee2e6;
}

.countries-info-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.countries-info-text {
  color: #029acf;
}

.countries-progress-bar {
  height: 8px;
  border-radius: 10px;
}

.countries-progress-bar-inner {
  background: linear-gradient(90deg, #029acf, #469408);
}

.countries-section-title {
  font-size: 0.9rem;
  color: #6c757d;
}

.countries-filter-card {
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(2, 154, 207, 0.05)
  );
}

.countries-filter-btn {
  font-weight: 600;
  transition: all 0.3s ease;
}

.countries-filter-btn.active {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border-color: transparent;
}

.countries-country-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 12px;
}

.countries-country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.2);
}

.countries-region-box-red {
  background: rgba(217, 35, 15, 0.08);
  border: 1px solid rgba(217, 35, 15, 0.2);
}

.countries-region-count-red {
  font-size: 1.5rem;
  color: #d9230f;
}

.countries-region-box-blue {
  background: rgba(2, 154, 207, 0.08);
  border: 1px solid rgba(2, 154, 207, 0.2);
}

.countries-region-count-blue {
  font-size: 1.5rem;
  color: #029acf;
}

.countries-region-box-green {
  background: rgba(70, 148, 8, 0.08);
  border: 1px solid rgba(70, 148, 8, 0.2);
}

.countries-region-count-green {
  font-size: 1.5rem;
  color: #469408;
}

.countries-region-box-orange {
  background: rgba(217, 131, 31, 0.08);
  border: 1px solid rgba(217, 131, 31, 0.2);
}

.countries-region-count-orange {
  font-size: 1.5rem;
  color: #d9831f;
}

.countries-region-box-teal {
  background: rgba(70, 148, 207, 0.08);
  border: 1px solid rgba(70, 148, 207, 0.2);
}

.countries-region-count-teal {
  font-size: 1.5rem;
  color: #4694cf;
}

.countries-region-box-gray {
  background: rgba(108, 117, 125, 0.08);
  border: 1px solid rgba(108, 117, 125, 0.2);
}

.countries-region-count-gray {
  font-size: 1.5rem;
  color: #6c757d;
}

.countries-empty-icon-small {
  font-size: 3rem;
  color: #ccc;
}

.countries-cta-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  color: white;
  font-weight: 600;
}

.countries-cta-btn:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907);
  color: white;
}

.countries-outline-btn {
  font-weight: 600;
}

/* Home Page Styles */
.home-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.home-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.home-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.home-stat-card {
  border-radius: 15px;
  cursor: pointer;
}

.home-stat-icon-red-blue {
  background: linear-gradient(135deg, #d9230f, #029acf);
}

.home-stat-icon-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
}

.home-stat-icon-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
}

.home-stat-icon-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.home-stat-icon-green-light {
  background: linear-gradient(135deg, #469408, #5db30a);
}

.home-stat-icon-orange-red {
  background: linear-gradient(135deg, #d9831f, #d9230f);
}

.home-card {
  border-radius: 20px;
}

.home-card-header {
  border-radius: 20px;
  border: none;
}

.home-card-header-green-orange {
  background: linear-gradient(135deg, #469408, #d9831f);
  border: none;
}

.home-card-header-orange-red {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.home-input {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.home-checkbox {
  border: 2px solid #029acf;
}

.home-submit-btn {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
  font-weight: 600;
}

.home-submit-btn:hover {
  background: linear-gradient(135deg, #b86f1a, #b71f0c);
}

.home-icon-blue {
  color: #029acf;
}

.home-icon-green {
  color: #469408;
}

.home-icon-orange {
  color: #d9831f;
}

.home-icon-red {
  color: #d9230f;
}

/* Edit Profile Page Styles */
.edit-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.edit-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.edit-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.edit-card {
  border-radius: 20px;
  overflow: hidden;
}

.edit-card-blue-green {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
}

.edit-card-red-orange {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.05),
    rgba(217, 131, 31, 0.05)
  );
}

.edit-card-header {
  border-radius: 20px;
  border: none;
}

.edit-card-header-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.edit-card-header-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.edit-card-header-orange-red {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.edit-card-header-red-orange {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
}

.edit-input {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.edit-input-end {
  border-radius: 0 10px 10px 0 !important;
  border: 2px solid #e9ecef;
}

.edit-badge-blue {
  background: rgba(2, 154, 207, 0.1);
  border-radius: 10px;
}

.edit-badge-green {
  background: rgba(70, 148, 8, 0.1);
  border-radius: 10px;
}

.edit-submit-btn-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.edit-submit-btn-orange-blue:hover {
  background: linear-gradient(135deg, #b86f1a, #027ba8);
  color: white;
}

.edit-submit-btn-red-orange {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.edit-submit-btn-red-orange:hover {
  background: linear-gradient(135deg, #b71f0c, #b86f1a);
  color: white;
}

.edit-info-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  border-color: #e9ecef;
}

.edit-passport-card {
  border-color: #d9831f;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.03),
    rgba(70, 148, 8, 0.03)
  );
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-link-card {
  border-radius: 15px;
  border-left: 4px solid #d9230f !important;
}

.edit-icon-blue {
  color: #029acf;
}

.edit-icon-green {
  color: #469408;
}

.edit-icon-orange {
  color: #d9831f;
}

.edit-icon-red {
  color: #d9230f;
}

.edit-card-header-blue-green-borderless {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.edit-card-header-orange-blue-borderless {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.edit-card-header-orange-red-borderless {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.edit-card-header-red-orange-borderless {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
}

.edit-progress-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  border-color: #e9ecef;
}

.edit-avatar-preview-blue {
  background: rgba(2, 154, 207, 0.1);
  border-radius: 10px;
}

.edit-avatar-preview-green {
  background: rgba(70, 148, 8, 0.1);
  border-radius: 10px;
}

.edit-country-button {
  border-color: #d9831f;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.03),
    rgba(70, 148, 8, 0.03)
  );
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-textarea-border {
  border-radius: 0 10px 10px 0 !important;
  border: 2px solid #e9ecef;
}

.edit-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.edit-card-borderless {
  border-radius: 20px;
  border: none;
}

.edit-small-text {
  font-size: 0.875rem;
  border-radius: 10px;
}

.edit-icon-large {
  font-size: 1.2rem;
}

.edit-icon-medium {
  font-size: 1rem;
}

.edit-icon-huge-blue {
  font-size: 2.5rem;
  color: #029acf;
}

.edit-progress-bg {
  height: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.1);
}

.edit-image-container {
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.edit-image-responsive {
  max-width: 100%;
  display: block;
}

.edit-action-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-progress-bar-fill {
  width: 0%;
  background: linear-gradient(90deg, #029acf, #469408);
  transition: width 0.8s ease-in-out;
}

.edit-avatar-large-red-orange {
  width: 150px;
  height: 150px;
  font-size: 60px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
  color: white;
  border-color: #e9ecef !important;
}

.edit-avatar-large-blue {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-color: #029acf !important;
}

.edit-icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Edit page specific interactive styles */
.edit-form-control:focus,
.edit-form-select:focus {
  border-color: #d9831f;
  box-shadow: 0 0 0 0.25rem rgba(217, 131, 31, 0.25);
}

.edit-btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.edit-upload-area:hover {
  border-color: #029acf !important;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.08),
    rgba(70, 148, 8, 0.08)
  ) !important;
  transform: scale(1.02);
}

.edit-photo-preview {
  transition: all 0.3s ease;
}

.edit-photo-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3);
}

/* ========================================
   Group Trip Detail Page Styles
   ======================================== */

.trip-detail-hero {
  position: relative;
  padding: 200px 0 80px;
  margin-top: -80px;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.9),
    rgba(70, 148, 8, 0.9)
  );
}

.trip-detail-z-index {
  z-index: 2;
}

.trip-detail-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-detail-card {
  border-radius: 20px;
}

.trip-detail-card-hidden {
  border-radius: 20px;
  display: none;
}

.trip-detail-header-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.trip-detail-header-blue-green-hidden {
  background: linear-gradient(135deg, #469408, #029acf);
  border: none;
  display: none;
}

.trip-detail-header-green-blue {
  background: linear-gradient(135deg, #469408, #029acf);
  border: none;
}

.trip-detail-header-pink-red {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  border: none;
}

.trip-detail-header-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.trip-detail-header-purple-bold {
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-weight: 600;
}

.trip-detail-header-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.trip-detail-header-orange-red {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.trip-detail-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.trip-detail-border-10 {
  border-radius: 10px;
}

.trip-detail-border-15 {
  border-radius: 15px;
}

.trip-detail-border-20 {
  border-radius: 20px;
}

.trip-detail-icon-blue {
  color: #029acf;
}

.trip-detail-icon-green {
  color: #469408;
}

.trip-detail-icon-orange {
  color: #d9831f;
}

.trip-detail-icon-red {
  color: #d9230f;
}

.trip-detail-icon-large-gray {
  font-size: 2rem;
  cursor: pointer;
  color: #dee2e6;
  transition: color 0.2s ease;
}

.trip-detail-icon-large-gray:hover {
  color: #ffc107;
}

.trip-detail-icon-large-gray.active {
  color: #ffc107;
}

.trip-detail-icon-huge-green {
  font-size: 3rem;
  color: #469408;
}

.trip-detail-icon-huge-gray {
  font-size: 3rem;
  color: #dee2e6;
}

.trip-detail-avatar-small {
  width: 50px;
  height: 50px;
}

.trip-detail-skeleton-height-25 {
  height: 25px;
}

/* Skeleton loader styles for trip detail */
.trip-detail-skeleton-large {
  width: 60%;
  height: 24px;
}

.trip-detail-skeleton-full {
  width: 100%;
  height: 16px;
}

.trip-detail-skeleton-95 {
  width: 95%;
  height: 16px;
}

.trip-detail-skeleton-85 {
  width: 85%;
  height: 16px;
}

.trip-detail-skeleton-70 {
  width: 70%;
  height: 20px;
}

.trip-detail-skeleton-45 {
  width: 45%;
  height: 16px;
}

.trip-detail-skeleton-40-16 {
  width: 40%;
  height: 16px;
}

.trip-detail-skeleton-40-14 {
  width: 40%;
  height: 14px;
}

.trip-detail-skeleton-38 {
  width: 38%;
  height: 16px;
}

.trip-detail-skeleton-35 {
  width: 35%;
  height: 14px;
}

.trip-detail-skeleton-30-18 {
  width: 30%;
  height: 18px;
}

.trip-detail-skeleton-30-14 {
  width: 30%;
  height: 14px;
}

.trip-detail-skeleton-28 {
  width: 28%;
  height: 14px;
}

/* Drag and Drop Zone for trip detail */
.trip-detail-drop-zone {
  border: 3px dashed #029acf;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  transition: all 0.3s ease;
  cursor: pointer;
}

.trip-detail-drop-zone:hover,
.trip-detail-drop-zone.dragover {
  border-color: #469408;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  transform: scale(1.02);
}

/* Photo Preview Grid */
.photo-preview-grid,
.trip-detail-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 10px;
}

.photo-preview-item,
.trip-detail-photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.photo-preview-item:hover,
.trip-detail-photo-preview-item:hover {
  transform: scale(1.05);
}

.photo-preview-item img,
.trip-detail-photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-item .remove-photo,
.trip-detail-photo-preview-item .remove-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(217, 35, 15, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 16px;
  padding: 0;
}

.photo-preview-item:hover .remove-photo,
.trip-detail-photo-preview-item:hover .remove-photo {
  opacity: 1;
}

.photo-preview-item .remove-photo:hover,
.trip-detail-photo-preview-item .remove-photo:hover {
  background: rgba(217, 35, 15, 1);
  transform: scale(1.1);
}

.trip-detail-photo-preview-item .photo-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 8px 5px 5px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RSVP and Interactive Elements */
.trip-detail-rsvp-btn {
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.trip-detail-rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.trip-detail-participant-item {
  transition: all 0.2s ease;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.trip-detail-participant-item:hover {
  background-color: rgba(2, 154, 207, 0.05);
}

.participant-item {
  margin-bottom: 1rem;
}

/* Photo Gallery Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.photo-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 10px;
  font-size: 0.9rem;
}

.trip-detail-participant-photo,
.participant-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trip-detail-detail-item {
  padding: 1rem;
  border-radius: 10px;
  background-color: #f8f9fa;
  margin-bottom: 1rem;
}

.trip-detail-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.trip-detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.trip-detail-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trip-detail-photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.trip-detail-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-detail-photo-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 0.75rem;
  color: white;
  font-size: 0.875rem;
}

.trip-detail-caption-input {
  font-size: 0.875rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
}

.trip-detail-caption-input:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.2rem rgba(2, 154, 207, 0.25);
}

.trip-detail-review-item {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}

.trip-detail-review-item:last-child {
  border-bottom: none;
}

.trip-detail-review-rating {
  color: #d9831f;
  font-size: 1.25rem;
}

.trip-detail-star-icon:hover,
.trip-detail-star-icon.active {
  color: #d9831f !important;
}

.trip-detail-review-actions {
  opacity: 0;
  transition: opacity 0.2s;
}

.trip-detail-review-item:hover .trip-detail-review-actions {
  opacity: 1;
}

/* ========================================
   Group Trip Create Page Styles
   ======================================== */

.trip-create-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.trip-create-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trip-create-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-create-card {
  border-radius: 20px;
  overflow: hidden;
}

.trip-create-header {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.trip-create-submit-btn {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
  color: white;
  font-weight: 600;
}

.trip-create-info-card {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(2, 154, 207, 0.05)
  );
  border-radius: 15px;
}

.trip-create-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.trip-create-border-overflow {
  border-radius: 10px;
  border: 2px solid #e9ecef !important;
  overflow: hidden;
}

.trip-create-draft-btn {
  border: 2px solid #6c757d;
  font-weight: 600;
}

.trip-create-editor-container {
  min-height: 150px;
  max-height: 400px;
  overflow-y: auto;
}

.trip-create-icon-blue {
  color: #029acf;
}

.trip-create-icon-green {
  color: #469408;
}

.trip-create-icon-orange {
  color: #d9831f;
}

.trip-create-icon-red {
  color: #d9230f;
}

.trip-create-icon-pink {
  color: #f5576c;
}

.trip-create-checkbox-label {
  cursor: pointer;
  padding-top: 0.2rem;
}

.trip-create-checkbox-sublabel {
  padding-left: 2.5rem;
}

.trip-create-checkbox-sublabel-block {
  padding-left: 2.5rem;
  display: block;
  margin-top: 0.25rem;
}

.trip-create-color-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

/* Form Focus Styles for Create Trip */
.trip-create-form-control:focus,
.trip-create-form-select:focus {
  border-color: #d9831f;
  box-shadow: 0 0 0 0.25rem rgba(217, 131, 31, 0.25);
}

.trip-create-btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Rich Text Editor Styles */
.trip-create-description-editor {
  padding: 12px;
}

.trip-create-description-editor:empty:before {
  content: attr(data-placeholder);
  color: #6c757d;
  font-style: italic;
}

.trip-create-description-editor:focus {
  outline: none;
}

.trip-create-description-editor ul,
.trip-create-description-editor ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.trip-create-description-editor p {
  margin-bottom: 10px;
}

.trip-create-toolbar .btn {
  border-radius: 5px;
  transition: all 0.2s ease;
}

/* ========================================
   Group Trip Edit Page Styles
   ======================================== */

.trip-edit-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.trip-edit-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trip-edit-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-edit-card {
  border-radius: 20px;
  overflow: hidden;
}

.trip-edit-header {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.trip-edit-submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  color: white;
  font-weight: 600;
}

.trip-edit-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.trip-edit-border-overflow {
  border-radius: 10px;
  border: 2px solid #e9ecef !important;
  overflow: hidden;
}

.trip-edit-draft-btn {
  border: 2px solid #6c757d;
  font-weight: 600;
}

.trip-edit-delete-btn {
  border: 2px solid #d9230f;
  font-weight: 600;
}

.trip-edit-editor-container {
  min-height: 150px;
  max-height: 400px;
  overflow-y: auto;
}

.trip-edit-max-height-200 {
  max-height: 200px;
}

.trip-edit-icon-blue {
  color: #029acf;
}

.trip-edit-icon-green {
  color: #469408;
}

.trip-edit-icon-orange {
  color: #d9831f;
}

.trip-edit-icon-red {
  color: #d9230f;
}

.trip-edit-icon-pink {
  color: #f5576c;
}

.trip-edit-checkbox-label {
  cursor: pointer;
  padding-top: 0.2rem;
}

.trip-edit-checkbox-sublabel {
  padding-left: 2.5rem;
}

.trip-edit-checkbox-sublabel-block {
  padding-left: 2.5rem;
  display: block;
  margin-top: 0.25rem;
}

.trip-edit-color-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

/* ========================================
   Stories Pages Styles
   ======================================== */

.story-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.story-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.story-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.story-bg-gray {
  background: #f8f9fa;
}

.story-card {
  border-radius: 20px;
  overflow: hidden;
}

.story-card-simple {
  border-radius: 10px;
  overflow: hidden;
}

.story-border-10 {
  border-radius: 10px;
}

.story-border-10-overflow {
  border-radius: 10px;
  border: 2px solid #e9ecef !important;
  overflow: hidden;
}

.story-border-15 {
  border-radius: 15px;
}

.story-editor-container {
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.story-max-height-200 {
  max-height: 200px;
}

.story-max-height-300 {
  max-height: 300px;
}

.story-icon-blue {
  color: #029acf;
}

.story-icon-green {
  color: #469408;
}

.story-icon-orange {
  color: #d9831f;
}

.story-icon-red {
  color: #d9230f;
}

/* Story List and Grid Styles */
.story-list-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.story-list-hero-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.story-list-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.story-list-card {
  border-radius: 20px;
}

.story-list-header-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.story-list-filter-card {
  background: rgba(102, 126, 234, 0.05);
  border-radius: 15px;
}

.story-card-hover {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.story-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.story-image-container {
  height: 250px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.story-image-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-meta-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.story-author-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.story-empty-icon {
  font-size: 5rem;
  color: #dee2e6;
}

/* ========================================
   User Trips & RSVP Pages Styles
   ======================================== */

.user-trips-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.user-trips-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.user-trips-info-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.user-trips-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.user-trips-empty-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.user-trips-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.user-trips-avatar-large-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9230f, #d9831f);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.user-trips-icon-small {
  width: 3rem;
  height: 3rem;
}

.user-trips-icon-large {
  font-size: 2rem;
}

.user-trips-icon-large-blue {
  font-size: 2rem;
  color: #029acf;
}

.user-trips-icon-large-green {
  font-size: 2rem;
  color: #469408;
}

.user-trips-icon-large-orange {
  font-size: 2rem;
  color: #d9831f;
}

.user-trips-icon-huge {
  font-size: 3rem;
}

.user-trips-icon-huge-gray {
  font-size: 4rem;
  color: #dee2e6;
}

.user-trips-empty-icon {
  font-size: 5rem;
  color: #dee2e6;
}

.user-trips-icon-green {
  color: #469408;
}

.user-trips-icon-orange {
  color: #d9831f;
}

.user-trips-icon-red {
  color: #d9230f;
}

/* ========================================
   Trip List Pages Styles
   ======================================== */

.trip-list-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.trip-list-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trip-list-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.trip-list-info-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.trip-list-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.trip-list-icon-small {
  width: 3rem;
  height: 3rem;
}

.trip-list-icon-huge-gray {
  font-size: 4rem;
  color: #dee2e6;
}

.trip-list-icon-blue {
  color: #029acf;
}

.trip-list-icon-green {
  color: #469408;
}

.trip-list-icon-orange {
  color: #d9831f;
}

.trip-list-icon-red {
  color: #d9230f;
}

.trip-list-bold {
  font-weight: 600;
}

/* ========================================
   RSVP Pages Styles
   ======================================== */

.rsvp-hero {
  background: linear-gradient(135deg, #029acf 0%, #f093fb 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.rsvp-hero-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.rsvp-content-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.rsvp-card {
  border-radius: 20px;
}

.rsvp-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.rsvp-header-blue-pink {
  background: linear-gradient(135deg, #029acf, #f093fb);
  border: none;
}

.rsvp-header-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.rsvp-header-purple-bold {
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-weight: 600;
}

.rsvp-icon-blue {
  color: #029acf;
}

.rsvp-icon-green {
  color: #469408;
}

.rsvp-icon-pink {
  color: #f5576c;
}

.rsvp-icon-huge-gray {
  font-size: 4rem;
  color: #dee2e6;
}

.rsvp-toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 400px;
  max-width: 600px;
}

/* Additional Story List Styles */
.story-list-icon-purple {
  color: #6f42c1;
}

.story-list-icon-gray {
  color: #6c757d;
}

.story-list-icon-huge-2-5 {
  font-size: 2.5rem;
}

.story-list-icon-huge-4 {
  font-size: 4rem;
}

/* ========================================
   Lockout Page Styles
   ======================================== */

.lockout-container {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.lockout-content-wrapper {
  z-index: 1;
  padding: 60px 0;
}

.lockout-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.lockout-alert {
  background: rgba(220, 53, 69, 0.05);
}

.lockout-icon-badge {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1),
    rgba(253, 126, 20, 0.1)
  );
}

.lockout-icon-huge-red {
  font-size: 3rem;
  color: #dc3545;
}

.lockout-icon-large-red {
  font-size: 1.5rem;
  color: #dc3545;
}

.lockout-icon-large-orange {
  font-size: 1.5rem;
  color: #fd7e14;
}

.lockout-text-red {
  color: #dc3545;
}

.lockout-text-large {
  font-size: 1.1rem;
}

.lockout-bg-circle-1 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.lockout-bg-circle-2 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

/* ========================================
   Base Template Styles
   ======================================== */

.base-border-radius-20 {
  border-radius: 20px;
}

.base-border-radius-left {
  border-radius: 20px 0 0 20px;
}

.base-border-radius-right {
  border-radius: 0 20px 20px 0;
}

.base-border-radius-bottom {
  border-radius: 0 0 20px 20px;
}

.base-border-light {
  border-color: #e9ecef !important;
}

.base-icon-blue {
  color: #029acf;
}

.base-icon-blue-large {
  color: #029acf;
  font-size: 1.1rem;
}

.base-icon-blue-xlarge {
  color: #029acf;
  font-size: 1.5rem;
}

.base-icon-blue-huge {
  font-size: 1.2rem;
  color: #029acf;
}

.base-icon-green {
  color: #469408;
}

.base-icon-green-large {
  color: #469408;
  font-size: 1.1rem;
}

.base-icon-orange {
  color: #d9831f;
}

.base-icon-orange-large {
  color: #ff6b35;
  font-size: 1.1rem;
}

.base-icon-red {
  color: #d9230f;
}

.base-icon-red-large {
  color: #d9230f;
  font-size: 1.1rem;
}

.base-icon-pink {
  color: #f5576c;
}

.base-icon-purple {
  color: #667eea;
}

.base-icon-purple-dark {
  color: #764ba2;
}

.base-text-dark {
  color: #212529;
}

.base-text-muted {
  color: #495057;
}

.base-text-uppercase {
  color: #212529;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.base-text-small {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.base-text-xs {
  font-size: 0.85rem;
}

.base-text-sm {
  font-size: 0.875rem;
}

.base-text-md {
  font-size: 0.95rem;
}

.base-text-md-lined {
  font-size: 0.95rem;
  line-height: 1.6;
}

.base-text-large {
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.base-notification-badge {
  display: none;
  font-size: 0.65rem;
  padding: 0.25rem 0.4rem;
}

.base-dropdown-menu {
  display: none;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
}

.base-shadow-sm {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ========================================
   Common Utility Styles
   ======================================== */

.common-border-rounded {
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.common-card-rounded {
  border-radius: 20px;
  overflow: hidden;
}

.common-bg-gray-rounded {
  background: #f8f9fa;
  border-radius: 10px;
}

.common-header-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.common-icon-purple {
  color: #667eea;
}

.common-icon-blue-mt0 {
  color: #029acf;
  margin-top: 0;
}

.common-icon-3rem {
  width: 3rem;
  height: 3rem;
}

.common-text-1-5 {
  font-size: 1.5rem;
}

.common-text-1-8 {
  font-size: 1.8rem;
}

.common-text-2-5 {
  font-size: 2.5rem;
}

.common-badge {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.common-text-footer {
  margin-top: 30px;
  color: #666;
  font-size: 14px;
}

.common-text-gray-small {
  color: #95a5a6;
  font-size: 12px;
  margin-top: 15px;
}

.common-text-muted-small {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

.common-text-muted-small-mt20 {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.common-mt-10 {
  margin-top: 10px;
}

.common-fw-600 {
  font-weight: 600;
}

/* Additional Common Utility Styles */
.common-icon-blue-no-margin {
  color: #029acf;
  margin-top: 0;
}

.common-badge-small {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.common-text-gray-small {
  color: #95a5a6;
  font-size: 12px;
  margin-top: 15px;
}

.common-text-1-8 {
  font-size: 1.8rem;
}

.common-text-gray-footer {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

.common-text-dark {
  color: #212529;
}

.common-text-footer-20 {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.common-mt-20 {
  margin-top: 20px;
}

.common-icon-large-gray {
  font-size: 4rem;
  color: #dee2e6;
}

.common-icon-orange {
  color: #d9831f;
}

.common-icon-green {
  color: #469408;
}

.common-border-rounded-15 {
  border-radius: 15px;
  border: none;
}

.common-bg-white-blur {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.common-bg-gradient-gray {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.common-bg-gradient-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
}

.common-hero-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.common-decorative-circle-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.common-decorative-circle-bottom {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

/* More Common Utility Styles */
.common-margin-8 {
  margin: 8px 0;
}

.common-mt-8 {
  margin-top: 8px;
}

.common-mt-30 {
  margin-top: 30px;
}

.common-shimmer-skeleton {
  height: 25px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.common-text-small {
  font-size: 0.85rem;
}

.common-header-purple-no-border {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-bottom: none;
}

.common-card-blue-green {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  border-radius: 10px;
  padding: 15px;
}

.common-z-index-1-padding {
  z-index: 1;
  padding: 150px 0 60px 0;
}

.common-text-gray-30 {
  margin-top: 30px;
  color: #666;
}

.common-icon-large-light-gray {
  font-size: 3rem;
  color: #ccc;
}

.common-cursor-pointer {
  cursor: pointer;
}

.common-border-15 {
  border-radius: 15px;
}

.common-card-border-overflow {
  border-radius: 10px;
  border: 2px solid #e9ecef !important;
  overflow: hidden;
}

.common-bg-white-transparent {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 4px;
}

.common-bg-gradient-pink {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  border: none;
}

.common-z-index-2 {
  z-index: 2;
}

.common-max-width-600 {
  max-width: 600px;
}

.common-max-height-600 {
  max-height: 600px;
  overflow-y: auto;
}

.common-icon-hero-white {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.common-text-1-2 {
  font-size: 1.2rem;
}

.common-icon-red {
  color: #d9230f;
}

.common-text-gray-xs {
  color: #95a5a6;
  font-size: 12px;
}

.common-icon-purple-dark {
  color: #764ba2;
}

.common-text-secondary {
  color: #6c757d;
}

/* Error Page Specific Styles */
.error-500-hero {
  background: linear-gradient(135deg, #d9230f 0%, #d9831f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.error-404-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.error-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
}

.error-animated-icon-1 {
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 150px;
  color: white;
  animation: float 6s ease-in-out infinite;
}

.error-animated-icon-2 {
  position: absolute;
  top: 60%;
  right: 15%;
  font-size: 120px;
  color: white;
  animation: float 8s ease-in-out infinite;
}

.error-animated-icon-3 {
  position: absolute;
  bottom: 20%;
  left: 20%;
  font-size: 100px;
  color: white;
  animation: float 7s ease-in-out infinite;
}

/* Additional Common Utility Styles */
.common-text-gray {
  color: #666;
}

.common-bg-gradient-orange-red {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
}

.common-bg-gradient-purple-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 0.95rem;
}

.common-bg-gradient-green-blue {
  background: linear-gradient(135deg, #469408, #029acf);
  border: none;
}

.common-bg-hover-card {
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}

.common-z-index-1 {
  z-index: 1;
}

.common-avatar-large {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #469408, #5db30a);
}

.common-avatar-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.common-card-hover {
  transition: all 0.3s;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
}

.common-modal-body {
  max-height: 300px;
  overflow-y: auto;
  border-radius: 10px !important;
  border: 2px solid #e9ecef !important;
}

.common-text-base {
  margin: 0;
  font-size: 16px;
}

.common-shimmer-badge {
  height: 30px;
  width: 60px;
  background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 15px;
}

.common-icon-hero {
  font-size: 4rem;
  opacity: 0.9;
}

.common-icon-large-gray-2 {
  font-size: 3rem;
  color: #dee2e6;
}

.common-icon-large-blue {
  font-size: 2.5rem;
  color: #029acf;
}

.common-text-0-9 {
  font-size: 0.9rem;
}

.common-text-gray-0-95 {
  font-size: 0.95rem;
  color: #666;
}

.common-text-footer-small {
  color: #666;
  font-size: 14px;
}

.common-text-footer-danger {
  color: #721c24;
  font-size: 14px;
  margin-top: 15px;
}

.common-text-footer-primary {
  color: #01579b;
  font-size: 14px;
  margin-top: 15px;
}

.common-icon-success {
  color: #28a745;
}

.common-link-blue {
  color: #029acf;
  text-decoration: none;
}

.common-border-white {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.common-border-top-green {
  border-top: 4px solid #469408 !important;
}

.common-border-20-hidden {
  border-radius: 20px;
  display: none;
}

.common-border-top-rounded {
  border-radius: 10px 10px 0 0;
  font-weight: 600;
}

.common-bg-light-blue {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
}

.common-bg-light-purple {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
  border-radius: 15px;
}

/* Discover Page Styles */
.discover-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

.discover-search-icon {
  color: #029acf;
  font-size: 1.2rem;
}

.discover-search-input {
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

.discover-max-width-700 {
  max-width: 700px;
}

.discover-select {
  max-width: 700px;
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

.discover-stats-card {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  border-left: 4px solid #029acf !important;
}

.discover-text-1-3 {
  font-size: 1.3rem;
}

.discover-icon-empty {
  font-size: 5rem;
  color: #029acf;
  opacity: 0.5;
}

/* Home Page Styles */
/* Additional Error Page Icon Styles */
.error-icon-large-white {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Story Detail Page Styles */
.story-hero {
  position: relative;
  padding: 200px 0 80px;
  margin-top: -80px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.9),
    rgba(118, 75, 162, 0.9)
  );
}

/* Story Content Styles */
.story-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
}

.story-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
}

.story-content p {
  margin-bottom: 1.25rem;
  color: #555;
}

.story-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
}

.story-content ul,
.story-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.story-content li {
  margin-bottom: 0.5rem;
}

/* Comment styles */
.comment-item {
  border-left: 3px solid #e9ecef;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.comment-item:hover {
  border-left-color: #029acf;
}

.comment-reply {
  margin-left: 2rem;
  border-left: 2px solid #dee2e6;
}

.related-story-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.related-story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Additional Avatar Styles */
.avatar-blue-90 {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #029acf, #03b3e8);
}

.avatar-orange-60 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d9831f, #d9230f);
}

.avatar-green-blue-60 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #469408, #029acf);
}

.avatar-blue-green-60 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.avatar-size-50 {
  width: 50px;
  height: 50px;
}

.avatar-size-40-cover {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Additional Common Styles */
.common-text-center {
  text-align: center;
}

.common-position-relative-z1 {
  position: relative;
  z-index: 1;
}

.common-min-height-250 {
  min-height: 250px;
  max-height: 500px;
  overflow-y: auto;
}

.common-min-height-150 {
  min-height: 150px;
  max-height: 400px;
  overflow-y: auto;
}

.common-margin-pl-20 {
  margin: 0;
  padding-left: 20px;
}

.common-shimmer-large {
  height: 45px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
}

.common-btn-transition {
  font-weight: 600;
  transition: all 0.3s ease;
}

.common-btn-outline-white {
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.common-icon-5rem-white {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.9);
}

.common-icon-4rem-red {
  font-size: 4rem;
  color: #dc3545;
}

.common-icon-4rem-gray {
  font-size: 4rem;
  color: #ccc;
}

.common-icon-3rem-blue {
  font-size: 3rem;
  color: #029acf;
}

.common-icon-3rem-green {
  font-size: 2.5rem;
  color: #469408;
}

.common-text-hero-shadow {
  font-size: 2.5rem;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.common-text-16 {
  font-size: 16px;
}

.common-text-10rem-shadow {
  font-size: 10rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.05em;
}

.common-text-1-3 {
  font-size: 1.3rem;
}

.common-text-1-25-max {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.common-text-1-1-line {
  font-size: 1.1rem;
  line-height: 1.6;
}

.common-text-0-95 {
  font-size: 0.95rem;
}

.common-icon-warning {
  color: #ffc107;
}

.common-icon-danger {
  color: #dc3545;
}

.common-icon-danger-no-margin {
  color: #dc3545;
  margin-top: 0;
}

.common-icon-purple {
  color: #6f42c1;
}

.common-text-secondary-xs {
  color: #6c757d;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.common-bg-white-border {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #e9ecef;
}

.common-bg-gradient-purple-reverse {
  background: linear-gradient(135deg, #764ba2, #667eea);
  border: none;
}

.common-bg-success-light {
  background-color: rgba(70, 148, 8, 0.1);
  color: #469408;
  font-size: 0.9rem;
}

.common-switch-size {
  width: 3em;
  height: 1.5em;
}

/* Animation Utility Classes */
.anim-bounce-in {
  animation: bounceIn 1s ease-out;
}

.anim-fade-up-02 {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.anim-fade-up-04 {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.anim-fade-up-06 {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.anim-fade-up-08 {
  animation: fadeInUp 1s ease-out 0.8s both;
}

/* Additional Border Utilities */
.border-top-blue {
  border-top: 4px solid #029acf !important;
}

.border-20-none {
  border-radius: 20px;
  border: none;
}

.border-secondary-bold {
  border: 2px solid #6c757d;
  font-weight: 600;
}

/* Additional Background Gradients */
.bg-gradient-green-blue-reverse {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.05),
    rgba(2, 154, 207, 0.05)
  );
}

.bg-gradient-orange-light {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(217, 35, 15, 0.05)
  );
}

.bg-gradient-blue-green-light {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
}

.bg-gradient-purple-light-border {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
  border: 2px solid #e9ecef;
  border-radius: 10px;
}

.bg-gradient-pink-hero {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.bg-gradient-red {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
}

.bg-gradient-orange-blue {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
}

.bg-gradient-red-orange {
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.bg-gradient-purple-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bg-gradient-blue-green-text {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  font-size: 0.95rem;
}

.bg-gradient-blue-green-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bg-gradient-blue-green-shadow {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  padding: 14px;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  transition: all 0.3s ease;
}

.bg-gradient-blue-green-top-round {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border-radius: 20px 20px 0 0;
}

.bg-gradient-blue-green-rounded-top {
  background: linear-gradient(135deg, #029acf, #469408);
  border-radius: 15px 15px 0 0;
}

.bg-code-block {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin: 25px 0;
}

.bg-info-light {
  background-color: rgba(2, 154, 207, 0.1);
  color: #029acf;
  font-size: 0.9rem;
}

/* Search Results Hero */
.search-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

/* Error 404 Hero Extended */
.error-404-hero-extended {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
  padding-bottom: 3rem;
}

/* Additional Icon Colors */
.icon-blue-custom {
  color: #4694cf;
}

.icon-blue-large-custom {
  color: #029acf;
  font-size: 24px;
  margin-top: 0;
}

/* Base Template - Dropdown & Navigation Styles */
.dropdown-menu-wide {
  min-width: 240px;
  z-index: 1050;
  padding: 8px;
}

.dropdown-menu-notifications {
  min-width: 360px;
  max-width: 400px;
}

.dropdown-menu-profile {
  min-width: 260px;
}

.notifications-list-container {
  max-height: 400px;
  overflow-y: auto;
}

.avatar-32 {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.avatar-32-gradient {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.avatar-40-gradient {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.content-section-no-margin {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer-custom {
  margin-top: 0 !important;
  background: #ffffff !important;
  border-top: 1px solid #e9ecef;
}

.search-input-padding {
  padding: 1.5rem 1rem;
}

/* Home Page Hero */
.home-hero-extended {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 80px;
  margin-top: -80px;
}

/* Profile Page Specific Styles */
.profile-avatar-80 {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.profile-avatar-80-gradient {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #029acf, #469408);
}

.profile-avatar-80-border-blue {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #029acf;
}

.profile-avatar-80-border-red {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #dc3545;
}

.profile-avatar-150 {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.profile-avatar-150-gradient {
  width: 150px;
  height: 150px;
  font-size: 60px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
  color: white;
}

.profile-avatar-110 {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-color: rgba(2, 154, 207, 0.2) !important;
}

.profile-avatar-100 {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-color: #e9ecef !important;
}

/* Additional Avatar Variations */
.avatar-90-red-gradient {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #d9230f, #ff4d3d);
}

.avatar-60-purple-gradient {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar-60-green-gradient {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #469408, #5db30a);
}

.avatar-60-blue-orange-gradient {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #029acf, #d9831f);
}

.avatar-40-white {
  width: 40px;
  height: 40px;
  background: white;
}

.avatar-40-red-gradient {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.avatar-32-red-gradient {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d9230f, #d9831f);
}

.avatar-30 {
  width: 30px;
  height: 30px;
}

/* Width Utilities */
.width-180 {
  width: 180px;
}

.width-120 {
  width: 120px;
}

.width-100 {
  width: 100px;
}

/* Story Detail Page Specific Styles */
.story-hero-with-image {
  position: relative;
  padding: 200px 0 80px;
  margin-top: -80px;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.85),
    rgba(70, 148, 8, 0.85)
  );
}

.story-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.story-category-badge {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.story-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #029acf, #469408);
  z-index: 9999;
  transition: width 0.1s ease;
}

.story-content-bg {
  background: #ffffff;
}

.story-actions-card {
  border-radius: 15px;
  border-left: 4px solid #d9831f !important;
}

.story-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.story-stat-icon-blue {
  font-size: 2rem;
  color: #029acf;
}

.story-stat-icon-red {
  font-size: 2rem;
  color: #d9230f;
}

.story-stat-icon-green {
  font-size: 2rem;
  color: #469408;
}

.story-author-icon {
  font-size: 2rem;
}

.story-comments-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
}

/* Email Template Styles */
.email-divider {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #029acf, transparent);
  margin: 30px 0;
}

.email-footer-text {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.email-footer-link {
  color: #029acf;
  text-decoration: none;
}

.email-social-icon {
  color: #029acf;
  font-size: 20px;
  margin: 0 8px;
}

.email-badge-success {
  background: linear-gradient(135deg, #469408, #5db30a);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.email-badge-warning {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.email-badge-info {
  background: linear-gradient(135deg, #029acf, #03b3e8);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.email-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.email-button-primary {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  padding: 14px 32px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

.email-button-secondary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
}

/* Visa Checker Specific Styles */
.visa-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
  position: relative;
  overflow: hidden;
}

.visa-decorative-circle-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.visa-decorative-circle-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.visa-icon-globe {
  font-size: 4rem;
  opacity: 0.9;
}

.visa-content-gradient {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 70vh;
}

/* Profile Page Specific Styles */
.profile-hero-description {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.profile-follow-button {
  background: white;
  color: #029acf;
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.profile-follow-button:hover {
  background: white;
  color: #029acf;
  border: 2px solid white;
  transform: translateY(-2px);
}

.profile-achievements-header {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
}

.profile-travel-stat-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  border-left: 4px solid #029acf;
}

.profile-progress-bar-height {
  height: 12px;
  border-radius: 10px;
}

.profile-progress-bar-gradient {
  background: linear-gradient(90deg, #029acf, #469408);
}

.profile-map-container {
  height: 500px;
  position: relative;
}

.profile-modal-header-green {
  background: linear-gradient(135deg, #469408, #029acf);
  border: none;
  border-radius: 20px 20px 0 0;
}

.profile-modal-header-orange {
  background: linear-gradient(135deg, #d9831f, #029acf);
  border: none;
  border-radius: 20px 20px 0 0;
}

/* Edit Profile Page Specific Styles */
.edit-profile-skeleton-label-180 {
  height: 20px;
  width: 180px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.edit-profile-skeleton-label-160 {
  height: 20px;
  width: 160px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.edit-profile-editor-container {
  height: 300px;
  border-radius: 10px !important;
  border: 2px solid #e9ecef !important;
}

.edit-profile-submit-button {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Modal Styles */
.modal-content-rounded {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.modal-message-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.modal-button-secondary {
  transition: all 0.3s ease;
}

.modal-button-danger {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
  transition: all 0.3s ease;
}

/* Password Reset Confirm Page Specific Styles */
.password-reset-label {
  color: #495057;
}

.password-requirements-alert {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-left: 4px solid #029acf;
  border-radius: 10px;
  font-size: 0.9rem;
}

.password-reset-error-icon {
  font-size: 2.5rem;
  color: #dc3545;
}

.password-reset-error-message {
  font-size: 1.05rem;
}

.password-reset-request-button {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  padding: 14px;
}

/* Meetup Create Page Specific Styles */
.meetup-create-hero {
  background: linear-gradient(135deg, #d9831f 0%, #029acf 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.meetup-description-editor {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
}

.meetup-recurrence-card {
  background: rgba(2, 154, 207, 0.05);
  border-radius: 15px;
  border: 2px solid #e9ecef;
}

.meetup-image-preview-max {
  max-height: 200px;
}

.meetup-tips-card {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.05),
    rgba(2, 154, 207, 0.05)
  );
  border-radius: 15px;
}

/* Unsubscribe Page Specific Styles */
.unsubscribe-success-icon {
  font-size: 4rem;
  color: #469408;
}

.unsubscribe-current-settings-alert {
  border-radius: 10px;
  border: none;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
}

.unsubscribe-action-button {
  border-radius: 10px;
  padding: 15px;
  border-width: 2px;
}

.unsubscribe-warning-alert {
  border-radius: 10px;
  border: none;
  background: rgba(255, 193, 7, 0.1);
}

.unsubscribe-contact-button {
  border-radius: 10px;
  padding: 15px;
  border-width: 2px;
  border-color: #029acf;
  color: #029acf;
}

/* Home Page Specific Styles */
.home-hero-lead {
  font-size: 1.3rem;
  line-height: 1.8;
}

.home-profile-button {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
}

.home-member-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.home-group-trips-card {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.05),
    rgba(91, 179, 10, 0.05)
  );
}

.home-qa-card {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
}

/* Search Results Page Specific Styles */
.search-hero-icon {
  font-size: 3rem;
  opacity: 0.9;
}

.search-input-icon {
  color: #029acf;
  font-size: 1.3rem;
}

.search-input-field {
  font-size: 1.1rem;
  padding: 1.2rem;
}

.search-submit-button {
  font-size: 1.1rem;
  font-weight: 600;
}

.search-content-bg {
  background: #f8f9fa;
}

/* Discover Page Specific Styles */
.discover-avatar-placeholder {
  width: 100px;
  height: 100px;
  font-size: 40px;
  background: linear-gradient(135deg, #029acf, #469408);
  border-color: #e9ecef !important;
  color: white;
}

.discover-passport-badge {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.2),
    rgba(2, 154, 207, 0.2)
  );
  border: 1.5px solid #029acf;
  color: #333;
  padding: 0.4rem 0.8rem;
}

.discover-badge-secondary {
  padding: 0.4rem 0.8rem;
}

.discover-bio-container {
  min-height: 40px;
}

/* Password Reset Complete Page Specific Styles */
.password-reset-complete-icon-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #28a745;
}

.password-reset-complete-icon {
  font-size: 3.5rem;
  color: #28a745;
}

.password-reset-complete-success-box {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.05),
    rgba(25, 135, 84, 0.05)
  );
  border-left: 4px solid #28a745;
  border-radius: 10px;
}

.password-reset-complete-shield-icon {
  color: #28a745;
  font-size: 1.5rem;
}

/* Public Page CTA Partial Styles */
.public-cta-card {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  border-radius: 20px;
  overflow: hidden;
}

.public-cta-lead {
  font-size: 1.1rem;
}

.public-cta-signup-button {
  font-weight: 600;
  padding: 1rem 2rem;
}

.public-cta-small-text {
  opacity: 0.9;
}

/* Visa Checker Page Specific Styles */
.visa-checker-lead {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.visa-checker-card {
  background: rgba(255, 255, 255, 0.98);
}

.visa-checker-lightning-icon {
  font-size: 2.5rem;
  color: #d9831f;
}

/* Settings Notification Preferences Specific Styles */
.settings-skeleton-label-180 {
  height: 20px;
  width: 180px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.settings-skeleton-label-200 {
  height: 20px;
  width: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.settings-skeleton-label-160 {
  height: 20px;
  width: 160px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

/* Password Reset Done Page Specific Styles */
.password-reset-done-icon-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #029acf;
}

.password-reset-done-info-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-left: 4px solid #029acf;
  border-radius: 10px;
}

.password-reset-done-icon {
  color: #029acf;
  font-size: 1.5rem;
}

/* Password Change Form Specific Styles */
.password-change-hero {
  background: linear-gradient(135deg, #d9831f 0%, #d9230f 100%);
  padding: 200px 0 60px;
  margin-top: -80px;
}

.password-change-submit-button {
  background: linear-gradient(135deg, #d9831f, #d9230f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.password-change-help-box {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(217, 35, 15, 0.05)
  );
  border-left: 4px solid #d9831f;
  border-radius: 10px;
}

/* Visited Countries Manager Specific Styles */
.visited-countries-search-input {
  border-radius: 0 10px 10px 0;
}

.visited-countries-edit-select {
  border-radius: 10px;
  background-color: #f8f9fa;
}

/* Group Trip Detail Specific Styles */
.group-trip-manage-rsvps-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 600;
  display: none;
}

/* 404 Page Specific Styles */
.error-404-hero {
  background: linear-gradient(135deg, #029acf 0%, #469408 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -80px;
  position: relative;
  overflow: hidden;
}

/* RSVP Management Modal Specific Styles */
.rsvp-modal-tabs-bg {
  background-color: #f8f9fa;
}

/* Login Page Specific Styles */
.login-lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* QA Ask Page Specific Styles */
.qa-ask-tips-card {
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
}

/* Meetup Detail Page Specific Styles */
.meetup-detail-hero {
  position: relative;
  padding: 200px 0 80px;
  margin-top: -80px;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.9),
    rgba(70, 148, 8, 0.9)
  );
}

/* Travel Buddy Detail Page Specific Styles */
.travel-buddy-detail-modal-content {
  border-radius: 15px;
  border: none;
  overflow: hidden;
}

/* Delete Account Email Specific Styles */
.delete-account-feedback-button {
  margin-top: 15px;
}

/* QA Detail Page Specific Styles */
.qa-detail-answer-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
}

/* Password Change Form Specific Styles */
.password-change-security-card {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.05),
    rgba(217, 35, 15, 0.05)
  );
  border-radius: 15px;
}

/* Travel Buddy My Plans Specific Styles */
.travel-buddy-delete-modal-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-bottom: none;
}

/* Story Detail Page Specific Styles */
.story-detail-hero {
  position: relative;
  padding: 200px 0 80px;
  margin-top: -80px;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.85),
    rgba(70, 148, 8, 0.85)
  );
}

/* Story Edit Page Specific Styles */
.story-edit-editor-container {
  min-height: 400px;
  max-height: 600px;
  overflow-y: auto;
}
/* Public Profile Page Styles */
/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .sticky-sidebar {
    position: static;
  }
}

/* Travel Stats Styles */
.travel-stat-box {
  transition: all 0.3s ease;
}

.travel-stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.travel-stat-box .progress {
  background-color: rgba(0, 0, 0, 0.1);
}

.travel-stat-box .progress-bar {
  transition: width 1s ease-in-out;
}

/* Place Cards */
.place-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.place-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.15);
  border-color: rgba(2, 154, 207, 0.2);
}

.place-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #029acf, #469408);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.place-info {
  flex: 1;
}

.place-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #029acf;
  line-height: 1.2;
}

.place-label {
  font-size: 0.85rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Responsive adjustments for place cards */
@media (max-width: 991.98px) {
  .place-card {
    padding: 1rem;
  }

  .place-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .place-value {
    font-size: 1.5rem;
  }
}

/* Transport Cards */
.transport-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.transport-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.15);
  border-color: rgba(2, 154, 207, 0.2);
}

.transport-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.transport-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.transport-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #029acf;
  line-height: 1;
}

.transport-label {
  font-size: 0.85rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments for transport cards */
@media (max-width: 991.98px) {
  .transport-card {
    padding: 1rem;
  }

  .transport-emoji {
    font-size: 2rem;
  }

  .transport-value {
    font-size: 1.5rem;
  }
}

/* Stat Pills */
.stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.08),
    rgba(70, 148, 8, 0.08)
  );
  border-radius: 20px;
  font-size: 0.9rem;
  color: #495057;
  transition: all 0.3s ease;
}

.stat-pill:hover {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.15),
    rgba(70, 148, 8, 0.15)
  );
  transform: translateY(-2px);
}

.stat-value {
  font-weight: 700;
  color: #029acf;
  margin-right: 0.25rem;
}

.stat-separator {
  color: #dee2e6;
  font-weight: 300;
  margin: 0 0.25rem;
}

/* Rank Pills */
.rank-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #856404;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.rank-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.rank-pill i {
  font-size: 1rem;
}

/* Timeline Stats */
.timeline-stat {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(2, 154, 207, 0.06);
  border-radius: 12px;
  border-left: 3px solid #029acf;
}

.timeline-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6c757d;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
  display: block;
}

.timeline-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
}

/* Hero Passport Badge Styles */
.hero-passport-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #029acf;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-passport-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  background: white;
}

/* Achievement Badge Styles */
.achievement-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.achievement-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  background: white;
}

.achievement-badge .emoji {
  font-size: 1.1rem;
}

/* Achievement Badge Color Variants */
.achievement-badge.gold {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: white;
  border-color: #ffd700;
}

.achievement-badge.platinum {
  background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
  color: #333;
  border-color: #e5e4e2;
}

.achievement-badge.champion {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: white;
  border-color: #6f42c1;
}

.achievement-badge.milestone {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border-color: #029acf;
}

.achievement-badge.regional {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  color: white;
  border-color: #d9230f;
}

/* Country Badge Styles */
.country-badge {
  background: white;
  border: 2px solid #e9ecef;
  color: #495057;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.country-badge:hover {
  border-color: #029acf;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 154, 207, 0.1);
}

/* Region Group Styles */
.region-group {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.03),
    rgba(70, 148, 8, 0.03)
  );
  border-left: 4px solid #029acf;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.region-header {
  color: #029acf;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.region-count {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Timeline View Styles */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-year-section {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-year-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #e9ecef;
}

.year-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: #029acf;
  display: flex;
  align-items: center;
}

.year-badge.undated {
  color: #6c757d;
}

.year-count {
  font-size: 0.9rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

.timeline-visits {
  display: grid;
  gap: 1rem;
}

.timeline-visit-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-visit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #029acf, #469408);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-visit-card:hover {
  border-color: #029acf;
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.15);
  transform: translateX(8px);
}

.timeline-visit-card:hover::before {
  opacity: 1;
}

.visit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.timeline-flag {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visit-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.visit-date {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.visit-notes {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

.visit-notes i {
  color: #029acf;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.transport-icons {
  display: flex;
  gap: 0.4rem;
}

.transport-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
  .timeline-year-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .year-badge {
    font-size: 1.3rem;
  }

  .timeline-visit-card {
    padding: 1rem;
  }

  .visit-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .transport-icons {
    margin-top: 0.25rem;
  }
}

/* ========================================
   Q&A - My Questions Styles
   ======================================== */

/* Question Filter Tabs */
#question-filter-tabs .nav-link {
  transition: all 0.3s ease;
  opacity: 0.7;
}

#question-filter-tabs .nav-link:hover {
  opacity: 1;
}

#question-filter-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}

.question-item {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.question-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.question-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.question-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.question-stats .stat.answered {
  color: #28a745;
  font-weight: 600;
}

/* ========================================
   Q&A - Ask Question Styles
   ======================================== */

.form-control:focus,
.form-select:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Country autocomplete styling */
#country-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 2px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.country-result-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f8f9fa;
}

.country-result-item:hover {
  background: rgba(102, 126, 234, 0.05);
}

.country-result-item:last-child {
  border-bottom: none;
}

#selected-countries,
#selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card {
  transition: all 0.3s ease;
}

/* Rich Text Editor Styling */
#body-toolbar .btn {
  padding: 0.25rem 0.5rem;
}

#body-toolbar .btn:hover {
  background-color: #e9ecef;
}

[contenteditable]:focus {
  outline: none;
}

[contenteditable]:empty:before {
  content: attr(placeholder);
  color: #6c757d;
  opacity: 0.6;
}

/* ========================================
   Q&A - Browse Questions Styles
   ======================================== */

.question-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.question-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
  transform: translateY(-2px);
}

.question-title {
  color: #212529;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.question-title:hover {
  color: #667eea;
}

.user-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.tag-badge.tag-country {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.3);
}

.tag-badge:hover {
  transform: scale(1.05);
}

.tag-badge.clickable-tag {
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-badge.clickable-tag:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tag-badge.tag-country.clickable-tag:hover {
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.tag-filter {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-filter:hover {
  background: #667eea;
  color: white;
}

.tag-filter.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #764ba2;
}

.stats-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-right: 0.75rem;
  background: #f8f9fa;
  color: #6c757d;
}

.stats-badge i {
  margin-right: 0.25rem;
}

.stats-badge.answered {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.stats-badge.votes-positive {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Question Body Content */
.question-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #212529;
}

.question-body p {
  margin-bottom: 1rem;
}

/* Info Boxes (like meetup date/time boxes) */
.info-box {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.5rem;
  color: #667eea;
}

.info-label {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.125rem;
}

.info-detail {
  color: #6c757d;
  font-size: 0.875rem;
}

/* Tag Badges */
.tag-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
  transition: all 0.2s;
}

.tag-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.2)
  );
  transform: translateY(-1px);
  text-decoration: none;
}

.tag-badge.tag-country {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.3);
}

.tag-badge.tag-country:hover {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.2),
    rgba(25, 135, 84, 0.2)
  );
}

/* Answer Cards */
.answer-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.answer-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

/* Accepted Answer Styling */
.answer-card.accepted-answer {
  border-left: 4px solid #28a745;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.accepted-checkmark {
  margin-top: 0.75rem;
  text-align: center;
}

.accepted-checkmark i {
  font-size: 2rem;
  color: #28a745;
  animation: checkmarkPulse 2s ease-in-out infinite;
}

@keyframes checkmarkPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Prevent parent card hover transform from creating stacking context */
.card:has(.answer-card):hover {
  transform: none !important;
}

/* Ensure dropdown menus in answer cards appear above sidebar */
.answer-card .dropdown-menu {
  z-index: 1050 !important;
}

.answer-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 1rem;
}

.answer-body p {
  margin-bottom: 0.75rem;
}

/* Vote Controls */
.vote-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.5rem;
}

.vote-btn {
  border: none;
  background: none;
  font-size: 1.75rem;
  color: #adb5bd;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.25rem;
  line-height: 1;
}

.vote-btn:hover:not(:disabled) {
  color: #667eea;
  transform: scale(1.15);
}

.vote-btn.active {
  color: #667eea;
}

.vote-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.vote-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  min-width: 40px;
  text-align: center;
}

/* User Cards */
.user-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
  border-radius: 10px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.reputation-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Comment Section */
.comment-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.comment-item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.comment-author {
  font-weight: 600;
  color: #667eea;
  margin-right: 0.5rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: all 0.3s;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Card Styling */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
}

/* Nav Pills (for tabs) */
.nav-pills .nav-link {
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-pills .nav-link:not(.active) {
  background: transparent;
  color: #667eea;
}

.nav-pills .nav-link:not(.active):hover {
  background: rgba(102, 126, 234, 0.1);
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* CKEditor Styling */
.ck-editor__editable {
  min-height: 250px !important;
  max-height: 500px !important;
}

.ck.ck-editor__main > .ck-editor__editable {
  border-radius: 0 0 10px 10px !important;
  border: 2px solid #e9ecef !important;
  border-top: none !important;
}

.ck.ck-editor__top {
  border-radius: 10px 10px 0 0 !important;
}

.ck.ck-toolbar {
  border: 2px solid #e9ecef !important;
  border-bottom: 1px solid #e9ecef !important;
  border-radius: 10px 10px 0 0 !important;
  background: #f8f9fa !important;
}

.ck-editor__editable:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
}

/* Share Button Styling */
.share-btn {
  transition: all 0.3s ease;
  font-weight: 600;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Meetups Styles
   ======================================== */

/* Meetups - create */
[contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #adb5bd;
}

[contenteditable]:focus {
  outline: none;
}

#description-toolbar .btn {
  padding: 0.25rem 0.5rem;
}

#description-toolbar .btn:hover {
  background-color: #e9ecef;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf !important;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25) !important;
}

#submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

#submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Meetups - detail */
.rsvp-btn {
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.rsvp-btn.active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) inset;
}

.attendee-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-pills .nav-link {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin-right: 0.5rem;
  font-weight: 600;
  color: #6c757d;
  background: #f8f9fa;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
}

.venue-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
}

/* Meetups - edit */
[contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #adb5bd;
}

[contenteditable]:focus {
  outline: none;
}

#description-toolbar .btn {
  padding: 0.25rem 0.5rem;
}

#description-toolbar .btn:hover {
  background-color: #e9ecef;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf !important;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25) !important;
}

#submit-btn {
  background: linear-gradient(135deg, #029acf, #469408);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

#submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Meetups - list */
.meetup-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.meetup-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.meetup-cover {
  height: 180px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.meetup-cover:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.meetup-card a {
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.organizer-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.organizer-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.rsvp-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Meetups - my_meetups */
/* Filter Tabs */
#organizing-filter-tabs .nav-link,
#rsvp-filter-tabs .nav-link {
  transition: all 0.3s ease;
  opacity: 0.7;
}

#organizing-filter-tabs .nav-link:hover,
#rsvp-filter-tabs .nav-link:hover {
  opacity: 1;
}

#organizing-filter-tabs .nav-link.active,
#rsvp-filter-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}

.meetup-item {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.meetup-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #029acf;
}

.meetup-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.meetup-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-upcoming {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  color: #029acf;
  border: 1px solid rgba(2, 154, 207, 0.3);
}

.status-ongoing {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.1),
    rgba(2, 154, 207, 0.1)
  );
  color: #469408;
  border: 1px solid rgba(70, 148, 8, 0.3);
}

.status-completed {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

/* ========================================
   Travel Buddies Styles
   ======================================== */

/* Travel Buddies - browse */
.trip-plan-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.trip-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.trip-plan-card .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-bottom: none;
  padding: 1.25rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar-lg {
  width: 64px;
  height: 64px;
}

.destination-flag {
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

.match-score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.match-score-high {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.match-score-medium {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.match-score-low {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.trip-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.trip-detail-item:last-child {
  border-bottom: none;
}

.trip-detail-icon {
  color: #667eea;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.btn-connect {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: all 0.3s;
}

.btn-connect:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.btn-group .btn {
  border-color: #dee2e6;
}

.btn-group .btn.active {
  background-color: #667eea;
  border-color: #667eea;
  color: white;
}

.trip-plan-list-item {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.trip-plan-list-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

/* Travel Buddies - create */
.form-control:focus,
.form-select:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.form-check-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

#submit-btn:hover {
  background: linear-gradient(135deg, #764ba2, #667eea) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Rich Text Editor Styles */
#description-editor {
  padding: 12px;
}

#description-editor:empty:before {
  content: attr(data-placeholder);
  color: #6c757d;
  font-style: italic;
}

#description-editor:focus {
  outline: none;
}

#description-editor ul,
#description-editor ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

#description-editor p {
  margin-bottom: 10px;
}

#description-toolbar .btn {
  border-radius: 5px;
  transition: all 0.2s ease;
}

#description-toolbar .btn:hover {
  background-color: #667eea;
  color: white;
  border-color: #667eea;
  transform: none;
  box-shadow: none;
}

#description-toolbar .btn:active {
  background-color: #764ba2;
  border-color: #764ba2;
}

/* Travel Buddies - edit */
.form-control:focus,
.form-select:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.form-check-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

#submit-btn:hover {
  background: linear-gradient(135deg, #764ba2, #667eea) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Rich Text Editor Styles */
#description-editor {
  padding: 12px;
}

#description-editor:empty:before {
  content: attr(data-placeholder);
  color: #6c757d;
  font-style: italic;
}

#description-editor:focus {
  outline: none;
}

#description-editor ul,
#description-editor ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

#description-editor p {
  margin-bottom: 10px;
}

#description-toolbar .btn {
  border-radius: 5px;
  transition: all 0.2s ease;
}

#description-toolbar .btn:hover {
  background-color: #667eea;
  color: white;
  border-color: #667eea;
  transform: none;
  box-shadow: none;
}

#description-toolbar .btn:active {
  background-color: #764ba2;
  border-color: #764ba2;
}

/* Travel Buddies - my_plans */
.trip-plan-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.trip-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.trip-plan-card .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-bottom: none;
  padding: 1.25rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.destination-flag {
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

.trip-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.trip-detail-item:last-child {
  border-bottom: none;
}

.trip-detail-icon {
  color: #667eea;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.trip-badge-planning {
  background-color: #fff3e0;
  color: #f57c00;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.trip-badge-confirmed {
  background-color: #e8f5e9;
  color: #388e3c;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.trip-badge-completed {
  background-color: #e0e0e0;
  color: #616161;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.trip-badge-cancelled {
  background-color: #ffebee;
  color: #c62828;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.connection-request-card {
  border-radius: 15px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.connection-request-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.connection-request-pending {
  border-left: 4px solid #ffa726;
}

.connection-request-accepted {
  border-left: 4px solid #66bb6a;
}

.connection-request-declined {
  border-left: 4px solid #ef5350;
}

.nav-tabs {
  border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
  border: none;
  color: #666;
  transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
  color: #667eea;
}

.nav-tabs .nav-link.active {
  color: #667eea;
  border-bottom: 3px solid #667eea;
  background: transparent;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.match-score-badge {
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.match-score-high {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.match-score-medium {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.match-score-low {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

/* ========================================
   Group Trips Styles
   ======================================== */

/* Group Trips - list */
.trip-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.trip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.trip-cover {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.trip-cover:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.trip-card a {
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.organizer-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.organizer-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.trip-type-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Group Trips - rsvp_activity */
.rsvp-activity-timeline {
  position: relative;
  padding-left: 30px;
}

.rsvp-activity-item {
  position: relative;
  padding-bottom: 30px;
}

.rsvp-activity-item:last-child {
  padding-bottom: 0;
}

.rsvp-activity-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  bottom: -22px;
  width: 2px;
  background: #e9ecef;
}

.rsvp-activity-item:last-child::before {
  display: none;
}

.rsvp-activity-icon {
  position: absolute;
  left: -30px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rsvp-activity-icon.status_change {
  background: linear-gradient(135deg, #029acf, #f093fb);
}

.rsvp-activity-icon.comment {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.rsvp-activity-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rsvp-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
}

.rsvp-activity-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rsvp-activity-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.rsvp-activity-time {
  font-size: 0.875rem;
  color: #6c757d;
}

.rsvp-activity-message {
  color: #495057;
  line-height: 1.6;
  white-space: pre-wrap;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.approved {
  background: #d1e7dd;
  color: #0f5132;
}

.status-badge.rejected {
  background: #f8d7da;
  color: #842029;
}

/* Group Trips - user_trips */
.trip-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.trip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.trip-cover {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.organizer-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.organizer-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.trip-type-badge {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* ========================================
   Stories - Additional Templates Styles
   ======================================== */

/* Stories - create */
#content-toolbar .btn {
  padding: 0.25rem 0.5rem;
}

#content-toolbar .btn:hover {
  background-color: #e9ecef;
}

/* Show delete button on hover for images and videos */
.content-image-container:hover .delete-content-item,
.video-embed-container:hover .delete-content-item {
  display: block !important;
}

.delete-content-item {
  transition: opacity 0.2s ease;
}

.delete-content-item:hover {
  background: rgba(220, 53, 69, 1) !important;
}

/* Stories - edit */
[contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #adb5bd;
}

[contenteditable]:focus {
  outline: none;
}

#content-toolbar .btn {
  padding: 0.25rem 0.5rem;
}

#content-toolbar .btn:hover {
  background-color: #e9ecef;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf !important;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25) !important;
}

/* Show delete button on hover for images and videos */
.content-image-container:hover .delete-content-item,
.video-embed-container:hover .delete-content-item {
  display: block !important;
}

.delete-content-item {
  transition: opacity 0.2s ease;
}

.delete-content-item:hover {
  background: rgba(220, 53, 69, 1) !important;
}

/* Stories - list */
.story-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.story-cover {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.author-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.author-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.category-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.reading-time {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Stories - my_stories */
.nav-pills .nav-link {
  color: #6c757d;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: rgba(2, 154, 207, 0.1);
  color: #029acf;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
}

.story-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.story-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status-published {
  background-color: rgba(70, 148, 8, 0.1);
  color: #469408;
}

.status-draft {
  background-color: rgba(217, 131, 31, 0.1);
  color: #d9831f;
}

.status-archived {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.action-btn:hover {
  transform: scale(1.1);
}

/* ========================================
   Profiles - Additional Templates Styles
   ======================================== */

/* Profiles - edit_profile */
/* Confirmation Modal Styles */
#confirmModal .modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#confirmModal .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#confirmModal .btn:active {
  transform: translateY(0);
}

/* Backdrop styling */
.modal-backdrop.show {
  opacity: 0.7;
}

.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.form-check-input:checked {
  background-color: #029acf;
  border-color: #029acf;
}

/* Validation Error Styling */
.is-invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
  font-weight: 500;
}

.invalid-feedback.d-block {
  display: block !important;
}

/* Tagify validation styling */
tags.tagify.is-invalid,
tags.is-invalid.tagify,
.tagify.is-invalid {
  border-color: #dc3545 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  animation: shake 0.3s ease-in-out;
}

tags.tagify.is-invalid:focus-within,
tags.is-invalid.tagify:focus-within,
.tagify.is-invalid:focus-within {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.35) !important;
}

/* Shake animation for validation errors */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Ensure the original input (hidden by Tagify) doesn't show error styling */
input#passports.is-invalid {
  background-image: none;
}

/* Shimmer Animation for Loading Skeleton */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Profiles - visited_countries_manager */
/* Grid/Card View Styles */
.visit-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid #e9ecef;
}

.visit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.year-group {
  animation: fadeIn 0.5s ease-in;
}

/* Tab Styles Enhancement */
.nav-tabs {
  border-bottom: 2px solid #dee2e6 !important;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-bottom-color: #029acf;
  color: #029acf;
  background: rgba(2, 154, 207, 0.05);
}

.nav-tabs .nav-link.active {
  color: #029acf;
  background: white;
  border-bottom-color: #029acf;
  font-weight: 600;
}

/* Timeline Wrapper */
.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Year Block */
.timeline-year-block {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-year-block:last-child
  .timeline-visits-container
  .timeline-item:last-child
  .timeline-line {
  display: none;
}

/* Year Marker */
.timeline-year-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-left: 0;
}

.year-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  flex-shrink: 0;
  z-index: 2;
}

.year-label h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #029acf;
  margin-bottom: 0.25rem;
}

.year-label small {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Timeline Visits Container */
.timeline-visits-container {
  position: relative;
  padding-left: 0;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Timeline Connector (Dot + Line) */
.timeline-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 4px solid #029acf;
  box-shadow: 0 2px 8px rgba(2, 154, 207, 0.3);
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  border-color: #469408;
  box-shadow: 0 4px 12px rgba(70, 148, 8, 0.5);
}

.timeline-line {
  width: 3px;
  flex-grow: 1;
  background: linear-gradient(180deg, #029acf 0%, #469408 100%);
  margin-top: 0.5rem;
  min-height: 60px;
}

/* Timeline Content */
.timeline-content {
  flex-grow: 1;
  margin-top: -4px;
}

/* Timeline Card */
.timeline-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-card:hover {
  border-color: #029acf;
  box-shadow: 0 4px 16px rgba(2, 154, 207, 0.15);
  transform: translateX(8px);
}

/* Timeline Card Header */
.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.timeline-flag-img {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-card-header h6 {
  color: #212529;
  font-size: 1.1rem;
}

/* Timeline Card Body */
.timeline-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-date,
.timeline-region {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.timeline-date i,
.timeline-region i {
  color: #029acf;
}

.timeline-transport {
  color: #495057;
  font-size: 1.2rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #469408;
}

.timeline-transport i {
  color: #469408;
  font-size: 0.9rem;
}

.timeline-notes {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #029acf;
  display: flex;
  align-items: flex-start;
}

.timeline-notes i {
  color: #029acf;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-year-block {
  animation: fadeIn 0.5s ease-in;
}

/* Shimmer animation for loading states */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-wrapper {
    padding: 1rem 0;
  }

  .year-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .year-label h4 {
    font-size: 1.5rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-card {
    padding: 0.875rem;
  }

  .timeline-card-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .timeline-card:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 576px) {
  .year-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .year-label h4 {
    font-size: 1.25rem;
  }

  .timeline-flag-img {
    width: 28px;
    height: 21px;
  }

  .timeline-card-header h6 {
    font-size: 1rem;
  }
}

/* ========================================
   Registration & Settings Styles
   ======================================== */

/* Registration - login */
/* Form Input Focus States */
.form-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.form-check-input:checked {
  background-color: #029acf;
  border-color: #029acf;
}

.form-check-input:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Submit Button Hover */
button[type="submit"]:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3) !important;
}

/* Shadow */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Smooth animations */
.card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links hover */
a:hover {
  opacity: 0.8;
}

/* Registration - password_change_form */
.form-control:focus,
.form-select:focus {
  border-color: #d9831f;
  box-shadow: 0 0 0 0.25rem rgba(217, 131, 31, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Registration - password_reset_complete */
.success-icon {
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.2);
  animation: successRipple 2s ease-out infinite;
}

@keyframes successRipple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4) !important;
}

/* Registration - password_reset_confirm */
.password-icon,
.error-icon {
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 154, 207, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(2, 154, 207, 0);
  }
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4) !important;
}

.form-control:focus {
  border-color: #029acf !important;
  box-shadow: 0 0 0 0.2rem rgba(2, 154, 207, 0.25) !important;
}

/* Registration - password_reset_done */
.success-icon {
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 154, 207, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(2, 154, 207, 0);
  }
}

.btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #029acf, #469408);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 154, 207, 0.3);
}

/* Registration - password_reset_email */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.email-container {
  max-width: 600px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  padding: 40px 30px;
  text-align: center;
}
.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}
.header p {
  margin: 10px 0 0 0;
  font-size: 16px;
  opacity: 0.95;
}
.content {
  padding: 40px 30px;
}
.content h2 {
  color: #029acf;
  font-size: 22px;
  margin-top: 0;
}
.content p {
  margin: 15px 0;
  color: #555;
  font-size: 16px;
}
.info-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-left: 4px solid #029acf;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.info-box p {
  margin: 0;
  color: #333;
  font-size: 14px;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white !important;
  text-decoration: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  transition: all 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4);
}
.security-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.security-box p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.user-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
}
.user-info p {
  margin: 5px 0;
  font-size: 15px;
  color: #333;
}
.user-info strong {
  color: #029acf;
}
.steps {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}
.steps h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #333;
}
.step-item {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
}
.step-number {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 15px;
  flex-shrink: 0;
}
.step-text {
  flex: 1;
  padding-top: 2px;
}
.step-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
}
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}
.footer a {
  color: #029acf;
  text-decoration: none;
}
.footer p {
  margin: 10px 0;
  color: #ecf0f1;
}
.link-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  word-break: break-all;
  border: 1px dashed #ddd;
}
.link-box p {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}
.link-box a {
  color: #029acf;
  text-decoration: none;
  font-size: 14px;
}
@media only screen and (max-width: 600px) {
  .email-container {
    margin: 0;
    border-radius: 0;
  }
  .header,
  .content,
  .footer {
    padding: 30px 20px;
  }
  .cta-button {
    display: block;
    padding: 14px 30px;
  }
}

/* Registration - password_reset_form */
.form-control:focus,
.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Settings - notification_preferences */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Radio button card highlight on selection - REMOVED (too broad, affected all checkboxes)
   If you need this style for specific components, use a more specific class like .card-select or similar */

/* Toggle switch styling */
.form-check-input:checked {
  background-color: #029acf;
  border-color: #029acf;
}

.form-check-input:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Settings - unsubscribe */
/* Button hover effects */
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* ========================================
   Misc Templates Styles
   ======================================== */

/* Misc - 404 */
/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Button Hover Effects */
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-light:hover {
  background: white;
  color: #029acf;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .display-1 {
    font-size: 6rem !important;
  }
  h2 {
    font-size: 1.75rem !important;
  }
}

/* Misc - 500 */
/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Button Hover Effects */
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-light:hover {
  background: white;
  color: #d9230f;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .display-1 {
    font-size: 6rem !important;
  }
  h2 {
    font-size: 1.75rem !important;
  }
}

/* Misc - discover */
/* Card Hover Effect */
.traveler-card-inner {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.traveler-card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.traveler-card-inner:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #029acf, #469408);
}

/* View Profile Button */
.btn-view-profile {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view-profile:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(2, 154, 207, 0.3);
  color: white;
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #b81d0c, #c0751a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(217, 35, 15, 0.4);
  color: white;
}

/* Search Animation */
#search-travelers {
  transition: all 0.3s ease;
}

#search-travelers:focus {
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Smooth fade in animation */
.traveler-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for cards */
.traveler-card:nth-child(1) {
  animation-delay: 0s;
}
.traveler-card:nth-child(2) {
  animation-delay: 0.05s;
}
.traveler-card:nth-child(3) {
  animation-delay: 0.1s;
}
.traveler-card:nth-child(4) {
  animation-delay: 0.15s;
}
.traveler-card:nth-child(5) {
  animation-delay: 0.2s;
}
.traveler-card:nth-child(6) {
  animation-delay: 0.25s;
}
.traveler-card:nth-child(7) {
  animation-delay: 0.3s;
}
.traveler-card:nth-child(8) {
  animation-delay: 0.35s;
}
.traveler-card:nth-child(9) {
  animation-delay: 0.4s;
}
.traveler-card:nth-child(10) {
  animation-delay: 0.45s;
}
.traveler-card:nth-child(11) {
  animation-delay: 0.5s;
}
.traveler-card:nth-child(12) {
  animation-delay: 0.55s;
}

/* Responsive adjustments for mobile and tablet */
@media (max-width: 991.98px) {
  /* Tablet and below */
  .discover-hero {
    padding: 80px 0 60px !important;
  }

  .discover-hero .display-3 {
    font-size: 2.5rem !important;
  }

  .discover-hero .lead {
    font-size: 1.1rem !important;
  }

  .discover-hero .bi-compass-fill {
    font-size: 3rem !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile devices */
  .discover-hero {
    padding: 60px 0 40px !important;
  }

  .discover-hero .display-3 {
    font-size: 2rem !important;
  }

  .discover-hero .lead {
    font-size: 1rem !important;
  }

  .discover-hero .bi-compass-fill {
    font-size: 2.5rem !important;
  }

  /* Adjust search inputs for mobile */
  .discover-hero .form-control,
  .discover-hero .form-select {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }

  .discover-hero .input-group-text {
    padding: 0.75rem 1rem !important;
  }
}

@media (max-width: 575.98px) {
  /* Small mobile devices */
  .discover-hero {
    padding: 50px 0 30px !important;
  }

  .discover-hero .display-3 {
    font-size: 1.75rem !important;
  }

  .discover-hero .mb-3 {
    margin-bottom: 1rem !important;
  }
}

/* Misc - home */
/* Form Input Focus States */
.form-control:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

.form-check-input:checked {
  background-color: #029acf;
  border-color: #029acf;
}

.form-check-input:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.25);
}

/* Submit Button Hover */
button[type="submit"]:hover {
  background: linear-gradient(135deg, #027ba8, #3a7907) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.3) !important;
}

/* Shadow */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Card animation */
.card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

/* Links hover */
a:hover {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto !important;
    padding-bottom: 4rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .lead {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 575px) {
  .display-3 {
    font-size: 2rem !important;
  }

  .card-body.p-5 {
    padding: 2rem !important;
  }

  h4 {
    font-size: 1.1rem !important;
  }
}

/* Misc - visa_checker */
/* Form Select Styles */
.form-select {
  border-radius: 12px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23029acf' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
  border-color: #029acf;
  box-shadow: 0 0 0 0.25rem rgba(2, 154, 207, 0.15);
}

.form-select:disabled {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}

.form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

/* Requirement Box Styles */
#requirementBox {
  animation: fadeInUp 0.5s ease-out;
}

#requirementBox .alert {
  border-radius: 16px;
  padding: 2rem;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#requirementBox .alert-success {
  background: linear-gradient(
    135deg,
    rgba(70, 148, 8, 0.1),
    rgba(70, 148, 8, 0.05)
  );
  border-left: 5px solid #469408;
}

#requirementBox .alert-warning {
  background: linear-gradient(
    135deg,
    rgba(217, 131, 31, 0.1),
    rgba(217, 131, 31, 0.05)
  );
  border-left: 5px solid #d9831f;
}

#requirementBox .alert-danger {
  background: linear-gradient(
    135deg,
    rgba(217, 35, 15, 0.1),
    rgba(217, 35, 15, 0.05)
  );
  border-left: 5px solid #d9230f;
}

#requirementBox .alert-info {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(2, 154, 207, 0.05)
  );
  border-left: 5px solid #029acf;
}

#requirementBox .alert a {
  color: #029acf;
  font-weight: 600;
  text-decoration: underline;
}

#requirementBox .alert a:hover {
  color: #027ba8;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Info Cards Hover */
.row .col-md-4 > div {
  transition: all 0.3s ease;
}

.row .col-md-4 > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2, 154, 207, 0.15);
  border-color: #029acf !important;
}

/* Responsive */
@media (max-width: 768px) {
  .visa-checker-hero {
    padding: 80px 0 40px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .card-body {
    padding: 2rem !important;
  }
}

/* Misc - lockout */
/* Shadow */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Smooth animations */
.card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon animation */
.bi-shield-lock-fill {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Button hover effects */
.btn-outline-primary:hover {
  background: #029acf;
  border-color: #029acf;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  border-color: #6c757d;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Links hover */
a:hover {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-5 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .card-body {
    padding: 2rem !important;
  }

  .d-flex.gap-3 {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* Misc - _logo */
.afrinomad-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.afrinomad-logo:hover svg {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Misc - _rsvp_activity_modal */
/* Timeline Styles */
.rsvp-activity-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 30px;
}

.rsvp-activity-item:last-child {
  padding-bottom: 0;
}

.rsvp-activity-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 30px;
  bottom: -10px;
  width: 2px;
  background: #e0e0e0;
}

.rsvp-activity-item:last-child::before {
  display: none;
}

.rsvp-activity-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  z-index: 1;
}

.rsvp-activity-icon.status-change {
  background: linear-gradient(135deg, #029acf, #469408);
}

.rsvp-activity-icon.comment {
  background: #6c757d;
}

.rsvp-activity-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  transition: box-shadow 0.2s;
}

.rsvp-activity-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rsvp-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rsvp-activity-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rsvp-activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.rsvp-activity-time {
  font-size: 12px;
  color: #999;
}

.rsvp-activity-message {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #029acf;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.approved {
  background: #d1e7dd;
  color: #0f5132;
}

.status-badge.rejected {
  background: #f8d7da;
  color: #842029;
}

/* Misc - activate_account */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.email-container {
  max-width: 600px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  padding: 40px 30px;
  text-align: center;
}
.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}
.header p {
  margin: 10px 0 0 0;
  font-size: 16px;
  opacity: 0.95;
}
.content {
  padding: 40px 30px;
}
.content h2 {
  color: #029acf;
  font-size: 22px;
  margin-top: 0;
}
.content p {
  margin: 15px 0;
  color: #555;
  font-size: 16px;
}
.verification-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.05),
    rgba(70, 148, 8, 0.05)
  );
  border-left: 4px solid #029acf;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.verification-box p {
  margin: 0;
  color: #333;
  font-size: 14px;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white !important;
  text-decoration: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  transition: all 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4);
}
.next-steps {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}
.next-steps h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #333;
}
.step-item {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
}
.step-number {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 15px;
  flex-shrink: 0;
}
.step-text {
  flex: 1;
  padding-top: 2px;
}
.step-text h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
  color: #333;
}
.step-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
}
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}
.footer a {
  color: #029acf;
  text-decoration: none;
}
.footer p {
  margin: 10px 0;
  color: #ecf0f1;
}
.security-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.security-note p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.link-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  word-break: break-all;
  border: 1px dashed #ddd;
}
.link-box p {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}
.link-box a {
  color: #029acf;
  text-decoration: none;
  font-size: 14px;
}
@media only screen and (max-width: 600px) {
  .email-container {
    margin: 0;
    border-radius: 0;
  }
  .header,
  .content,
  .footer {
    padding: 30px 20px;
  }
  .cta-button {
    display: block;
    padding: 14px 30px;
  }
}

/* Misc - deactivate_account */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.email-container {
  max-width: 600px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  padding: 40px 30px;
  text-align: center;
}
.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}
.header p {
  margin: 10px 0 0 0;
  font-size: 16px;
  opacity: 0.95;
}
.content {
  padding: 40px 30px;
}
.content h2 {
  color: #495057;
  font-size: 22px;
  margin-top: 0;
}
.content p {
  margin: 15px 0;
  color: #555;
  font-size: 16px;
}
.info-box {
  background: linear-gradient(
    135deg,
    rgba(108, 117, 125, 0.05),
    rgba(73, 80, 87, 0.05)
  );
  border-left: 4px solid #6c757d;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.info-box p {
  margin: 0;
  color: #333;
  font-size: 14px;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white !important;
  text-decoration: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  transition: all 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4);
}
.features {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}
.features h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #333;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
}
.feature-icon {
  background: linear-gradient(135deg, #029acf, #469408);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-right: 15px;
  flex-shrink: 0;
}
.feature-text {
  flex: 1;
  padding-top: 2px;
}
.feature-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
}
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}
.footer a {
  color: #029acf;
  text-decoration: none;
}
.footer p {
  margin: 10px 0;
  color: #ecf0f1;
}
.link-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  word-break: break-all;
  border: 1px dashed #ddd;
}
.link-box p {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}
.link-box a {
  color: #029acf;
  text-decoration: none;
  font-size: 14px;
}
@media only screen and (max-width: 600px) {
  .email-container {
    margin: 0;
    border-radius: 0;
  }
  .header,
  .content,
  .footer {
    padding: 30px 20px;
  }
  .cta-button {
    display: block;
    padding: 14px 30px;
  }
}

/* Misc - delete_account */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.email-container {
  max-width: 600px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 40px 30px;
  text-align: center;
}
.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}
.header p {
  margin: 10px 0 0 0;
  font-size: 16px;
  opacity: 0.95;
}
.content {
  padding: 40px 30px;
}
.content h2 {
  color: #dc3545;
  font-size: 22px;
  margin-top: 0;
}
.content p {
  margin: 15px 0;
  color: #555;
  font-size: 16px;
}
.warning-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.warning-box p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.info-box {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.05),
    rgba(200, 35, 51, 0.05)
  );
  border-left: 4px solid #dc3545;
  padding: 20px;
  border-radius: 6px;
  margin: 25px 0;
}
.info-box p {
  margin: 0;
  color: #333;
  font-size: 14px;
}
.info-box ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}
.info-box li {
  color: #555;
  font-size: 14px;
  margin: 5px 0;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #029acf, #469408);
  color: white !important;
  text-decoration: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(2, 154, 207, 0.3);
  transition: all 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 154, 207, 0.4);
}
.feedback-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
}
.feedback-section h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #333;
}
.feedback-section p {
  margin: 10px 0;
  font-size: 14px;
  color: #666;
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
}
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}
.footer a {
  color: #029acf;
  text-decoration: none;
}
.footer p {
  margin: 10px 0;
  color: #ecf0f1;
}
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(2, 154, 207, 0.1),
    rgba(70, 148, 8, 0.1)
  );
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
  text-align: center;
}
.highlight-box p {
  margin: 5px 0;
  font-size: 15px;
  color: #333;
}
.highlight-box a {
  color: #029acf;
  text-decoration: none;
  font-weight: 600;
}
@media only screen and (max-width: 600px) {
  .email-container {
    margin: 0;
    border-radius: 0;
  }
  .header,
  .content,
  .footer {
    padding: 30px 20px;
  }
  .cta-button {
    display: block;
    padding: 14px 30px;
  }
}

/* ========================================
   Navbar & Navigation Styles
   ======================================== */

/* Custom Navbar Styles */
.navbar-custom {
  background: rgba(33, 37, 41, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Nav Link Hover Effects */
.nav-link-custom {
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link-custom.active {
  background: rgba(217, 35, 15, 0.2);
}

/* User Menu Custom */
.user-menu-custom {
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.user-menu-custom:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #d9230f, #d9831f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #b81d0c, #c0751a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(217, 35, 15, 0.4);
  color: white;
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 8px;
}

.dropdown-item {
  transition: all 0.2s ease;
  color: #212529 !important;
  margin-left: 0 !important;
}

.dropdown-item:hover {
  background: rgba(217, 35, 15, 0.1);
  color: #212529 !important;
}

.dropdown-item span {
  color: #212529 !important;
}

.dropdown-item i {
  margin-right: 8px;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Medium Screen Navigation (Tablets 768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  /* Vertical stacked icon and text for better fit */
  .nav-link-custom {
    padding: 0.5rem 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .nav-link-custom i {
    font-size: 1.1rem;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .nav-link-custom span {
    display: block !important;
    white-space: nowrap;
    text-align: center;
  }

  /* Dropdown also gets centered vertical layout */
  .dropdown-toggle {
    padding: 0.5rem 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem;
    font-size: 0.75rem;
  }

  .dropdown-toggle i {
    font-size: 1.1rem;
    margin-right: 0 !important;
  }

  .dropdown-toggle span {
    display: block !important;
    text-align: center;
    white-space: nowrap;
  }

  .nav-item.mx-lg-1 {
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
  }
}

/* Mobile Navigation Responsive Styles */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 0.5rem 0;
  }

  .nav-link-custom {
    margin: 0.25rem 0;
  }

  /* Dropdown menus in mobile navbar */
  .navbar-collapse .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    background: transparent;
    padding: 0;
  }

  .navbar-collapse .dropdown-item {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    color: #ffffff !important;
  }

  .navbar-collapse .dropdown-item span {
    color: #ffffff !important;
  }

  .navbar-collapse .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }

  .navbar-collapse .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.2) !important;
  }

  .navbar-collapse .dropdown-menu-profile .text-dark {
    color: #ffffff !important;
  }

  .navbar-collapse .dropdown-menu-profile .base-text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .navbar-collapse .dropdown-menu-profile .border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  }
}

/* ========================================
   Footer Styles
   ======================================== */

/* Footer Links Modern Style */
.footer-links-modern {
  margin: 0;
  padding: 0;
}

.footer-links-modern li {
  margin-bottom: 0.75rem;
}

.footer-links-modern a,
.footer-links-modern a:link,
.footer-links-modern a:visited {
  color: #6c757d !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 1;
}

.footer-links-modern a:hover,
.footer-links-modern a:active {
  color: #029acf !important;
  transform: translateX(3px);
  opacity: 1;
}

/* Social Icons Modern Style */
.social-icon-modern,
.social-icon-modern:link,
.social-icon-modern:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(2, 154, 207, 0.1);
  color: #029acf !important;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  opacity: 1;
}

.social-icon-modern:hover,
.social-icon-modern:active {
  background: linear-gradient(135deg, #029acf, #469408) !important;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 154, 207, 0.3);
  opacity: 1;
}

.social-icon-modern i {
  transition: transform 0.3s ease;
  color: inherit !important;
}

.social-icon-modern:hover i {
  transform: scale(1.1);
}

/* Footer Base Text Styles */
.base-text-md-lined {
  line-height: 1.8;
}

.base-text-sm {
  font-size: 0.875rem;
}

/* ========================================
   Visual Identity — Coral Accent Overrides
   ======================================== */

/* Page background */
.content-section {
  background-color: var(--color-bg);
}

/* Navbar active state -> coral */
.nav-link-custom.active {
  background: var(--color-accent-light) !important;
  color: var(--color-accent) !important;
}

/* Primary gradient button -> flat coral */
.btn-gradient {
  background: var(--color-accent) !important;
  background-image: none !important;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-gradient:hover {
  background: var(--color-accent-hover) !important;
  background-image: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.35) !important;
  color: #fff;
}

/* Dropdown hover -> coral tint */
.dropdown-item:hover {
  background: var(--color-accent-light) !important;
}

/* Footer background */
.footer-custom {
  background: var(--color-surface) !important;
  border-top: 1px solid var(--color-border) !important;
}

/* Footer links hover -> coral */
.footer-links-modern a:hover,
.footer-links-modern a:active {
  color: var(--color-accent) !important;
  transform: translateX(3px);
}

/* Social icons -> coral palette */
.social-icon-modern,
.social-icon-modern:link,
.social-icon-modern:visited {
  background: var(--color-accent-light) !important;
  color: var(--color-accent) !important;
}

.social-icon-modern:hover,
.social-icon-modern:active {
  background: var(--color-accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.3) !important;
}

/* Home hero -> dark */
.home-hero-extended {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Cards: flat with subtle border instead of heavy shadow */
.card {
  border: 1px solid var(--color-border) !important;
  box-shadow: none !important;
  background-color: var(--color-surface) !important;
}

.card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Base text utilities -> design tokens */
.base-text-dark {
  color: var(--color-text) !important;
}

.base-text-muted {
  color: var(--color-muted) !important;
}

/* Navbar */
.navbar-custom {
  background: var(--color-navbar) !important;
  background-image: none !important;
}

/* Hero sections -> dark */
.error-404-hero-extended {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Accent color on key CTA links */
a.text-accent,
.text-accent {
  color: var(--color-accent) !important;
}

/* Bootstrap primary overrides for coral */
.btn-primary {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-accent-hover) !important;
  border-color: var(--color-accent-hover) !important;
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.35) !important;
}

.btn-outline-primary {
  color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}

.btn-outline-primary:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

/* Decorative circles -> coral tint */
.common-decorative-circle-top,
.common-decorative-circle-bottom {
  background: rgba(232, 86, 58, 0.08) !important;
}

/* Fix: Bootstrap 5.3 tables inside dark sections get --bs-table-bg: body-bg (white).
   Override to transparent so the dark section background shows through. */
.bg-dark .table,
.bg-dark .table td,
.bg-dark .table th {
  --bs-table-bg: transparent !important;
  background-color: transparent !important;
}

/* Country/travels hero -> dark (no cover image fallback) */
.story-hero,
.country-hero {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Travel Tools hero sections -> dark (replaces old brand gradients) */
.passports-hero,
.passport-ranking-hero,
.visas-hero,
.visa-hero,
.visa-checker-hero,
.countries-hero {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Passport detail page -> design system */
.passport-detail-hero {
  background: #1a1a1a !important;
  background-image: none !important;
}

.passport-detail-content-bg {
  background: var(--color-bg) !important;
  background-image: none !important;
}

.passport-detail-filter-card {
  background: var(--color-surface) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
}

.passport-detail-filter-icon-blue,
.passport-detail-filter-icon-green {
  color: var(--color-accent) !important;
}

.passport-detail-filter-control:focus {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 86, 58, 0.2) !important;
}

.passport-detail-table-header,
#requirementsTable thead {
  background: var(--color-text) !important;
  background-image: none !important;
}

#requirementsTable tbody tr:hover {
  background: var(--color-accent-light) !important;
  background-image: none !important;
  border-left-color: var(--color-accent) !important;
}

/* ========================================
   Travel Tools — Full Design System Sweep
   ======================================== */

/* ── Shared: content backgrounds → warm white ── */
.visas-content-bg,
.passports-content-bg,
.passport-ranking-content-bg,
.countries-content-bg,
.visa-content-gradient {
  background: var(--color-bg) !important;
  background-image: none !important;
}

/* ── Shared: filter cards → flat white surface ── */
.visas-filter-card,
.passports-filter-card,
.passport-ranking-legend-card,
.countries-filter-card {
  background: var(--color-surface) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
}

/* ── Shared: filter icons → coral ── */
.visas-filter-icon,
.passports-filter-icon,
.countries-filter-icon-blue,
.countries-filter-icon-green,
.passport-ranking-info-icon,
.passport-ranking-passport-icon,
.passport-ranking-legend-icon,
.passport-ranking-check-icon,
.passport-ranking-globe-icon,
.passport-ranking-rank-icon,
.passport-ranking-flag-icon,
.passport-ranking-country-icon,
.passport-ranking-score-icon {
  color: var(--color-accent) !important;
}

/* ── Shared: filter focus rings → coral ── */
.visas-filter-control:focus,
.passports-filter-control:focus,
.countries-filter-control:focus {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 86, 58, 0.2) !important;
}

/* ── Visas: stat cards → flat dark / coral ── */
.visas-stat-card-blue,
.visas-stat-card-green {
  background: var(--color-text) !important;
  background-image: none !important;
}

.visas-stat-card-orange {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* ── Visas: info icons → coral ── */
.visa-card .visa-info i {
  color: var(--color-accent) !important;
}

/* ── Visa badges: replace gradients with flat colors ── */
.visa-badge-free {
  background: #16a34a !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2) !important;
}

.visa-badge-easy {
  background: #0284c7 !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2) !important;
}

.visa-badge-required {
  background: var(--color-accent) !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(232, 86, 58, 0.2) !important;
}

.visa-badge-default {
  background: #6b7280 !important;
  background-image: none !important;
}

/* ── Submit button → coral ── */
button[type="submit"]:hover {
  background: var(--color-accent-hover) !important;
  background-image: none !important;
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.3) !important;
}

/* ── Passport ranking: table header → dark ── */
.passport-ranking-table-header,
#passportsTable thead {
  background: var(--color-bg) !important;
  background-image: none !important;
  border-bottom: 2px solid var(--color-border) !important;
}

/* ── Passport ranking: row hover → coral ── */
#passportsTable tbody tr:hover {
  background: var(--color-accent-light) !important;
  background-image: none !important;
}

/* ── Passport ranking: count & info ── */
.passport-ranking-count {
  color: var(--color-accent) !important;
}

/* ── Passport ranking: score badges ── */
.badge-excellent {
  background: #16a34a !important;
  background-image: none !important;
}

.badge-good {
  background: #0284c7 !important;
  background-image: none !important;
}

.badge-moderate {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* ── Passport ranking: country link hover → coral ── */
.country-link:hover {
  color: var(--color-accent) !important;
}

/* ── Countries: card flag area → warm tint ── */
.country-card-flag {
  background: rgba(232, 86, 58, 0.06) !important;
  background-image: none !important;
}

/* ── Countries: region badge → dark ── */
.country-info .region-badge {
  background: var(--color-text) !important;
  background-image: none !important;
}

/* ── Countries: view guide button → coral ── */
.view-guide-btn {
  background: var(--color-accent) !important;
  background-image: none !important;
}

.view-guide-btn:hover {
  background: var(--color-accent-hover) !important;
  background-image: none !important;
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.3) !important;
}

/* ========================================
   Homepage — Design System Sweep
   ======================================== */

/* Feature card backgrounds -> uniform warm tint */
.bg-gradient-blue-green-light,
.bg-gradient-purple-light,
.bg-gradient-orange-light,
.bg-gradient-green-blue-reverse {
  background: rgba(232, 86, 58, 0.04) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
}

/* Feature card icon circles -> coral */
.avatar-blue-green-60,
.avatar-orange-60,
.avatar-green-blue-60,
.avatar-purple-60 {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* Arrow icons on feature cards -> coral */
.base-icon-blue,
.base-icon-green,
.common-icon-purple,
.common-icon-orange {
  color: var(--color-accent) !important;
}

/* Sign In / CTA button -> coral */
.bg-gradient-blue-green-btn,
.bg-gradient-blue-green-shadow,
.bg-gradient-blue-green-text,
.bg-gradient-blue-green-top-round,
.bg-gradient-blue-green-rounded-top,
.common-bg-gradient-blue-green {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* "My Travels" button -> coral */
.home-profile-button {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* "EXPLORE OUR FEATURES" badge -> coral tint */
.common-bg-success-light {
  background-color: rgba(232, 86, 58, 0.1) !important;
  color: var(--color-accent) !important;
}

/* Travel Resources section background */
.bg-white.py-5 {
  background-color: var(--color-bg) !important;
}

/* hover-lift: softer shadow to match flat card style */
.hover-lift:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Shared gradient utilities used across pages -> coral */
.bg-gradient-orange-blue,
.bg-gradient-purple-btn {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* ========================================
   Legal & Contact Pages — Design System Sweep
   ======================================== */

/* Heroes -> dark */
.disclaimer-hero,
.terms-hero,
.privacy-hero,
.contact-hero {
  background: #1a1a1a !important;
  background-image: none !important;
}

/* Content backgrounds -> warm white */
.disclaimer-content-bg,
.terms-content-bg,
.privacy-content-section,
.contact-content-bg {
  background: var(--color-bg) !important;
  background-image: none !important;
}

/* Section number circles -> coral */
.disclaimer-section-number,
.privacy-section-number {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* Contact cards -> flat surface */
.disclaimer-contact-card,
.privacy-contact-card {
  background: var(--color-surface) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
}

/* Icon colors -> coral */
.disclaimer-icon-primary,
.disclaimer-icon-danger,
.disclaimer-icon-warning,
.disclaimer-contact-icon,
.privacy-list .bi-check-circle-fill,
.privacy-list .bi-shield-check,
.privacy-list .bi-clock-fill,
.privacy-list .bi-cookie,
.privacy-section-title,
.privacy-contact-card .bi-envelope-fill {
  color: var(--color-accent) !important;
}

/* Highlight box -> coral tint */
.disclaimer-highlight-box {
  background-color: var(--color-accent-light) !important;
}

/* Links -> coral */
.disclaimer-contact-link,
.privacy-contact-link {
  color: var(--color-accent) !important;
}

/* Contact page specifics */
.contact-card-header {
  background: var(--color-text) !important;
  background-image: none !important;
}

.contact-form-control:focus {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 86, 58, 0.2) !important;
}

.contact-submit-btn {
  background: var(--color-accent) !important;
  background-image: none !important;
}

.contact-submit-btn:hover {
  background: var(--color-accent-hover) !important;
  background-image: none !important;
  box-shadow: 0 4px 12px rgba(232, 86, 58, 0.3) !important;
}

.contact-info-card-email {
  border-left-color: var(--color-accent) !important;
}

.contact-info-card-social {
  border-left-color: var(--color-accent) !important;
}

.contact-icon-badge-blue {
  background: var(--color-accent) !important;
  background-image: none !important;
}

/* Fix: remove global opacity dim on hover — use color transitions instead */
a:hover {
  opacity: 1;
}

/* Forgot password / utility links -> muted, not coral */
a.base-icon-blue {
  color: var(--color-muted) !important;
}

a.base-icon-blue:hover {
  color: var(--color-text) !important;
}
