/* Professional Membership & Loyalty Program Styles */

/* Import Local Professional Fonts - SmartHR Inspired */
@import url('../fonts/fonts.css');

/* Professional Color Palette - SmartHR Inspired */
:root {
  /* Primary Brand Colors - Modern Professional Blues */
  --bs-primary: #2563eb;
  --bs-primary-dark: #1d4ed8;
  --bs-primary-light: #3b82f6;
  --bs-primary-rgb: 37, 99, 235;
  
  /* Secondary Colors - Premium Gold for Rewards */
  --bs-secondary: #10b981;
  --bs-gold: #f59e0b;
  --bs-gold-dark: #d97706;
  --bs-gold-light: #fbbf24;
  --bs-accent: #8b5cf6;
  
  /* Status Colors */
  --bs-success: #10b981;
  --bs-success-light: #34d399;
  --bs-danger: #ef4444;
  --bs-warning: #f59e0b;
  --bs-info: #06b6d4;
  
  /* Modern Neutral Colors - SmartHR Style */
  --bs-light: #f8fafc;
  --bs-dark: #1e293b;
  --bs-white: #ffffff;
  
  /* Professional Gray Scale */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Professional Background Colors */
  --bg-pattern: #fafbfc;
  --bg-card: #ffffff;
  --bg-sidebar: #f8fafc;
  --bg-hover: #f1f5f9;
  
  /* Professional Gradients */
  --gradient-primary: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-light) 100%);
  --gradient-gold: linear-gradient(135deg, var(--bs-gold-dark) 0%, var(--bs-gold) 100%);
  --gradient-success: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-success-light) 100%);
  
  /* Professional Typography - SmartHR Inspired */
  --font-family-primary: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-display: 'Poppins', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
  
  /* Professional Shadows - SmartHR Style */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-dropdown: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Legacy variables for compatibility */
  --primary-color: var(--bs-primary);
  --secondary-color: var(--bs-secondary);
  --success-color: var(--bs-success);
  --danger-color: var(--bs-danger);
  --warning-color: var(--bs-warning);
  --info-color: var(--bs-info);
  --light-color: var(--bs-light);
  --dark-color: var(--bs-dark);
  --white: var(--bs-white);
  --gray-100: var(--gray-100);
  --gray-200: var(--gray-200);
  --gray-300: var(--gray-300);
  --gray-400: var(--gray-400);
  --gray-500: var(--gray-500);
  --gray-600: var(--gray-600);
  --gray-700: var(--gray-700);
  --gray-800: var(--gray-800);
  --gray-900: var(--gray-900);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg-pattern);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.03) 0%, transparent 25%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
  background-size: 400px 400px, 300px 300px, 100% 100%;
  background-position: 0 0, 100% 100%, 0 0;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  /* font-family: var(--font-family-display); */
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  /* font-weight: 600; */
  line-height: 1.3;
  color: var(--gray-900);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-family-display);
  font-weight: 700;
}

/* Professional Navbar - SmartHR Inspired */
.navbar {
  background-color: #011C3A !important;
  color: white;
  font-size: 14px;
  padding: 0;
  position: fixed;
  width: 100%;
  /* background: rgba(255, 255, 255, 0.95) !important; */
  /* backdrop-filter: blur(16px) saturate(180%);  */
  /* border-bottom: 1px solid rgba(229, 231, 235, 0.8); */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}
.bg-white {
  --bs-bg-opacity:unset !important;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 0.8) 100%); */
  pointer-events: none;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-dropdown);
  background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  font-weight: 700;
  /* color: var(--bs-primary) !important; */
  color: #1ab394;
  text-decoration: none;
}

.navbar-brand:focus, .navbar-brand:hover {
  color: #1ab394;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  /* color: var(--bs-primary) !important; */
  color: #1ab394 !important; 
  background-color: var(--gray-100);
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
  background-color: rgba(30, 64, 175, 0.1);
}

.landing-page{
  background: #01254c;
  color: white !important;
}
.landing-page .header-back.one {
    background: url(../img/header_one.jpg) 50% 0 no-repeat;
    height: 470px;
    width: 100%;
}
.landing-page .carousel {
    height: 470px;
}
.landing-page .carousel-image {
    position: absolute;
    right: 10px;
    top: 150px;
}
.landing-page .carousel-caption {
    position: absolute;
    top: 100px;
    left: 0;
    bottom: auto;
    right: auto;
    text-align: left;
    z-index: 10;
}
.landing-page .carousel-inner .container {
    position: relative;
    overflow: visible;
}
.landing-page .carousel-image {
    position: absolute;
    right: 10px;
    top: 150px;
}
.carousel-inner {
    overflow: unset;
}
.text-muted {
    --bs-text-opacity: unset !important;
    color: unset !important;
}
.form-mx {
    max-width: 640px;
    margin: auto;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vh-100 {
    height: unset !important; 
}

.card-mx{
  max-width: 800px;
  margin: auto;
}
h6, .h6 {
    font-size: 14px;
    font-weight: 600;
}
.login-or {
    text-align: center;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
    margin: 5px 0;
    padding: 10px 0;
    position: relative;
}

/* Enhanced Button Styles */
.btn {
  font-family: var(--font-family-primary);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  padding: 0.625rem 1.5rem;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  /* display: inline-flex; */
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--bs-primary-dark);
  color: white;
}

.btn-gold {
  background: var(--gradient-gold);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  background: var(--bs-gold-dark);
  color: white;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
}

.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: white;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
}

/* Professional Card Styles - SmartHR Inspired */
.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  border-color: var(--bs-primary-light);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-family-display);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* Membership Status Cards */
.membership-card {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.membership-card.gold {
  background: var(--gradient-gold);
}

.membership-card.platinum {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Rewards Points Display */
.points-display {
  background: var(--gradient-gold);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.points-number {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.points-label {
  font-size: 0.875rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Status Badges */
.status-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--bs-success);
}

.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--bs-gold-dark);
}

.status-expired {
  background: rgba(239, 68, 68, 0.1);
  color: var(--bs-danger);
}

/* Enhanced Form Styles */
.form-control {
  border: 21px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: white;
  border-style: solid;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  background: white;
}

/* Professional Tables */
.table {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: var(--gray-50);
}

/* Alert Styles */
.alert {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--bs-success);
  border-left: 4px solid var(--bs-success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--bs-danger);
  border-left: 4px solid var(--bs-danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--bs-gold-dark);
  border-left: 4px solid var(--bs-gold);
}

.alert-info {
  background: rgba(6, 182, 212, 0.1);
  color: var(--bs-info);
  border-left: 4px solid var(--bs-info);
}

/* Professional Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 2rem;
  /* margin-top: 4rem; */
}

.footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Utility Classes */
.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-gold {
  background: var(--gradient-gold);
}

.bg-gradient-success {
  background: var(--gradient-success);
}
.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}
.border-end-0 {
    border-right: 0 !important;
}
.border-start-0 {
    border-left: 0 !important;
}
.input-group-text {
    border: 21px solid var(--gray-200);
    border-radius: var(--radius-md);
/*    padding: 0.75rem;
    background: white;*/
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-style: solid;
}
.ti {
    font-size: xx-large;
}
.toggle-password {
    cursor: pointer;
    width: 30px;
    height: 30px;
    color: #111827;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    border-radius: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
/*    position: absolute;*/
    top: 50%;
    right: 10px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
  animation: slideUp 0.6s ease-out;
}

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

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
  }
}

/* Professional Glass Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.glass-dark {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Professional Avatar Styles */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

/* Enhanced Status Indicators */
.status-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.status-online::before {
  background: var(--bs-success);
}

.status-offline::before {
  background: var(--gray-400);
}

.status-busy::before {
  background: var(--bs-danger);
}

/* Business Profile Styles */
.form-control-edit {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.form-control[readonly] {
  background-color: var(--gray-50);
  border-color: var(--gray-200);
  cursor: default;
}

.form-control[readonly]:focus {
  background-color: var(--gray-50);
  border-color: var(--gray-200);
  box-shadow: none;
}

.form-select[disabled] {
  background-color: var(--gray-50);
  border-color: var(--gray-200);
  opacity: 1;
}

/* Logo Upload Styles */
.avatar img {
  transition: all 0.3s ease;
}

.avatar:hover img {
  opacity: 0.8;
}

/* Business Stats Grid */
.bg-gold {
  background-color: var(--bs-gold) !important;
}

.bg-gold.bg-opacity-10 {
  background-color: rgba(245, 158, 11, 0.1) !important;
}

.text-gold {
  color: var(--bs-gold) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn + .btn {
    margin-left: 0;
  }
  
  .points-number {
    font-size: 2rem;
  }
  
  .membership-card {
    padding: 1.5rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  body {
    background-attachment: scroll;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 1rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
}

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

    50% {
        transform: translateY(-20px);
    }
}