/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
.sidebar {
  background: #1D8CFF;
}

/* ==========================================================================
   COLOR VARIABLES - USING BRAND COLORS
   ========================================================================== */
:root {
  --pool-primary: #1D8CFF;
  --pool-primary-dark: #0072e9;
  --pool-primary-darker: #0059b6;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.bg-primary-soft {
  background-color: rgba(29, 140, 255, 0.1) !important;
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-info-soft {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

.text-shadow {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hover-lift {
  transition: all 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(29, 140, 255, 0.2) !important;
}

/* ==========================================================================
   FLOATING SHAPES ANIMATION
   ========================================================================== */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}
.floating-shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}
.floating-shape:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}
.floating-shape:nth-child(4) {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}
.floating-shape:nth-child(5) {
  width: 40px;
  height: 40px;
  top: 60%;
  left: 60%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}
/* ==========================================================================
   ENHANCED BUTTON STYLING
   ========================================================================== */
.btn-enhanced {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
}
.btn-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 124, 232, 0.3);
  color: white !important;
}
.btn-enhanced:hover::before {
  left: 100%;
}
.btn-enhanced:active {
  transform: translateY(0);
}

.btn-enhanced-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
}
.btn-enhanced-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.btn-enhanced-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
  color: white !important;
}
.btn-enhanced-outline:hover::before {
  left: 100%;
}
.btn-enhanced-outline.btn-enhanced-outline-alt {
  border-color: var(--pool-primary);
  color: var(--pool-primary);
}
.btn-enhanced-outline.btn-enhanced-outline-alt:hover {
  background: var(--pool-primary);
  color: white !important;
  box-shadow: 0 10px 25px rgba(13, 124, 232, 0.3);
}

.btn-enhanced-success {
  background: linear-gradient(90deg, #28a745, #20c997);
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
}
.btn-enhanced-success::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-enhanced-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
  color: white !important;
}
.btn-enhanced-success:hover::before {
  left: 100%;
}

.btn-menu-enhanced {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.btn-menu-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.btn-menu-enhanced:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.4);
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-menu-enhanced:hover::before {
  left: 100%;
}
.btn-menu-enhanced:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
  color: white !important;
}

/* ==========================================================================
   LOGIN PAGE STYLES
   ========================================================================== */
.login-container {
  background: linear-gradient(135deg, var(--pool-primary-dark) 0%, var(--pool-primary) 35%, var(--pool-primary-darker) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.login-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 450px;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: white !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.login-header {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  color: white !important;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.login-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.login-body {
  padding: 2.5rem 2rem;
  background: white !important;
  border-radius: 0 0 1.5rem 1.5rem;
}

.login-footer-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}
.login-footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pool-primary);
  transition: width 0.3s ease;
}
.login-footer-link:hover {
  color: var(--pool-primary);
  text-decoration: none;
}
.login-footer-link:hover::after {
  width: 100%;
}

.btn-login {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
}
.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 124, 232, 0.3);
  color: white !important;
}
.btn-login:hover::before {
  left: 100%;
}
.btn-login:active {
  transform: translateY(0);
}

/* ==========================================================================
   REGISTER PAGE STYLES
   ========================================================================== */
.register-container {
  background: linear-gradient(135deg, var(--pool-primary-dark) 0%, var(--pool-primary) 35%, var(--pool-primary-darker) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.register-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.register-card {
  width: 100%;
  max-width: 550px;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: white !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.register-header {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  color: white !important;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.register-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.register-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.step.active {
  background: white !important;
  color: var(--pool-primary);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.step.completed {
  background: #28a745;
  color: white !important;
  border-color: #28a745;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}
.step.inactive {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.step-line {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1.5px;
  transition: all 0.3s ease;
}
.step-line.completed {
  background: #28a745;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.register-body {
  padding: 2.5rem 2rem;
  background: white !important;
  border-radius: 0 0 1.5rem 1.5rem;
}

.btn-register {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: white !important;
  position: relative;
  overflow: hidden;
}
.btn-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 124, 232, 0.3);
  color: white !important;
}
.btn-register:hover::before {
  left: 100%;
}
.btn-register:active {
  transform: translateY(0);
}

.btn-register-secondary {
  background: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-register-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.btn-register-secondary:hover {
  background: #6c757d;
  color: black !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}
.btn-register-secondary:hover::before {
  left: 100%;
}

.register-footer-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}
.register-footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pool-primary);
  transition: width 0.3s ease;
}
.register-footer-link:hover {
  color: var(--pool-primary);
  text-decoration: none;
}
.register-footer-link:hover::after {
  width: 100%;
}

.address-card {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 1rem;
  border: 2px solid #e9ecef;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.address-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(13, 124, 232, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.address-card:hover {
  /*        transform: translateY(-2px);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
          border-color: var(--pool-primary);*/
}

/* ==========================================================================
   PROFILE PAGE STYLES
   ========================================================================== */
.profile-container {
  background: linear-gradient(135deg, var(--pool-primary-dark) 0%, var(--pool-primary) 35%, var(--pool-primary-darker) 100%);
  min-height: 100vh;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.profile-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.profile-card {
  background: white !important;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.profile-header {
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  color: white !important;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.profile-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-body {
  padding: 2.5rem 2rem;
  background: white !important;
}

.section-card {
  background: #f8f9fa;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.section-header {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.section-body {
  padding: 1.5rem;
  background: white !important;
}

/* ==========================================================================
   MY POOL DASHBOARD STYLES
   ========================================================================== */
.my-pool-dashboard {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.welcome-section {
  background: linear-gradient(135deg, var(--pool-primary-dark) 0%, var(--pool-primary) 35%, var(--pool-primary-darker) 100%);
  color: white !important;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.welcome-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.status-section {
  padding: 4rem 0;
  background: white !important;
}

.charts-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.actions-section {
  padding: 4rem 0;
  background: white !important;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--pool-primary);
  margin-bottom: 2rem;
}

.status-card {
  background: white !important;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
}
.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.status-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.ph-card .status-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white !important;
}

.chlorine-card .status-icon {
  background: linear-gradient(135deg, #17a2b8, #0d6efd);
  color: white !important;
}

.alkalinity-card .status-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white !important;
}

.hardness-card .status-icon {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: white !important;
}

.status-value {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.status-value.good {
  color: #28a745;
}
.status-value.warning {
  color: #ffc107;
}
.status-value.danger {
  color: #dc3545;
}

.info-card {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   OFF-CANVAS MENU STYLES
   ========================================================================== */
.offcanvas-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  height: 3.5rem;
  background-color: #F7F7F7;
}

.nav-link-enhanced {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-radius: 0.75rem !important;
  padding: 0.875rem 1rem !important;
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-link-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.nav-link-enhanced:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.nav-link-enhanced:hover::before {
  left: 100%;
}
.nav-link-enhanced.active {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-welcome-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.user-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.border-light {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */
.plan-card {
  transition: all 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.ai-feature-card:hover {
  transform: translateY(-3px);
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.feature-icon-container {
  transition: transform 0.3s ease;
}
.feature-icon-container:hover {
  transform: scale(1.1);
}

.dashboard-preview {
  transition: transform 0.3s ease;
}
.dashboard-preview:hover {
  transform: translateY(-5px);
}

/* ==========================================================================
   SHARED DASHBOARD STYLES
   ========================================================================== */
.chart-card {
  background: white !important;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
}
.chart-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.action-card {
  background: white !important;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
  height: 100%;
}
.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.action-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(29, 140, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.1);
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}
.form-control:focus {
  border-color: var(--pool-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 124, 232, 0.1);
  background: white !important;
  transform: translateY(-1px);
}
.form-control:disabled {
  background: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
}

/* ==========================================================================
   ALERT STYLES
   ========================================================================== */
.alert-custom {
  border-radius: 0.75rem;
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 500;
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.alert-success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #059669;
  border-left: 4px solid #059669;
}

/* ==========================================================================
   LEGACY BUTTON STYLING FOR COMPATIBILITY
   ========================================================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--pool-primary), var(--pool-primary-dark));
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--pool-primary-dark), var(--pool-primary-darker));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 140, 255, 0.3);
}

/* ==========================================================================
   CARD IMPROVEMENTS
   ========================================================================== */
.card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   BADGE ENHANCEMENTS
   ========================================================================== */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   LIST STYLING
   ========================================================================== */
.list-unstyled li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
  }

  .login-header {
    padding: 2rem 1.5rem;
  }

  .login-body {
    padding: 2rem 1.5rem;
  }

  .register-container {
    padding: 1rem;
  }

  .register-header {
    padding: 2rem 1.5rem;
  }

  .register-body {
    padding: 2rem 1.5rem;
  }

  .step-line {
    width: 60px;
  }

  .register-card {
    max-width: 100%;
  }

  .profile-container {
    padding: 1rem 0;
  }

  .profile-header {
    padding: 2rem 1.5rem;
  }

  .profile-body {
    padding: 2rem 1.5rem;
  }

  .section-header,
.section-body {
    padding: 1rem;
  }

  .nav-link-enhanced,
.btn-menu-enhanced {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }
  .nav-link-enhanced:hover,
.btn-menu-enhanced:hover {
    transform: translateX(4px);
  }

  .welcome-section {
    padding: 2rem 0;
  }

  .welcome-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .status-section,
.charts-section,
.actions-section {
    padding: 3rem 0;
  }
}
/* ========================================================================== */
/* PHOTO UPLOAD STYLES (from app.css, not present in app.scss)                */
/* ========================================================================== */
.photo-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.photo-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.photo-thumbnail {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.375rem 0.375rem 0 0;
}

.photo-thumbnail:hover {
  transform: scale(1.05);
}

.photo-thumb {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.photo-thumb:hover {
  border-color: var(--pool-primary);
  transform: scale(1.1);
}

.photo-preview-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.photo-preview-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.photo-upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.photo-upload-zone:hover {
  border-color: var(--pool-primary);
  background: rgba(29, 140, 255, 0.05);
}

.photo-upload-zone.dragover {
  border-color: var(--pool-primary);
  background: rgba(29, 140, 255, 0.1);
  transform: scale(1.02);
}

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

.photo-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.photo-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.photo-container:hover .photo-overlay {
  opacity: 1;
}

.photo-caption {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-container:hover .photo-actions {
  opacity: 1;
}

.photo-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.photo-action-btn:hover {
  transform: scale(1.1);
}

.photo-size-info {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.photo-upload-progress {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.photo-upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--pool-primary), var(--pool-primary-dark));
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Photo modal enhancements */
.photo-modal .modal-body {
  padding: 0;
  background: #000;
}

.photo-modal .modal-content {
  background: transparent;
  border: none;
}

.photo-modal .modal-header {
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
}

.photo-modal .btn-close {
  filter: invert(1);
}

.photo-modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* Photo list in readings table */
.photo-list-container {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.photo-count-badge {
  background: var(--pool-primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  margin-left: 0.5rem;
}

/* Photo loading states */
.photo-loading {
  position: relative;
  overflow: hidden;
}

.photo-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
/* Photo error states */
.photo-error {
  background: #fee2e2;
  border: 2px dashed #dc2626;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border-radius: 0.5rem;
}

.photo-error-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Photo upload drag and drop */
.drag-over {
  border-color: var(--pool-primary) !important;
  background: rgba(29, 140, 255, 0.1) !important;
  transform: scale(1.02);
}

/* Photo caption overlay improvements */
.photo-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-container:hover .photo-caption-overlay {
  transform: translateY(0);
}

/* Reading history with photos styling */
.reading-row {
  transition: all 0.3s ease;
}

.reading-row:hover {
  background: rgba(29, 140, 255, 0.05) !important;
}

.photo-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.photo-indicator.has-photos {
  color: var(--pool-primary);
  font-weight: 500;
}

/* ==========================================================================
   TECHNICIAN MAP STYLES
   ========================================================================== */
.map-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
}
.map-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.customer-detail-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
}
.customer-detail-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.customer-info .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.customer-info .info-item i {
  width: 16px;
  margin-right: 0.5rem;
}

.travel-info {
  background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #28a745;
}

.customer-list-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  max-height: 600px;
  overflow: hidden;
}

.customer-list {
  max-height: 500px;
  overflow-y: auto;
}

.customer-list-item {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.3s ease;
}
.customer-list-item:hover {
  background: rgba(29, 140, 255, 0.05);
}
.customer-list-item.selected {
  background: rgba(29, 140, 255, 0.1);
  border-left: 4px solid var(--pool-primary);
}
.customer-list-item:last-child {
  border-bottom: none;
}

.customer-status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.customer-status-indicator.status-primary {
  background: var(--pool-primary);
}
.customer-status-indicator.status-success {
  background: #28a745;
}
.customer-status-indicator.status-warning {
  background: #ffc107;
}
.customer-status-indicator.status-danger {
  background: #dc3545;
}

.customer-actions {
  display: flex;
  gap: 0.25rem;
}

.legend {
  font-size: 0.75rem;
}
.legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.legend .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.history-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
}
.history-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
}
.photo-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   MAP LOADING AND ERROR STATES
   ========================================================================== */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.map-error {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 0.5rem;
}
.map-error .error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dc3545;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FOR MAP
   ========================================================================== */
@media (max-width: 768px) {
  .customer-list {
    max-height: 300px;
  }

  .customer-list-item {
    padding: 0.75rem;
  }

  .travel-info {
    text-align: center;
  }
  .travel-info .h5 {
    font-size: 1rem;
  }

  .map-card .card-body {
    padding: 0;
  }

  #customerMap {
    height: 400px !important;
  }
}

/*# sourceMappingURL=app.css.map */
