/*--------------------------------------------------------------
# Load Local Fonts
--------------------------------------------------------------*/

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/static/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway/static/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - Coffee Theme (Brightened) */
:root {
  --background-color: #fefcf8; /* Brighter cream background for cozy coffee vibes */
  --default-color: #5d3a2a; /* Brighter rich brown for text content */
  --heading-color: #4a2c1a; /* Brighter deep coffee brown for headings */
  --surface-color: #fffdf8; /* Brighter warm off-white for cards and surfaces */
  --contrast-color: #ffffff; /* White for contrast text */
  --border-color: #f0e6d4; /* Brighter warm beige for borders */
  --muted-color: #a67c52; /* Brighter muted coffee brown for secondary text */
  --success-color: #6b8e23; /* Olive green for success states */
  --warning-color: #e6b17a; /* Brighter warm amber for warnings */
  --danger-color: #c17817; /* Warm red-brown for errors */
  --accent-color: #b8860b; /* Brighter rich saddle brown for accent elements */
  --accent-hover: #8b6914; /* Brighter darker brown for hover states */
}

/* Nav Menu Colors - Coffee Theme (Improved Contrast) */
:root {
  --nav-color: #f0e6d4; /* Much brighter cream for nav links */
  --nav-hover-color: #ffffff; /* White for hover states */
  --nav-mobile-background-color: #4a2c1a; /* Brighter deep coffee brown for mobile nav */
  --nav-dropdown-background-color: #5d3a2a; /* Brighter rich brown for dropdown background */
  --nav-dropdown-color: #f0e6d4; /* Brighter cream for dropdown links */
  --nav-dropdown-hover-color: #ffffff; /* White for dropdown hover states */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #fefcf8;
  --surface-color: #fff8f3;
}

.dark-background {
  --background-color: #2d1810;
  --default-color: #e8d5c4;
  --heading-color: #ffffff;
  --surface-color: #3d2c2e;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Enhanced section styling */
section {
  background: rgba(255, 248, 243, 0.8);
  border-radius: 16px;
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid rgba(139, 69, 19, 0.1);
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
}

/* Enhanced button styling */
.btn-coffee {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-coffee:hover {
  background: linear-gradient(135deg, #654321 0%, #8b4513 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
  color: white;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background: #fefcf8;
  background-attachment: fixed;
  font-family: var(--default-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(139, 69, 19, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 69, 19, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(139, 69, 19, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background: linear-gradient(180deg, #2d1810 0%, #3d2c2e 100%);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 2px solid #8b4513;
  box-shadow: 4px 0 20px rgba(139, 69, 19, 0.2);
}

.header .profile-logo {
  width: 120px;
  height: auto;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.header .profile-img img:hover {
  transform: scale(1.1);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 69, 19, 0.2);
  color: #e8d5c4;
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
  border: 1px solid rgba(139, 69, 19, 0.3);
}

.header .social-links a:hover {
  color: #ffffff;
  background: #8b4513;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
}

@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 15px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
  border-radius: 25px;
  background: rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.2);
  margin-bottom: 8px;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu a.active,
.navmenu a.active:focus {
  color: var(--nav-hover-color);
  background: rgba(139, 69, 19, 0.3);
  border-color: rgba(139, 69, 19, 0.5);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: var(--nav-dropdown-color);
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 8px 15px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid rgba(139, 69, 19, 0.3);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
  transition: all 0.5s ease-in-out;
}

/* Ensure active dropdowns are always visible */
.navmenu .dropdown.active ul,
.navmenu .dropdown > .dropdown-active {
  display: block !important;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  z-index: 1;
}

.footer-content {
  width: 100%;
}

/* Footer Main Section */
.footer-main {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.footer-section {
  margin-bottom: 20px;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

.footer-description {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin: 15px 0;
  font-size: 0.95rem;
}

/* Footer Headings */
.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 8px;
  text-decoration: none;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-link:hover::before {
  width: 6px;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 157, 221, 0.3);
}

/* Footer Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--accent-color);
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  background: var(--surface-color);
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer-copyright p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-powered-by {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 0.85rem;
}

.tech-badge {
  background: linear-gradient(135deg, #8ae7a0 0%, #20c997 100%);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-copyright {
    text-align: center;
  }

  .footer-heading {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
  font-size: 20px;
}

/*--------------------------------------------------------------
# Generic Section
--------------------------------------------------------------*/
.generic .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.generic .content ul {
  list-style: none;
  padding: 0;
}

.generic .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.generic .content ul strong {
  margin-right: 10px;
}

.generic .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Taken from djtickets css for form formatting
--------------------------------------------------------------*/
.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Enhanced Header Styles
--------------------------------------------------------------*/
/* Enhanced Header Styling */
.header {
  background: var(--nav-mobile-background-color);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.header .profile-img {
  margin: 1.5rem auto 1rem;
  text-align: center;
}

.header .profile-img img {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header .profile-img img:hover {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.header .logo {
  margin-bottom: 1.5rem;
  text-align: center;
}

.header .logo .sitename {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--contrast-color);
  margin: 0;
  font-family: var(--heading-font);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Navigation Styling */
.navmenu {
  flex: 1;
  padding: 0 1rem;
}

.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navmenu .nav-item {
  margin-bottom: 0.5rem;
}

.navmenu .nav-link,
.navmenu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--nav-color);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.navmenu .nav-link::before,
.navmenu .dropdown > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--accent-hover);
  transition: width 0.3s ease;
  z-index: -1;
}

.navmenu .nav-link:hover::before,
.navmenu .dropdown > a:hover::before,
.navmenu .nav-link.active::before,
.navmenu .dropdown.active > a::before {
  width: 100%;
}

.navmenu .nav-link:hover,
.navmenu .dropdown > a:hover,
.navmenu .nav-link.active,
.navmenu .dropdown.active > a {
  color: var(--nav-hover-color);
  transform: translateX(4px);
}

.navmenu .navicon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.navmenu .toggle-dropdown {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.navmenu .dropdown.active .toggle-dropdown {
  transform: rotate(180deg);
}

/* Dropdown Styling */
.navmenu .dropdown ul {
  background: var(--nav-dropdown-background-color);
  border-radius: 8px;
  margin-top: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navmenu .dropdown ul li {
  margin: 0;
}

.navmenu .dropdown ul a,
.navmenu .dropdown ul button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: var(--accent-color);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-radius: 0;
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--nav-dropdown-hover-color);
}

/* Mobile Toggle Button */
.header-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--nav-color);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1000;
}

.header-toggle:hover {
  color: var(--nav-hover-color);
}

/* Animation for nav items */
.navmenu .nav-item {
  animation: slideInLeft 0.3s ease-out;
  animation-fill-mode: both;
}

.navmenu .nav-item:nth-child(1) {
  animation-delay: 0.1s;
}
.navmenu .nav-item:nth-child(2) {
  animation-delay: 0.2s;
}
.navmenu .nav-item:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Active state for current page */
.navmenu .nav-link.active {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Hover effects for better interactivity */
.navmenu .nav-link:hover .navicon,
.navmenu .dropdown > a:hover .navicon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/*--------------------------------------------------------------
# Enhanced Footer Styles
--------------------------------------------------------------*/
/* Enhanced Footer Styling */
.footer {
  background: var(--nav-mobile-background-color);
  color: var(--contrast-color);
  padding: 1rem 0 0.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  position: relative;
}

.footer-content::before {
  display: none;
}

.footer-brand {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-company {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--contrast-color);
  font-family: var(--heading-font);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.powered-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.tech-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-badge {
  background: rgba(0, 228, 102, 0.2);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
}

.tech-badges .tech-badge {
  color: #ffffff;
}

.tech-badge:hover {
  background: rgba(14, 165, 233, 0.3);
  transform: translateY(-1px);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-powered {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tech-badges {
    justify-content: center;
  }
}

/* Animation for footer elements */
.footer-brand,
.footer-copyright,
.footer-powered {
  animation: fadeInUp 0.6s ease-out;
}

/*--------------------------------------------------------------
# Login Page Styles
--------------------------------------------------------------*/
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* was center */
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--cream-pure) 0%,
    var(--cream-warm) 50%,
    var(--cream-light) 100%
  );
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.login-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(139, 69, 19, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(212, 165, 116, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.login-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background: var(--surface-color);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(139, 69, 19, 0.2);
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.login-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(139, 69, 19, 0.3);
}

.login-header {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
  color: var(--contrast-color);
  padding: 30px 30px 30px;
  text-align: center;
  border-bottom: 2px solid #654321;
}

.login-logo {
  margin-bottom: 20px;
}

.logo-img {
  width: 80px;
  height: 80px;
  /* border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3); */
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: var(--heading-font);
}

.login-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

.login-form-container {
  padding: 40px 30px;
}

.login-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-label i {
  color: var(--accent-color);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--surface-color);
  color: var(--default-color);
}

.form-control:focus {
  outline: none;
  border-color: #8b4513;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--muted-color);
}

/* -------------------------------------------------------------
   Coffee-themed <select> styles to match .form-control
------------------------------------------------------------- */

/* Base: make selects match inputs */
.form-select {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 14px 18px; /* same as .form-control */
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Small size to match .form-control-sm */
.form-select.form-select-sm {
  border-width: 1px;
  border-radius: 6px;
  padding: 0.375rem 0.5rem; /* matches your small inputs */
  font-size: 0.875rem;
}

/* Focus: coffee outline/glow (same as .form-control:focus) */
.form-select:focus {
  outline: none;
  border-color: #8b4513;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15);
  background-color: var(--surface-color);
}

/* Make selects inside your filters wrapper look consistent */
.filters-wrapper .form-select,
.filters-wrapper .form-control[type="date"] {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #fff;
}

/* Coffee-colored dropdown arrow (override Bootstrap default) */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23b8860b' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2.25rem; /* room for arrow */
}

/* Option text color (for better contrast on some browsers) */
.form-select option {
  color: var(--default-color);
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--danger-color);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.login-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
  color: var(--contrast-color);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.login-btn:hover {
  background: linear-gradient(135deg, #654321 0%, #8b4513 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-info {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-color);
  margin-bottom: 8px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  font-size: 14px;
}

/* Login Responsive Design */
@media (max-width: 480px) {
  .login-wrapper {
    padding: 10px;
  }

  .login-header {
    padding: 30px 20px 20px;
  }

  .login-form-container {
    padding: 30px 20px;
  }

  .login-title {
    font-size: 24px;
  }

  .logo-img {
    width: 60px;
    height: 60px;
  }
}

/* Login Animation for form elements */
.form-control,
.login-btn {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Login Loading state for button */
.login-btn.loading {
  position: relative;
  color: transparent;
}

.login-btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--contrast-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/*--------------------------------------------------------------
# Main Content Styles
--------------------------------------------------------------*/
.main-content {
  padding: 2rem 0.5rem; /* top/bottom, left/right */
  min-height: calc(100vh - 100px);
  background: rgba(255, 248, 243, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 2rem;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.1);
}

/* Browser Card Styling */
.browser-card {
  background: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
  border: 2px solid var(--border-color);
  overflow: hidden;
  height: fit-content;
  transition: all 0.3s ease;
}

.browser-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
}

.browser-header {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-bottom: 2px solid #654321;
}

.browser-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.browser-path {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.path-label {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
}

.path-value {
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-all;
}

.browser-content {
  padding: 1.5rem;
}

.back-button-wrapper {
  margin-bottom: 1rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--background-color);
  color: var(--default-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  text-decoration: none;
}

/* File List Styling */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--surface-color);
}

.file-item:hover {
  border-color: #8b4513;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
  transform: translateY(-1px);
}

.file-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.1);
}

.file-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.2s ease;
}

.file-link:hover {
  background: var(--background-color);
  color: var(--default-color);
  text-decoration: none;
}

.file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.folder-item .file-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.pdf-item .file-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.file-type {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-color);
}

.file-action {
  color: var(--muted-color);
  font-size: 0.875rem;
}

/* Selected PDF Styling */
.pdf-selected {
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

.pdf-selected .file-action {
  color: var(--accent-color);
}

/* Viewer Card Styling */
.viewer-card {
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: fit-content;
  min-height: 400px;
}

.viewer-header {
  background: var(--accent-hover);
  color: var(--contrast-color);
  padding: 1.5rem;
}

.viewer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.viewer-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Empty States */
.empty-state,
.empty-viewer {
  text-align: center;
  padding: 2rem;
}

.empty-icon {
  font-size: 3rem;
  color: var(--muted-color);
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 0.5rem 0;
}

.empty-description {
  color: var(--muted-color);
  font-size: 0.875rem;
  margin: 0;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

/* Main Content Responsive Design */
@media (max-width: 991.98px) {
  .main-content {
    padding: 1rem 0;
  }

  .browser-card,
  .viewer-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .browser-header,
  .viewer-header {
    padding: 1rem;
  }

  .browser-content,
  .viewer-content {
    padding: 1rem;
  }

  .file-link {
    padding: 0.5rem;
  }

  .file-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* Animation for file items */
.file-item {
  animation: fadeInUp 0.3s ease-out;
}

/*--------------------------------------------------------------
# Some form thing...cant rem
--------------------------------------------------------------*/
.form-control-sm {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  height: auto;
}

/*--------------------------------------------------------------
# Table styling for reviews table
--------------------------------------------------------------*/
.reviews-container {
  background: rgba(255, 248, 243, 0.7);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-controls {
  background: linear-gradient(
    135deg,
    var(--background-color),
    var(--surface-color)
  );
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.search-wrapper {
  position: relative;
}

.search-indicator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.filters-wrapper {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 1rem;
}

.filter-select,
.filter-date {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.filter-select:focus,
.filter-date:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tag {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-tag .remove-filter {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.filter-tag .remove-filter:hover {
  opacity: 1;
}

.reviews-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  table-layout: fixed;
  width: 100%;
}

.reviews-table th,
.reviews-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.reviews-table td {
  max-width: 0;
  padding: 0.75rem 0.5rem;
}

.table-coffee {
  background: var(--default-color);
  color: white;
}

.sortable {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.sortable:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sort-icon {
  font-size: 0.75rem;
  opacity: 0.7;
}

.sortable.sort-asc .sort-icon::before {
  content: "\F12C";
}

.sortable.sort-desc .sort-icon::before {
  content: "\F12F";
}

.review-row {
  transition: all 0.2s ease;
}

.review-row:hover {
  background-color: rgba(184, 134, 11, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-cell,
.date-cell,
.occasion-cell,
.rating-cell,
.created-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.location-cell span,
.date-cell span,
.occasion-cell span,
.created-cell small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.rating-stars {
  display: flex;
  gap: 1px;
}

.rating-stars i {
  font-size: 0.75rem;
}

.actions-cell {
  text-align: center;
}

.btn-group .btn {
  border-radius: 4px;
  margin: 0 1px;
}

.btn-outline-coffee {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-coffee:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.empty-state {
  padding: 3rem 1rem;
}

.empty-state i {
  opacity: 0.3;
}

.pagination .page-link {
  color: var(--accent-color);
  border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.pagination .page-link:hover {
  background-color: rgba(184, 134, 11, 0.1);
  border-color: var(--accent-color);
}

/* Modal Enhancements */
.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

/* Review Form Modal Styles */
.review-form {
  padding: 0;
}

.review-form .form-control,
.review-form .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.review-form .form-control:focus,
.review-form .form-select:focus {
  border-color: #8b4513;
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.review-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.review-form textarea {
  min-height: 100px;
  resize: vertical;
}

.rating-stars-display {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.character-counter {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  color: #6c757d;
}

.modal-footer {
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  background: linear-gradient(135deg, #fff8f3 0%, #fefcf8 100%);
}

/* Form validation styles */
.review-form .form-control.is-invalid,
.review-form .form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.review-form .invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reviews-container {
    padding: 1rem;
  }

  .reviews-controls {
    padding: 1rem;
  }

  .table-responsive {
    font-size: 0.875rem;
  }

  .rating-stars i {
    font-size: 0.625rem;
  }

  .btn-group .btn {
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .filters-wrapper .row {
    margin: 0;
  }

  .filters-wrapper .col-6,
  .filters-wrapper .col-md-3 {
    padding: 0.25rem;
  }
}

/*--------------------------------------------------------------
# Reviews Styling
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Alert Styling - Coffee Theme
--------------------------------------------------------------*/

/* Alert Container */
.alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  width: 100%;
}

/* Individual Alert */
.alert-custom {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(93, 58, 42, 0.15);
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.alert-custom.show {
  opacity: 1;
  transform: translateX(0);
}

.alert-custom.fade-out {
  opacity: 0;
  transform: translateX(100%);
}

/* Alert Types */
.alert-custom.alert-success {
  border-left: 4px solid var(--success-color);
  color: var(--success-color);
}

.alert-custom.alert-success::before {
  content: "✓";
  margin-right: 8px;
  font-weight: bold;
}

.alert-custom.alert-info {
  border-left: 4px solid var(--accent-color);
  color: var(--accent-color);
}

.alert-custom.alert-info::before {
  content: "ℹ";
  margin-right: 8px;
  font-weight: bold;
}

.alert-custom.alert-warning {
  border-left: 4px solid var(--warning-color);
  color: var(--warning-color);
}

.alert-custom.alert-warning::before {
  content: "⚠";
  margin-right: 8px;
  font-weight: bold;
}

.alert-custom.alert-danger {
  border-left: 4px solid var(--danger-color);
  color: var(--danger-color);
}

.alert-custom.alert-danger::before {
  content: "✗";
  margin-right: 8px;
  font-weight: bold;
}

/* Alert Close Button */
.alert-custom .btn-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--muted-color);
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.alert-custom .btn-close:hover {
  color: var(--default-color);
}

/* Progress Bar for Auto-fade */
.alert-custom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  width: 100%;
  animation: alert-progress 2s linear forwards;
}

@keyframes alert-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .alert-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .alert-custom {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Search and Filter Form Styling */
.search-filter-form {
  background: linear-gradient(
    135deg,
    var(--coffee-light) 0%,
    var(--coffee-lighter) 100%
  );
  border: 1px solid var(--coffee-border);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-filter-form .form-label {
  font-weight: 600;
  color: var(--coffee-dark);
  margin-bottom: 0.5rem;
}

.search-filter-form .form-control,
.search-filter-form .form-select {
  border: 2px solid var(--coffee-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search-filter-form .form-control:focus,
.search-filter-form .form-select:focus {
  border-color: var(--coffee-primary);
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.search-filter-form .btn-coffee {
  background: linear-gradient(
    135deg,
    var(--coffee-primary) 0%,
    var(--coffee-dark) 100%
  );
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-filter-form .btn-coffee:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

/* Results Summary Styling */
.results-summary {
  background: linear-gradient(135deg, var(--coffee-lighter) 0%, #fff 100%);
  border-left: 4px solid var(--coffee-primary);
  border-radius: 8px;
}

/* Compact Search Form Styling */
.search-form-compact {
  background: linear-gradient(
    135deg,
    var(--coffee-light) 0%,
    var(--coffee-lighter) 100%
  );
  border: 1px solid var(--coffee-border);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form-compact .card-header {
  background: linear-gradient(
    135deg,
    var(--coffee-primary) 0%,
    var(--coffee-dark) 100%
  );
  border-bottom: 1px solid var(--coffee-border);
  padding: 0.5rem 0.75rem;
}

.search-form-compact .card-header h6 {
  font-size: 0.875rem;
  margin: 0;
}

.search-form-compact .card-body {
  padding: 0.75rem;
}

.search-form-compact .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coffee-dark);
  margin-bottom: 0.25rem;
}

.search-form-compact .form-control-sm {
  border: 1px solid var(--coffee-border);
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  height: auto;
}

.search-form-compact .form-control-sm:focus {
  border-color: var(--coffee-primary);
  box-shadow: 0 0 0 0.15rem rgba(139, 69, 19, 0.25);
}

.search-form-compact .btn-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  height: auto;
}

.search-form-compact .mb-3 {
  margin-bottom: 0.75rem !important;
}

.search-form-compact .d-grid.gap-2 {
  gap: 0.5rem !important;
}

/* Compact Table Styling */
.table-sm th,
.table-sm td {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  vertical-align: middle;
}

.table-sm .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* Alert Small Variant */
.alert-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 4px;
}

.alert-sm .small {
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .search-form-compact {
    margin-bottom: 1rem;
  }

  .table-responsive {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .search-form-compact .card-body {
    padding: 0.75rem;
  }

  .table-sm th,
  .table-sm td {
    padding: 0.375rem 0.5rem;
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Responsive Table Styling
--------------------------------------------------------------*/

/* Enhanced Table Responsiveness */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Card View Styling */
.review-card {
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-2px);
}

.review-card .card {
  background: linear-gradient(135deg, #fffdf8 0%, #fefcf8 100%);
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}

.review-card .card:hover {
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
  border-color: rgba(139, 69, 19, 0.2);
}

.review-card .card-title {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

.review-card .rating-stars {
  display: inline-flex;
  align-items: center;
}

.review-card .rating-stars i {
  font-size: 0.75rem;
  margin-right: 1px;
}

.review-card .rating-number {
  color: var(--accent-color);
  font-size: 0.875rem;
}

/* Mobile-specific improvements */
@media (max-width: 991.98px) {
  .reviews-container {
    padding: 1rem;
  }

  .review-card .card-body {
    padding: 1rem;
  }

  .review-card .card-title {
    font-size: 0.95rem;
  }

  .review-card .rating-stars i {
    font-size: 0.7rem;
  }

  /* Improve touch targets */
  .review-card .btn {
    min-height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improve filter form layout */
  .filters-wrapper {
    background: rgba(255, 248, 243, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .filters-wrapper .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--heading-color);
  }

  .filters-wrapper .form-control-sm {
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 6px;
  }

  .filters-wrapper .form-control-sm:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.15);
  }
}

@media (max-width: 767.98px) {
  .reviews-container {
    padding: 0.75rem;
  }

  .review-card .card-body {
    padding: 0.875rem;
  }

  .review-card .card-title {
    font-size: 0.9rem;
  }

  /* Stack filter form on mobile */
  .filters-wrapper .row {
    margin: 0;
  }

  .filters-wrapper .col-md-3,
  .filters-wrapper .col-md-1 {
    padding: 0.25rem;
  }

  /* Improve filter form layout */
  .filters-wrapper .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .filters-wrapper .form-control-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }

  .filters-wrapper .btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .reviews-container {
    padding: 0.5rem;
  }

  .review-card .card-body {
    padding: 0.75rem;
  }

  .review-card .card-title {
    font-size: 0.85rem;
  }

  .review-card .rating-stars i {
    font-size: 0.65rem;
  }

  /* Single column filter layout */
  .filters-wrapper .col-md-3,
  .filters-wrapper .col-md-1 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .filters-wrapper .col-md-1:last-child,
  .filters-wrapper .col-md-1:nth-last-child(2) {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 0;
  }

  /* Improve button spacing */
  .filters-wrapper .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }
}

/* Tablet-specific optimizations */
@media (min-width: 768px) and (max-width: 991.98px) {
  .review-card .card-body {
    padding: 1.25rem;
  }

  .review-card .card-title {
    font-size: 1rem;
  }

  /* Two-column filter layout for tablets */
  .filters-wrapper .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .filters-wrapper .col-md-1 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Smooth transitions for view switching */
.review-card,
.table-responsive {
  animation: fadeInUp 0.4s ease-out;
}

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

/* Enhanced table styling for better mobile experience */
.reviews-table {
  margin-bottom: 0;
}

.reviews-table th {
  white-space: nowrap;
  position: sticky;
  top: 0;
  background: var(--accent-color);
  color: white;
  z-index: 10;
}

.reviews-table td {
  vertical-align: middle;
}

/* Improve table cell content on smaller screens */
@media (max-width: 1199.98px) {
  .reviews-table th,
  .reviews-table td {
    padding: 0.5rem 0.375rem;
    font-size: 0.875rem;
  }

  .reviews-table .rating-stars i {
    font-size: 0.7rem;
  }

  .reviews-table .btn-sm {
    padding: 0.25rem 0.375rem;
    font-size: 0.75rem;
  }
}

/* Loading states for better UX */
.review-card.loading {
  opacity: 0.6;
}

/* Spinner overlay that never intercepts clicks */
.review-card.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--accent-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  pointer-events: none; /* ← crucial */
  z-index: 1; /* sits above card visuals, but click-through */
}

/* Accessibility improvements */
.review-card:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.review-card .btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

/* Print styles */
@media print {
  .review-card .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .review-card .btn {
    display: none;
  }

  .table-responsive {
    box-shadow: none;
  }
}

/*--------------------------------------------------------------
# Review Detail Page Gallery
--------------------------------------------------------------*/

/* Big hero image for the gallery */
.gallery-hero-img {
  width: 100%;
  height: 260px; /* mobile */
  object-fit: cover;
  display: block;
}

/* Keep the slider from getting too wide on big screens */
.gallery-swiper-hero {
  max-width: 640px; /* tweak to taste */
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .gallery-hero-img {
    height: 340px;
  } /* tablets */
}
@media (min-width: 1200px) {
  .gallery-hero-img {
    height: 360px;
  } /* desktops */
  .glightbox .gslide-image img {
    max-width: 80vw;
    max-height: 80vh;
  }
}

/* Overlay action area in each slide */
.slide-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}
.swiper-slide:hover .slide-actions {
  opacity: 1;
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Always visible on touch screens */
@media (max-width: 767.98px) {
  .slide-actions {
    opacity: 1;
  }
}

/* Generic bg-coffee for backgrounds of stuff */
.bg-coffee {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%) !important;
}

/*--------------------------------------------------------------
# Optimized User Profile Page Styles
--------------------------------------------------------------*/

/* Main Profile Container - Simplified */
.modern-profile-container {
  min-height: 100vh;
  padding: 1rem 0.5rem;
  background: #fff8f3;
  overflow-x: hidden;
}

/* Modern Alert - Simplified */
.modern-alert {
  border: none;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #6b8e23;
  box-shadow: 0 2px 8px rgba(107, 142, 35, 0.1);
  color: var(--success-color);
  font-weight: 500;
}

/* Hero Section - Simplified */
.profile-hero-section {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  background: #8b4513;
  color: white;
}

.hero-content {
  padding: 1.5rem 2rem;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.hero-heart {
  color: #ff6b6b;
}

.hero-divider {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.btn-hero-nav {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Simplified Card Effects */
.glass-morphism {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
}

.glass-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.08);
  transition: box-shadow 0.2s ease;
}

.glass-card:hover {
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.12);
}

/* Profile Main Card */
.profile-main-card {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.profile-card-inner {
  padding: 2rem 1.5rem;
}

/* Avatar Section */
.avatar-section {
  text-align: center;
  position: relative;
}

.avatar-container {
  display: inline-block;
  position: relative;
  margin-bottom: 1.5rem;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.profile-avatar {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.profile-avatar-placeholder {
  width: 360px;
  height: 360px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.avatar-icon {
  font-size: 3rem;
  color: var(--muted-color);
  opacity: 0.7;
}

/* Status Indicator - Simplified */
.status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-indicator.active {
  background: #22c55e;
}

.status-indicator.inactive {
  background: #94a3b8;
}

.status-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

/* Avatar Edit Button - Simplified */
.avatar-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: #8b4513;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
  transition: opacity 0.2s ease;
  opacity: 0;
}

.avatar-wrapper:hover .avatar-edit-btn {
  opacity: 1;
}

.avatar-edit-btn:hover {
  background: #654321;
}

/* Profile Identity */
.profile-identity {
  margin-bottom: 1.5rem;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}

.profile-username {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
  margin: 0;
}

/* Quick Stats Grid */
.quick-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-hover) 100%
  );
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-color);
  word-break: break-word;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.active {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #22c55e;
}

.status-badge.inactive {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
  border: 1px solid #94a3b8;
}

/* Profile Info Grid */
.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Card Header - Simplified */
.card-header-modern {
  background: #8b4513;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.card-decoration {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

/* Card Content */
.card-content {
  padding: 1.5rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin: 0;
}

/* Location Display */
.location-display {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--default-color);
}

/* Social Links Modern */
.social-links-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-btn.github {
  background: linear-gradient(135deg, #24292f 0%, #1b1f23 100%);
  color: white;
}

.social-btn.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
  color: white;
}

.social-btn.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
  color: white;
}

.social-btn.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 100%);
  color: white;
}

.social-btn.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: white;
}

.social-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.empty-social {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted-color);
}

.empty-social i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

/* Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.7);
}

.detail-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-hover) 100%
  );
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.detail-content {
  flex: 1;
  min-width: 0;
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.detail-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  word-break: break-word;
}

/* Activity Stats */
.activity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.activity-item {
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.7);
}

.activity-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}

.activity-label {
  font-size: 0.8rem;
  color: var(--muted-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Profile Footer */
.profile-footer {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.1) 0%,
    rgba(101, 67, 33, 0.1) 100%
  );
  backdrop-filter: blur(10px);
}

.footer-content {
  position: relative;
  padding: 1rem 1.5rem;
  z-index: 2;
}

.footer-badge {
  background: rgba(139, 69, 19, 0.1);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(139, 69, 19, 0.2);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-footer-nav {
  background: rgba(255, 255, 255, 0.8);
  color: var(--default-color);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-footer-nav:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--default-color);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.btn-primary-modern {
  background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary-modern:hover {
  background: #654321;
  color: white;
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
}

/* Decorative Section */
.profile-decorative-section {
  margin-top: 1.5rem;
  text-align: center;
}

.decorative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.decorative-item {
  padding: 1.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.decorative-item:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
}

.decorative-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-hover) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.decorative-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .profile-avatar,
  .profile-avatar-placeholder {
    width: 400px;
    height: 400px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .profile-name {
    font-size: 1.4rem;
  }
}

@media (max-width: 991.98px) {
  .modern-profile-container {
    padding: 0.75rem 0.5rem;
  }

  .profile-card-inner {
    padding: 1.5rem 1rem;
  }

  .profile-avatar,
  .profile-avatar-placeholder {
    width: 300px;
    height: 300px;
  }

  .hero-content {
    padding: 1.25rem 1.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .quick-stats-grid {
    grid-template-columns: 1fr;
  }

  .social-links-modern {
    grid-template-columns: 1fr;
  }

  .activity-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .decorative-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding: 1rem 1.25rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .profile-card-inner {
    padding: 1.25rem 0.75rem;
  }

  .profile-avatar,
  .profile-avatar-placeholder {
    width: 300px;
    height: 300px;
  }

  .profile-name {
    font-size: 1.3rem;
  }

  .card-header-modern {
    padding: 0.75rem 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  .footer-content {
    padding: 0.75rem 1rem;
  }

  .footer-actions {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .btn-footer-nav,
  .btn-primary-modern {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .profile-avatar,
  .profile-avatar-placeholder {
    width: 300px;
    height: 300px;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .profile-name {
    font-size: 1.1rem;
  }

  .card-header-modern {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .card-content {
    padding: 0.75rem;
  }
}

/*--------------------------------------------------------------
# Location Autocomplete Styles
--------------------------------------------------------------*/
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  display: none;
  margin-top: 2px;
  box-sizing: border-box;
}

.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.15s ease-in-out;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f8f9fa;
}

.autocomplete-item:active {
  background-color: #e9ecef;
}
