/*
Theme Name: LMS Laundry Theme
Description: A modern WordPress theme for laundry service companies using the LMS (Laundry Management System) plugins. Features customer dashboard, scheduling, address management, and preferences using plugin shortcodes.
Version: 1.0.0
Author: LMS Team
Tags: laundry, service, business, dashboard, responsive, bootstrap
Text Domain: lms-theme
*/

/* CSS Variables - Theme Color Palette */
:root {
  /* Primary Colors - Blue Foundation */
  --primary-color: #1e3a8a; /* Deep Blue */
  --primary-light: #3b82f6; /* Bright Blue */
  --primary-dark: #1e40af; /* Darker Blue */
  --primary-accent: #60a5fa; /* Light Blue Accent */

  /* Secondary Colors - Orange Foundation */
  --secondary-color: #ea580c; /* Vibrant Orange */
  --secondary-light: #fb923c; /* Light Orange */
  --secondary-dark: #c2410c; /* Dark Orange */
  --secondary-accent: #fdba74; /* Light Orange Accent */

  /* Neutral Colors - Black & White Foundation */
  --text-black: #000000; /* Pure Black */
  --text-dark: #111827; /* Near Black */
  --text-medium: #374151; /* Medium Gray */
  --text-light: #6b7280; /* Light Gray */
  --background-white: #ffffff; /* Pure White */
  --background-light: #f9fafb; /* Off White */
  --background-gray: #f3f4f6; /* Light Gray Background */

  /* Utility Colors */
  --border-color: #e5e7eb;
  --border-dark: #d1d5db;
  --success-color: #10b981;
  --warning-color: var(--secondary-color);
  --error-color: #ef4444;

  /* Design System */
  --border-radius: 8px;
  --border-radius-large: 12px;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Bootstrap Variable Overrides */
:root {
  --bs-primary: var(--primary-color);
  --bs-secondary: var(--secondary-color);
  --bs-dark: var(--text-dark);
  --bs-light: var(--background-light);
  --bs-white: var(--background-white);
  --bs-black: var(--text-black);
  --bs-border-radius: var(--border-radius);
  --bs-border-color: var(--border-color);
}

/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Header Styles */
.site-header {
  background: white;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--border-color);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo img {
  max-height: 50px;
  width: auto;
  height: 50px;
  display: block;
  max-width: 100%;
}

.site-logo img[src$=".svg"] {
  width: 100px;
  max-width: 100%;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  text-decoration: none;
}

.site-title:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.site-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-item {
  position: relative;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: var(--transition);
  position: relative;
  border-radius: var(--border-radius);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background-color: var(--background-light);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* Active/Current Menu Item */
.navbar-nav .nav-item.current-menu-item .nav-link,
.navbar-nav .nav-item.current_page_item .nav-link,
.navbar-nav .nav-item.current-menu-ancestor .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-nav .nav-item.current-menu-item .nav-link::after,
.navbar-nav .nav-item.current_page_item .nav-link::after,
.navbar-nav .nav-item.current-menu-ancestor .nav-link::after {
  width: 60%;
}

/* Dropdown Menus */
.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-medium);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: white;
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar-nav .dropdown-item {
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 70%;
  background: var(--primary-color);
  transition: var(--transition);
  border-radius: 0 4px 4px 0;
}

.navbar-nav .dropdown-item:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding-left: 2rem;
}

.navbar-nav .dropdown-item:hover::before {
  width: 4px;
}

.navbar-nav .dropdown-item.current-menu-item {
  color: var(--primary-color);
  font-weight: 600;
  background-color: var(--background-light);
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: 2px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-toggler:hover {
  border-color: var(--primary-color);
  background-color: var(--background-light);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17, 24, 39, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* User Menu Dropdown */
.user-menu .dropdown-toggle::after {
  display: none;
}

.user-menu .dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-medium);
  border-radius: var(--border-radius);
}

.user-menu .dropdown-item {
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.user-menu .dropdown-item:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
}

/* Auth Buttons (Header) */
.auth-link-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.auth-link-btn:hover {
  color: var(--primary-light);
}

.auth-signup-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  background: var(--primary-light);
  color: var(--background-white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}

.auth-signup-btn:hover {
  background: var(--primary-dark);
}

/* Main Content */
.content-area {
  min-height: calc(100vh - 200px);
}

.content-area.full-width {
  padding: 0;
}

/* Hero Section */
.hero-section {
  background: var(--primary-color);
  color: var(--background-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-light);
  opacity: 0.1;
  z-index: 1;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-height: 300px;
  filter: brightness(0) invert(1);
}

.hero-buttons .btn {
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
}

/* Service Cards */
.service-card {
  background: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-large);
  padding: 2.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  left: 0;
}

.service-icon {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--background-white);
  display: inline-block;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--background-white);
}

/* Forms */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Enhanced Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  color: var(--background-white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  transition: var(--transition);
  z-index: 1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--background-white);
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--background-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  border: none;
  color: var(--background-white);
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--background-white);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  background: transparent;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-secondary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--background-white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

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

/* Posts Templates */
.posts-container {
  display: grid;
  gap: 2rem;
}

.post-item {
  background: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

.post-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.post-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.entry-title {
  margin: 0 0 1rem 0;
}

.entry-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.entry-title a:hover {
  color: var(--primary-color);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.entry-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-meta a {
  color: var(--text-light);
  text-decoration: none;
}

.entry-meta a:hover {
  color: var(--primary-color);
}

/* Intercalated Posts Template */
.posts-intercalated .post-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.posts-intercalated .post-item:nth-child(even) .post-thumbnail {
  order: 2;
}

.posts-intercalated .post-item:nth-child(even) .post-content {
  order: 1;
}

/* Centered Posts Template */
.posts-centered {
  max-width: 800px;
  margin: 0 auto;
}

.posts-centered .post-item {
  text-align: center;
  margin-bottom: 3rem;
}

.posts-centered .post-thumbnail {
  margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar .widget {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: var(--background-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.footer-widget h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-widget a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-widget a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2rem;
}

/* Plugin Content Styling */
.lms-form,
.lsched-form {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.lms-form h2,
.lsched-form h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.lms-table,
.lsched-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--background-white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
}

.lms-table th,
.lms-table td,
.lsched-table th,
.lsched-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.lms-table tbody tr:hover,
.lsched-table tbody tr:hover {
  background: var(--background-light);
  transition: background-color 0.15s ease;
}

.lms-table tbody tr:last-child td,
.lsched-table tbody tr:last-child td {
  border-bottom: none;
}

.lms-table th,
.lsched-table th {
  background: var(--background-gray);
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  position: relative;
}

.lms-table th::after,
.lsched-table th::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* ====================================
   Plugin Buttons (.lms-btn, .lsched-btn)
   ==================================== */
.lms-btn,
.lsched-btn {
  background: var(--background-white);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Removed ::before pseudo-element animation for cleaner outline style */

.lms-btn:hover,
.lsched-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
  background: var(--primary-color);
  color: var(--background-white);
  border-color: var(--primary-color);
  text-decoration: none;
}

.lms-btn:active,
.lsched-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lms-btn > *,
.lsched-btn > * {
  position: relative;
  z-index: 2;
}

/* Button size variants */
.lms-btn-small,
.lsched-btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: 6px;
}

.lms-btn-large,
.lsched-btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* Disabled state for plugin buttons */
.lms-btn:disabled,
.lsched-btn:disabled {
  background: #ccc;
  color: #666;
  border-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Plugin-specific button style extensions */
.lms-btn-primary,
.lsched-btn-primary {
  background: var(--background-white);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
  font-weight: 500;
  font-size: 0.875rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.lms-btn-primary:hover,
.lsched-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
  background: var(--primary-color);
  color: var(--background-white);
  border-color: var(--primary-color);
}

.lms-btn-secondary,
.lsched-btn-secondary {
  background: var(--background-light);
  color: var(--text-medium);
  border: 1px solid var(--border-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
  font-weight: 500;
  font-size: 0.875rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.lms-btn-secondary:hover,
.lsched-btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--primary-color);
  color: var(--background-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

/* Dashboard Specific Styles */
.dashboard-page .content-area {
  background: var(--background-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  /* Mobile Navigation */
  .navbar-collapse {
    background: white;
    padding: 1rem;
    margin: 1rem -1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
  }

  .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-nav .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    background: var(--background-light);
    margin-top: 0;
  }

  .auth-buttons {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .auth-buttons .btn {
    width: 100%;
  }

  .user-menu {
    margin-top: 1rem;
  }

  .user-menu .dropdown-toggle {
    width: 100%;
  }

  .posts-intercalated .post-item {
    grid-template-columns: 1fr;
  }

  .posts-intercalated .post-item:nth-child(even) .post-thumbnail,
  .posts-intercalated .post-item:nth-child(even) .post-content {
    order: initial;
  }

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

  .hero-logo {
    max-height: 200px;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Logo Adjustments */
  .site-logo img[src$=".svg"] {
    width: 80px;
    height: 40px;
  }

  .site-logo img {
    height: 40px;
  }

  .site-branding {
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .post-content {
    padding: 1.5rem;
  }

  .entry-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .lms-form,
  .lsched-form {
    padding: 1.5rem;
  }

  .lms-table,
  .lsched-table {
    font-size: 0.875rem;
  }

  .lms-table th,
  .lms-table td,
  .lsched-table th,
  .lsched-table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 576px) {
  /* Extra Small Mobile Logo */
  .site-logo img[src$=".svg"] {
    width: 60px;
    height: 30px;
  }

  .site-logo img {
    height: 30px;
  }

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

  .site-description {
    font-size: 0.8rem;
  }

  .hero-section {
    padding: 1.5rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .service-icon i {
    font-size: 2.5rem;
  }

  .lms-form,
  .lsched-form {
    padding: 1rem;
  }
}

/* Home Page Content Styles */
.home .entry-content,
.front-page .entry-content {
  max-width: 1200px;
  margin: 0 auto;
}

.home .entry-content ul,
.front-page .entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.home .entry-content ul li,
.front-page .entry-content ul li {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--background-white);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  padding-left: 3rem;
}

.home .entry-content ul li::before,
.front-page .entry-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.home .entry-content ul li:hover,
.front-page .entry-content ul li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-medium);
}

.home .entry-content p,
.front-page .entry-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.home .entry-content p strong,
.front-page .entry-content p strong {
  color: var(--text-dark);
  font-weight: 600;
}

.home .entry-content a,
.front-page .entry-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.home .entry-content a:hover,
.front-page .entry-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Shortcode container on home page */
.home .entry-content .lsched-dashboard,
.front-page .entry-content .lsched-dashboard {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}


/* Hero Banner with Icon (Replace Image Styles) */
.hero-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-main-icon {
  font-size: 20rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Service Icon Cards (Replace Image Cards) */
.service-icon-card {
  background: white;
  border-radius: var(--border-radius-large);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-icon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-icon-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.service-icon-card:hover::before {
  transform: scaleX(1);
}

.service-icon-large {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

.service-icon-large::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  opacity: 0;
  transition: var(--transition);
}

.service-icon-card:hover .service-icon-large {
  transform: rotate(360deg) scale(1.1);
}

.service-icon-card:hover .service-icon-large::after {
  opacity: 1;
  transform: scale(1.1);
}

.service-icon-large i {
  font-size: 3.5rem;
  color: white;
}

.service-icon-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-icon-card p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments for icons */
@media (max-width: 992px) {
  .hero-main-icon {
    font-size: 15rem;
  }

  .hero-icon-wrapper {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-main-icon {
    font-size: 10rem;
  }

  .service-icon-large {
    width: 100px;
    height: 100px;
  }

  .service-icon-large i {
    font-size: 3rem;
  }

  .service-icon-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-main-icon {
    font-size: 8rem;
  }
}

/* ====================================
   Loading Spinner Utilities
   ==================================== */
@keyframes lms-spin {
  to {
    transform: rotate(360deg);
  }
}

.lms-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: lms-spin 0.6s linear infinite;
}

.lms-spinner-small {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

.lms-spinner-large {
  width: 3rem;
  height: 3rem;
  border-width: 4px;
}

.lms-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  border-radius: inherit;
}

/* ====================================
   LMS Content Widget Styles
   ==================================== */

.lms-content-widget {
  padding: 0;
}

.lms-widget-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.lms-widget-item:hover {
  background-color: var(--background-light);
}

.lms-widget-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.lms-widget-item-content {
  flex: 1;
}

.lms-widget-item-title {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.lms-widget-item-description {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Widget specific styles */
.lms-content-lms_benefit .lms-widget-item-icon {
  color: var(--success-color);
}

.lms-content-lms_promotion .lms-widget-item-icon {
  color: var(--secondary-color);
}

.lms-content-lms_faq .lms-widget-item {
  flex-direction: column;
}

.lms-content-lms_faq .lms-widget-item-title {
  font-size: 0.95rem;
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lms-widget-item {
    padding: 0.5rem;
  }
  
  .lms-widget-item-icon {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    margin-right: 0.75rem;
  }
  
  .lms-widget-item-title {
    font-size: 0.9rem;
  }
  
  .lms-widget-item-description {
    font-size: 0.8rem;
  }
}
