@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap);
/* Import Montserrat font */

/* Global CSS Variables for Dynamic Theming */
:root {
  /* Default theme colors */
  --primary-color: #427fd4;
  --secondary-color: #5a8fe8;
  --accent-color: #0369a1;
  --background-color: #f8fafc;
  --text-color: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #3b82f6;
}

/* Apply dynamic theming to existing components */
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8fafc;
  background-color: var(--background-color);
  color: #ffffff;
  color: var(--text-color);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Global button styles with dynamic theming */
.btn-primary {
  background-color: #427fd4;
  background-color: var(--primary-color);
  border-color: #427fd4;
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #5a8fe8;
  background-color: var(--secondary-color);
  border-color: #5a8fe8;
  border-color: var(--secondary-color);
}

.btn-secondary {
  background-color: #5a8fe8;
  background-color: var(--secondary-color);
  border-color: #5a8fe8;
  border-color: var(--secondary-color);
  color: white;
}

/* Card styles with dynamic theming */
.card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Link styles */
a {
  color: #427fd4;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #5a8fe8;
  color: var(--secondary-color);
}

/* Form elements */
input, select, textarea {
  border: 1px solid #e2e8f0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

input:focus, select:focus, textarea:focus {
  border-color: #427fd4;
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(66, 127, 212, 0.2);
}

/* Status colors */
.text-success { color: #10b981; color: var(--success-color); }
.text-warning { color: #f59e0b; color: var(--warning-color); }
.text-error { color: #ef4444; color: var(--error-color); }
.text-info { color: #3b82f6; color: var(--info-color); }

.bg-success { background-color: #10b981; background-color: var(--success-color); }
.bg-warning { background-color: #f59e0b; background-color: var(--warning-color); }
.bg-error { background-color: #ef4444; background-color: var(--error-color); }
.bg-info { background-color: #3b82f6; background-color: var(--info-color); }

.css-19kzrtu {
    padding: 0px !important;
}

.css-ptdwpq-MuiPaper-root-MuiAppBar-root {
    --AppBar-background: #427fd4 !important; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  body {
    font-size: 12px;
  }
}
/* Modern Side-by-Side Login Page Styles */
.login-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.login-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.login-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.login-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 600px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.login-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.login-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.login-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.login-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.login-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.login-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.login-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - Login Form */
.login-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.login-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.login-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-modern label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.form-group-modern input {
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.form-group-modern input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group-modern input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 50px;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  color: white;
}

.password-toggle-btn:focus {
  outline: none;
}

.login-button-modern {
  width: 100%;
  padding: 16px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.login-button-modern:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-button-modern:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.login-options-modern {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forgot-password-modern {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password-modern:hover {
  color: white;
  text-decoration: underline;
}

.login-link-modern {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.login-link-modern a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-link-modern a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .login-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .login-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .login-branding h1 {
    font-size: 2rem;
  }
  
  .login-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .login-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .login-feature {
    padding: 12px;
  }
  
  .login-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .login-form-container {
    padding: 24px;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .login-container-modern {
    height: 100vh;
  }
  
  .login-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .login-branding h1 {
    font-size: 1.75rem;
  }
  
  .login-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .login-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .login-feature {
    padding: 10px;
  }
  
  .login-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .login-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .login-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .login-form-container {
    padding: 20px;
    max-height: 65vh;
  }
  
  .login-form-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .login-container-modern {
    height: 100vh;
  }
  
  .login-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .login-branding h1 {
    font-size: 1.5rem;
  }
  
  .login-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .login-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .login-feature {
    padding: 8px;
  }
  
  .login-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .login-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .login-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .login-form-container {
    padding: 16px;
    max-height: 70vh;
  }
  
  .login-form-header h2 {
    font-size: 1.25rem;
  }
  
  .form-group-modern input {
    padding: 10px 12px;
  }
  
  .login-button-modern {
    padding: 12px;
  }
}

/* Auth Footer Component Styles */
.auth-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
}

.auth-footer-content {
  max-width: 1300px;
  margin: 0 auto;
  /* padding: 0 20px; */
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.auth-footer-links {
  display: flex;
  flex-wrap: wrap;
}

.auth-footer-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.auth-footer-link:hover {
  background-color: rgba(66, 127, 212, 0.1);
  color: var(--secondary-color);
  transform: translateY(-1px);
}

.auth-footer-link.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.auth-footer-link.active:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}

.auth-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin: 4px 0;
}

.auth-footer-legal {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.auth-footer-legal-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.auth-footer-legal-link:hover {
  color: var(--primary-color);
}

.auth-footer-branding {
  text-align: left;
}

.auth-footer-branding p {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-footer {
    padding: 12px 0;
  }
  
  .auth-footer-content {
    padding: 0 16px;
    gap: 8px;
  }
  
  .auth-footer-links {
    gap: 16px;
  }
  
  .auth-footer-link {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .auth-footer-legal {
    gap: 16px;
  }
  
  .auth-footer-legal-link {
    font-size: 0.75rem;
  }
  
  .auth-footer-branding p {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .auth-footer-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .auth-footer-legal {
    flex-direction: column;
    gap: 8px;
  }
}

/* Modern Side-by-Side Register Page Styles */
.register-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.register-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.register-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.register-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.register-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.register-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.register-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.register-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.register-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.register-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.register-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.register-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.register-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - Register Form */
.register-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.register-form-container {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.register-form-header {
  text-align: center;
  margin-bottom: 6px;
}

.register-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.register-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px !important;
  margin-bottom: 1px !important;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1 240px;
  min-width: 220px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1px !important;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.terms-section {
  margin: 4px 0;
}

.form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.form-group input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.terms-checkbox {
  margin-top: 2px;
  accent-color: white;
}

.terms-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  line-height: 1.4;
  cursor: pointer;
}

.terms-link {
  color: white;
  text-decoration: underline;
}

.terms-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.register-button {
  width: 100%;
  padding: 12px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
}

.register-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.register-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.register-button:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.form-group-modern label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.form-group-modern input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.form-group-modern input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group-modern input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.error-text {
  color: #ffeb3b;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
  min-height: 16px;
  line-height: 1.2;
}

.terms-alert-modern {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin: 4px 0;
}

.checkbox-container-modern {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.terms-checkbox-modern {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.terms-checkbox-modern:checked {
  background: white;
  border-color: white;
}

.terms-checkbox-modern:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: bold;
}

.terms-label-modern {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  margin: 0;
  flex: 1 1;
}

.terms-link-modern {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.terms-link-modern:hover {
  text-decoration: underline;
}

.register-button-modern {
  width: 100%;
  padding: 14px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.register-button-modern:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.register-button-modern:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.register-options-modern {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-link-modern {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.register-link-modern a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.register-link-modern a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .register-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .form-row .form-group {
    flex: 1 1 240px;
    min-width: 220px;
  }
  
  .register-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .register-branding h1 {
    font-size: 2rem;
  }
  
  .register-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .register-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .register-feature {
    padding: 12px;
  }
  
  .register-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .register-form-container {
    padding: 32px;
    max-height: 60vh;
  }
  
  .form-row .form-group {
    flex: 1 1 240px;
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .register-container-modern {
    height: 100vh;
  }
  
  .register-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .register-branding h1 {
    font-size: 1.75rem;
  }
  
  .register-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .register-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .register-feature {
    padding: 10px;
  }
  
  .register-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .register-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .register-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .register-form-container {
    padding: 24px;
    max-height: 65vh;
  }
  
  .register-form-header h2 {
    font-size: 1.5rem;
  }
  
  .form-row .form-group {
    flex: 1 1 240px;
    min-width: 220px;
  }
}

@media (max-width: 480px) {
  .register-container-modern {
    height: 100vh;
  }
  
  .register-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .register-branding h1 {
    font-size: 1.5rem;
  }
  
  .register-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .register-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .register-feature {
    padding: 8px;
  }
  
  .register-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .register-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .register-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .register-form-container {
    padding: 20px;
    max-height: 70vh;
  }
  
  .register-form-header h2 {
    font-size: 1.25rem;
  }
  
  .form-group-modern input {
    padding: 12px 14px;
  }
  
  .register-button-modern {
    padding: 14px;
  }
  
  .form-row .form-group {
    flex: 1 1 240px;
    min-width: 220px;
  }
}

/* Modern Side-by-Side Forgot Password Page Styles */
.forgot-password-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.forgot-password-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.forgot-password-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.forgot-password-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.forgot-password-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.forgot-password-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.forgot-password-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.forgot-password-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.forgot-password-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.forgot-password-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.forgot-password-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.forgot-password-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.forgot-password-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - Forgot Password Form */
.forgot-password-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.forgot-password-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.forgot-password-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.forgot-password-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.forgot-password-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.forgot-password-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forgot-password-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.forgot-password-form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.forgot-password-form-group input {
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.forgot-password-form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.forgot-password-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.forgot-password-form-group input:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.forgot-password-button {
  width: 100%;
  padding: 16px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.forgot-password-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.forgot-password-button:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.forgot-password-options {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forgot-password-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.forgot-password-link a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password-link a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Success Content Styles */
.forgot-password-success-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.success-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-info h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.success-info ul {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  padding-left: 20px;
}

.success-info li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.error-text {
  color: #ffeb3b;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
  min-height: 16px;
  line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .forgot-password-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .forgot-password-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .forgot-password-branding h1 {
    font-size: 2rem;
  }
  
  .forgot-password-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .forgot-password-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .forgot-password-feature {
    padding: 12px;
  }
  
  .forgot-password-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .forgot-password-form-container {
    padding: 24px;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .forgot-password-container-modern {
    height: 100vh;
  }
  
  .forgot-password-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .forgot-password-branding h1 {
    font-size: 1.75rem;
  }
  
  .forgot-password-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .forgot-password-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .forgot-password-feature {
    padding: 10px;
  }
  
  .forgot-password-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .forgot-password-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .forgot-password-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .forgot-password-form-container {
    padding: 20px;
    max-height: 65vh;
  }
  
  .forgot-password-form-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .forgot-password-container-modern {
    height: 100vh;
  }
  
  .forgot-password-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .forgot-password-branding h1 {
    font-size: 1.5rem;
  }
  
  .forgot-password-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .forgot-password-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .forgot-password-feature {
    padding: 8px;
  }
  
  .forgot-password-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .forgot-password-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .forgot-password-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .forgot-password-form-container {
    padding: 16px;
    max-height: 70vh;
  }
  
  .forgot-password-form-header h2 {
    font-size: 1.25rem;
  }
  
  .forgot-password-form-group input {
    padding: 10px 12px;
  }
  
  .forgot-password-button {
    padding: 12px;
  }
}

/* Modern Side-by-Side Reset Password Page Styles */
.reset-password-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.reset-password-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.reset-password-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.reset-password-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.reset-password-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reset-password-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.reset-password-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.reset-password-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.reset-password-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.reset-password-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.reset-password-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.reset-password-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.reset-password-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - Reset Password Form */
.reset-password-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.reset-password-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.reset-password-form-header {
  text-align: center;
  margin-bottom: 10px;
}

.reset-password-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.reset-password-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.reset-password-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reset-password-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reset-password-form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  width: 100%;
  padding: 14px 50px 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.password-input-container input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.password-input-container input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.password-input-container input:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s ease;
}

.password-toggle:hover:not(:disabled) {
  color: white;
}

.password-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.reset-password-button {
  width: 100%;
  padding: 16px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.reset-password-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.reset-password-button:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.password-requirements {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-requirements h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.password-requirements ul {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  margin: 0;
  padding-left: 16px;
}

.password-requirements li {
  margin-bottom: 4px;
  line-height: 1.3;
}

.reset-password-options {
  margin-top: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reset-password-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.reset-password-link a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.reset-password-link a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Success/Error Content Styles */
.reset-password-success-content,
.reset-password-error-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.success-info,
.error-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-info h3,
.error-info h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.success-info ul,
.error-info ul {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  padding-left: 20px;
}

.success-info li,
.error-info li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.reset-password-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.reset-password-loading-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.error-text {
  color: #ffeb3b;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
  min-height: 16px;
  line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .reset-password-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .reset-password-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .reset-password-branding h1 {
    font-size: 2rem;
  }
  
  .reset-password-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .reset-password-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .reset-password-feature {
    padding: 12px;
  }
  
  .reset-password-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .reset-password-form-container {
    padding: 24px;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .reset-password-container-modern {
    height: 100vh;
  }
  
  .reset-password-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .reset-password-branding h1 {
    font-size: 1.75rem;
  }
  
  .reset-password-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .reset-password-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .reset-password-feature {
    padding: 10px;
  }
  
  .reset-password-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .reset-password-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .reset-password-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .reset-password-form-container {
    padding: 20px;
    max-height: 65vh;
  }
  
  .reset-password-form-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .reset-password-container-modern {
    height: 100vh;
  }
  
  .reset-password-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .reset-password-branding h1 {
    font-size: 1.5rem;
  }
  
  .reset-password-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .reset-password-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .reset-password-feature {
    padding: 8px;
  }
  
  .reset-password-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .reset-password-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .reset-password-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .reset-password-form-container {
    padding: 16px;
    max-height: 70vh;
  }
  
  .reset-password-form-header h2 {
    font-size: 1.25rem;
  }
  
  .password-input-container input {
    padding: 10px 40px 10px 12px;
  }
  
  .reset-password-button {
    padding: 12px;
  }
}

/* Custom Input Component Styles - Matching LoginPage/RegisterPage Design */

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group-modern label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.required-asterisk {
  color: #ffeb3b;
  font-weight: 600;
}

.form-input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.form-input.error {
  border-color: #ffeb3b;
  background-color: rgba(255, 235, 59, 0.1);
}

.form-input.error:focus {
  border-color: #ffeb3b;
  background-color: rgba(255, 235, 59, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.1);
}

.form-helper-text {
  font-size: 0.8rem;
  margin-top: 2px;
  font-weight: 500;
  min-height: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
}

.form-helper-text.error {
  color: #ffeb3b;
  font-weight: 600;
}

/* Textarea specific styles */
.form-input[type="textarea"] {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Color input specific styles */
.form-input[type="color"] {
  height: 48px;
  padding: 4px;
  cursor: pointer;
}

/* File input specific styles */
.form-input[type="file"] {
  padding: 8px 12px;
  cursor: pointer;
}

/* Number input specific styles */
.form-input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
}

.form-input[type="number"]::-webkit-outer-spin-button,
.form-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-group-modern {
    margin-bottom: 10px;
  }
  
  .form-input {
    padding: 10px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

@media (max-width: 480px) {
  .form-group-modern {
    margin-bottom: 8px;
  }
  
  .form-input {
    padding: 8px 10px;
  }
  
  .form-group-modern label {
    font-size: 0.85rem;
  }
  
  .form-helper-text {
    font-size: 0.75rem;
  }
}

/* Modern Side-by-Side Church Registration Page Styles */
.church-registration-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.church-registration-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.church-registration-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.church-registration-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.church-registration-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.church-registration-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.church-registration-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.church-registration-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.church-registration-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.church-registration-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.church-registration-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.church-registration-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.church-registration-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - Registration Form */
.church-registration-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.church-registration-form-container {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.church-registration-form-header {
  text-align: center;
  margin-bottom: 24px;
}

.church-registration-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.church-registration-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.church-registration-stepper {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.church-registration-stepper .MuiStepper-root {
  background: transparent;
}

.church-registration-stepper .MuiStepLabel-label {
  color: white !important;
  font-weight: 500;
}

.church-registration-stepper .MuiStepLabel-label.Mui-active {
  color: white !important;
  font-weight: 600;
}

.church-registration-stepper .MuiStepLabel-label.Mui-completed {
  color: rgba(255, 255, 255, 0.8) !important;
}

.church-registration-stepper .MuiStepIcon-root {
  color: rgba(255, 255, 255, 0.3) !important;
}

.church-registration-stepper .MuiStepIcon-root.Mui-active {
  color: white !important;
}

.church-registration-stepper .MuiStepIcon-root.Mui-completed {
  color: rgba(255, 255, 255, 0.8) !important;
}

.church-registration-stepper .MuiStepConnector-line {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.church-registration-stepper .MuiStepConnector-line.Mui-active {
  border-color: white !important;
}

.church-registration-stepper .MuiStepConnector-line.Mui-completed {
  border-color: rgba(255, 255, 255, 0.8) !important;
}

/* Removed old form-row styles - now handled above */

.form-group {
  margin-bottom: 10px !important;
  position: relative;
}

.form-group.full-width {
  flex: 1 1 100%;
}

/* Form row styling for custom inputs */
.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 0;
}

/* Force 4 columns on wide screens for location row */
.form-row.four-cols {
  flex-wrap: nowrap;
}

.form-row.four-cols .form-group {
  flex: 1 1 25%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .form-row.four-cols {
    flex-wrap: wrap;
  }
  .form-row.four-cols .form-group {
    flex: 1 1 240px;
    min-width: 220px;
  }
}

/* Custom Input Component Styles - Matching LoginPage/RegisterPage Design */
.church-registration-form-content .form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.church-registration-form-content .form-group-modern label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.church-registration-form-content .required-asterisk {
  color: #ffeb3b;
  font-weight: 600;
}


.church-registration-form-content .form-input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.church-registration-form-content .form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.church-registration-form-content .form-input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.15);
}

.church-registration-form-content .form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.church-registration-form-content .form-input:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.church-registration-form-content .form-input.error {
  border-color: #ffeb3b;
  background-color: rgba(255, 235, 59, 0.1);
}

.church-registration-form-content .form-input.error:focus {
  border-color: #ffeb3b;
  background-color: rgba(255, 235, 59, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.1);
}

.church-registration-form-content .form-helper-text {
  font-size: 0.8rem;
  margin-top: 2px;
  font-weight: 500;
  min-height: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
}

.church-registration-form-content .form-helper-text.error {
  color: #ffeb3b;
  font-weight: 600;
}

/* Textarea specific styles */
.church-registration-form-content .form-input[type="textarea"] {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Color input specific styles */
.church-registration-form-content .form-input[type="color"] {
  height: 32px;
  padding: 1px;
  cursor: pointer;
}

/* File input specific styles */
.church-registration-form-content .form-input[type="file"] {
  padding: 8px 12px;
  cursor: pointer;
}

/* Number input specific styles */
.church-registration-form-content .form-input[type="number"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}

.church-registration-form-content .form-input[type="number"]::-webkit-outer-spin-button,
.church-registration-form-content .form-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Enhanced Alert styling */
.church-registration-form-content .MuiAlert-root {
  background-color: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
  font-weight: 500;
}

.church-registration-form-content .MuiAlert-root.MuiAlert-standardSuccess {
  background: var(--text-color);
  border: 2px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
  margin-top: 0.5em;
}

.church-registration-form-content .MuiAlert-root.MuiAlert-standardInfo {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: #1e40af;
}

.church-registration-form-content .MuiAlert-root .MuiAlert-icon {
  font-size: 20px;
}

.church-registration-form-content .MuiAlert-root .MuiAlert-message {
  font-size: 14px;
  line-height: 1.5;
} */

/* Plan cards - more compact */
.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.plan-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  flex: 1 1;
  max-width: 260px;
  padding: 20px;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: white;
}

.plan-card.selected {
  border-color: white;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.plan-card.disabled {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  opacity: 0.6;
}

.plan-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.plan-card-content {
  text-align: center;
}

.plan-card h4 {
  color: #374151;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.plan-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 10px 0;
}

.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  justify-content: center;
}

.feature-chip {
  background: rgba(66, 127, 212, 0.1);
  color: var(--primary-color);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(66, 127, 212, 0.2);
}

/* Trial Plan Design */
.trial-plan-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.trial-plan-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.trial-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: white;
}

.trial-plan-icon {
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.trial-plan-title {
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.trial-plan-description {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.trial-plan-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  text-align: left;
}

.trial-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
}

.trial-feature span {
  flex: 1 1;
}

.trial-plan-note {
  background: rgba(66, 127, 212, 0.05);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid var(--primary-color);
}

.trial-plan-note strong {
  color: #1f2937;
}

/* Enhanced Upload areas */
.upload-area-container {
  margin-bottom: 24px;
}

.upload-area-container label {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upload-area {
  border: 3px dashed rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.upload-area::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;
}

.upload-area:hover::before {
  left: 100%;
}

.upload-area:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.upload-area.has-file {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-style: solid;
}

.upload-icon {
  font-size: 48px !important;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
  transform: scale(1.1);
  color: white;
}

.upload-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.upload-area:hover .upload-text {
  color: white;
  transform: translateY(-2px);
}

/* Favicon preview styling */
.favicon-preview-container {
  margin-bottom: 20px;
}

.favicon-preview-container label {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  font-size: 14px;
}

.favicon-preview-row {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.favicon-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.favicon-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.favicon-preview,
.favicon-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.favicon-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}

/* Favicon upload area */
.favicon-upload {
  padding: 25px 20px;
}

.favicon-upload .upload-text {
  font-size: 13px;
}

/* Color section styling */
.color-section {
  margin-bottom: 12px;
}

.color-section-spaced {
  margin-top: 16px;
}

.logo-upload-section {
  margin-top: 10px;
}

.color-section label {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Color picker enhancements */
.color-picker-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.color-preview {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.color-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Enhanced color picker styling */
.color-picker-container .MuiTextField-root {
  margin-bottom: 8px;
}

.color-picker-container .MuiTextField-root .MuiInputBase-root {
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.9);
}

.color-picker-container .MuiTextField-root .MuiInputBase-root:hover {
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
  background-color: white;
}

.color-picker-container .MuiTextField-root .MuiInputBase-root .MuiInputBase-input {
  padding: 12px 14px;
  font-size: 14px;
}

.color-picker-container .MuiTextField-root .MuiInputBase-root .MuiInputBase-input[type="color"] {
  cursor: pointer;
}

/* Review section */
.review-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.review-card-content {
  padding: 20px;
}

.review-card h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 16px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 4px 0;
  font-size: 14px;
}

.review-item strong {
  color: #374151;
  min-width: 100px;
  flex-shrink: 0;
}

.review-item span {
  color: #6b7280;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/* Loading overlay */
.loading-overlay {
  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;
  border-radius: 12px;
  z-index: 10;
}

/* Step transition animation */
.reg-step-content {
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation buttons container */
.church-registration-form-content .MuiGrid-container {
  margin-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Push Back button to far left */
.church-registration-form-content .MuiGrid-container .MuiGrid-item:first-child {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 48px;
}

/* Push Next button to far right */
.church-registration-form-content .MuiGrid-container .MuiGrid-item:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 48px;
}

.church-registration-form-content .MuiGrid-container .MuiButton-root {
  width: auto;
  min-width: 120px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.church-registration-form-content .MuiGrid-container .MuiButton-root:hover {
  background-color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.church-registration-form-content .MuiGrid-container .MuiButton-outlined {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  border-width: 2px;
}

.church-registration-form-content .MuiGrid-container .MuiButton-outlined:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.church-registration-form-content .MuiGrid-container .MuiButton-outlined:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

.church-registration-form-content .MuiGrid-container .MuiButton-root:disabled {
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.3);
}

.hidden-input {
  display: none;
}


/* New navigation buttons container - replacing Grid */
.navigation-buttons-container {
  margin-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.navigation-buttons-container .MuiButton-root {
  width: auto;
  min-width: 120px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex-shrink: 0;
  vertical-align: top;
}

.navigation-buttons-container .MuiButton-root:hover {
  background-color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navigation-buttons-container .MuiButton-outlined {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  border-width: 2px;
}

.navigation-buttons-container .MuiButton-outlined:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.navigation-buttons-container .MuiButton-outlined:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

.navigation-buttons-container .MuiButton-root:disabled {
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .church-registration-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .church-registration-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .church-registration-branding h1 {
    font-size: 2rem;
  }
  
  .church-registration-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .church-registration-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .church-registration-feature {
    padding: 12px;
  }
  
  .church-registration-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .church-registration-form-container {
    padding: 24px;
    max-height: 60vh;
  }
  
  .church-registration-stepper {
    padding: 16px;
  }
  
  .church-registration-stepper .MuiStepLabel-label {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .church-registration-container-modern {
    height: 100vh;
  }
  
  .church-registration-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .church-registration-branding h1 {
    font-size: 1.75rem;
  }
  
  .church-registration-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .church-registration-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .church-registration-feature {
    padding: 10px;
  }
  
  .church-registration-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .church-registration-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .church-registration-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .church-registration-form-container {
    padding: 20px;
    max-height: 65vh;
  }
  
  .church-registration-form-header h2 {
    font-size: 1.5rem;
  }
  
  .church-registration-stepper {
    padding: 12px;
  }
  
  .church-registration-stepper .MuiStepLabel-label {
    font-size: 11px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group {
    margin-bottom: 12px;
  }
  
  .form-row .form-group {
    margin-bottom: 12px;
  }
  
  .church-registration-form-content .form-group-modern {
    margin-bottom: 10px;
  }
  
  .church-registration-form-content .form-input {
    padding: 10px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .navigation-buttons-container {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .navigation-buttons-container .MuiButton-root {
    width: 100%;
    max-width: 200px;
  }
  
  .reg-step-content {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .church-registration-container-modern {
    height: 100vh;
  }
  
  .church-registration-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .church-registration-branding h1 {
    font-size: 1.5rem;
  }
  
  .church-registration-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .church-registration-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .church-registration-feature {
    padding: 8px;
  }
  
  .church-registration-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .church-registration-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .church-registration-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .church-registration-form-container {
    padding: 16px;
    max-height: 70vh;
  }
  
  .church-registration-form-header h2 {
    font-size: 1.25rem;
  }
  
  .church-registration-stepper {
    padding: 8px;
  }
  
  .church-registration-stepper .MuiStepLabel-label {
    font-size: 10px;
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  .church-registration-form-content .form-group-modern {
    margin-bottom: 8px;
  }
  
  .church-registration-form-content .form-input {
    padding: 8px 10px;
  }
  
  .church-registration-form-content .form-group-modern label {
    font-size: 0.85rem;
  }
  
  .church-registration-form-content .form-helper-text {
    font-size: 0.75rem;
  }
  
  .upload-area {
    padding: 20px 15px;
  }
  
  .upload-icon {
    font-size: 32px !important;
  }
  
  .plan-price {
    font-size: 20px;
  }
  
  .feature-chip {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .reg-step-content {
    min-height: 250px;
  }
}

@media (max-width: 360px) {
  .church-registration-container-modern {
    height: 100vh;
  }
  
  .church-registration-left-panel {
    padding: 8px 6px;
    min-height: 20vh;
    max-height: 20vh;
  }
  
  .church-logo {
    max-width: 100px;
    max-height: 35px;
  }
  
  .church-registration-branding h1 {
    font-size: 1.25rem;
  }
  
  .church-registration-branding p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .church-registration-features {
    gap: 6px;
    max-height: 10vh;
  }
  
  .church-registration-feature {
    padding: 6px;
  }
  
  .church-registration-feature-icon {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }
  
  .church-registration-feature-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .church-registration-right-panel {
    padding: 8px 6px;
    max-height: 80vh;
  }
  
  .church-registration-form-container {
    padding: 12px;
    max-height: 75vh;
  }
  
  .church-registration-form-header h2 {
    font-size: 1.1rem;
  }
  
  .church-registration-stepper {
    padding: 6px;
  }
  
  .church-registration-stepper .MuiStepLabel-label {
    font-size: 9px;
  }
  
  .form-group {
    margin-bottom: 8px;
  }
  
  .upload-area {
    padding: 16px 12px;
  }
  
  .upload-icon {
    font-size: 28px !important;
  }
  
  .plan-price {
    font-size: 18px;
  }
  
  .reg-step-content {
    min-height: 220px;
  }
}

/* Layout.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #root {
  height: 100%;
  width: 100%;
}

.page-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 100vh !important;
  background: white !important;
}


.main-content {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 280px; /* match sidebar width from Sidebar.css */
  padding: 20px; /* 20px left/right padding */
  min-height: 100vh;
  overflow-y: auto;
  background-color: white;
}

.page-header {
  background: var(--primary-color) !important;  
  padding: 32px !important;
  margin-bottom: 20px !important;
  color: var(--text-color) !important;  
  position: relative !important;
  overflow: hidden !important;
}

.tab-panel-content {
  padding: 24px;
}

.page-header-secondary {
  background: var(--primary-color) !important;  
  padding: 20px !important;
  margin-bottom: 10px !important;
  color: var(--text-color) !important;  
  position: relative !important;
  overflow: hidden !important;
}

/* Page Header Grid Layout */
.page-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  grid-gap: 24px;
  gap: 24px;
  width: 100%;
}

  
.page-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: var(--text-color) !important;
  margin: 0 !important;
  margin-bottom: 8px !important;
}

.page-subtitle {
  font-size: 1.1rem !important;
  color: var(--text-color) !important;
  margin: 0 !important;
}

/* Empty State - Consistent across all pages */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  margin: 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  min-height: 300px;
}

.empty-state .MuiTypography-h5,
.empty-state .MuiTypography-h6 {
  color: #666;
  font-weight: 500;
  margin-bottom: 16px;
}

.empty-state .MuiTypography-body1,
.empty-state .MuiTypography-body2 {
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}

.empty-state .MuiButton-root {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
}

.page-icon-button {
  background: none;
  border-radius: 50%;
  padding: 4px;
  margin: 0;
  min-width: 0;
  min-height: 0;
  width: 24px;
  height: 24px;
  box-shadow: none;
}


.table-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2rem !important;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 2px 16px !important;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-top: 16px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.pagination-select {
  min-width: 120px;
}


.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-info {
  font-size: 0.875rem;
  color: #4a5568;
  font-weight: 500;
  margin: 0 25px;
}

.page-size-select {
  border: 1px solid #e2e8f0;
  background: white;
  font-size: 0.875rem;
  color: #4a5568;
  cursor: pointer;
  margin-right: 1.1em;
  min-width: 100px;
}

.page-size-select:focus {
  outline: none;
  border-color: #427fd4;
  box-shadow: 0 0 0 3px rgba(66, 127, 212, 0.1);
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.no-results {
  padding: 48px 24px;
  text-align: center;
  background: white;
  color: #666;
}

.icon-button-small {
  border-radius: 50% !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  width: 32px !important;
}

/* Status Tabs */
.status-tabs {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.status-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.status-tabs .MuiTabs-scroller {
  overflow-x: auto !important;
}

.status-tabs .MuiTab-root {
  min-width: auto !important;
  padding: 8px 16px !important;
  white-space: nowrap;
}

.MuiDialogTitle-root {
  background: var(--primary-color) !important;
  color: var(--text-color) !important;
}

.MuiButton-root {
  background: var(--primary-color) !important;
  color: var(--text-color) !important;
}

.MuiButton-outlined:hover {
  background: var(--text-color) !important;
  color: var(--primary-color) !important;
}

.MuiButton-contained:hover {
  background: var(--text-color) !important;
  color: var(--primary-color) !important;
}

.css-18jp67o-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input {
  padding: 4px 0 5px;
  padding: 7.5px 10px !important;
}

.css-sc8y68-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root {
  margin-right: 15px !important;
}

.header-button {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.table-container {
  animation: fadeInUp 0.6s ease-out;
}

/* Full width when sidebar is collapsed */
.sidebar-collapsed + .main-content {
  margin-left: 70px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .main-content {
    margin-left: 240px;
    padding: 50px 16px 20px 16px;
  }
  
  .page-size-select {
    width: 100%;
    max-width: 200px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    padding: 50px 16px 16px 16px; /* Space for mobile header */
}

.table-footer {
  margin-bottom: 2rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 2px 16px !important;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-top: 16px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}
  
  .page-size-select {
    width: 100%;
    max-width: 200px;
    margin-right: 0;
  }
  
  .pagination-buttons {
    gap: 0.5rem;
  }
  
  .page-info {
    font-size: 0.8rem;
    margin: 0 15px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .main-content {
    margin-left: 0;
    padding: 50px 12px 12px 12px;
  }
  
  .table-footer {
    margin-bottom: 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 2px 16px !important;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 16px;
  }

  .pagination-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .pagination-buttons {
    gap: 0.25rem;
  }
  
  .page-info {
    font-size: 0.75rem;
    margin: 0 10px;
  }
  
  .page-size-select {
    width: 100%;
    max-width: 200px;
    margin-right: 0;
  }
  
  .table-footer {
    margin-bottom: 1rem;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .main-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .table-footer {
    margin-bottom: 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 2px 16px !important;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 16px;
  }
  
  .pagination-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .page-info {
    font-size: 0.7rem;
    margin: 0 8px;
  }
  
  .page-size-select {
    width: 100%;
    max-width: 200px;
    margin-right: 0;
  }
}


@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.2rem;
  }
}

/* Static Card - No hover effects */
.static-card {
  transition: none !important;
}

.static-card:hover {
  box-shadow: 1px 1px 3px rgba(0,0,0,0.12), 0px 1px 2px rgba(0,0,0,0.24) !important;
  transform: none !important;
}
/* Sidebar.css */
.sidebar {
  width: 280px;
  height: 100vh;
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 200;
  box-shadow: none;
}

/* Scroll Banner/Header */
.scroll-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  display: none; /* Hidden by default for desktop */
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.scroll-banner.show {
  transform: translateY(0);
}

.scroll-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.scroll-banner-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.scroll-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-banner-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-banner-logo-icon {
  font-size: 20px;
}

.scroll-banner-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #427fd4;
}

.sidebar .logo {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-icon {
  font-size: 28px;
  margin-right: 10px;
}
.logo-text {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: white;
}
.logo-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  background-color: white;
  padding: 2px;
  margin-top: 2px;
}

.nav {
  flex: 1 1;
  overflow-y: auto;
}
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-item {
  position: relative;
  margin-bottom: 2px;
}
.menu-link {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}
.menu-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}
.menu-link.active {
  background-color: white;
  color: black;
}
.menu-icon {
  font-size: 18px;
  margin-right: 12px;
}
.menu-label {
  font-size: 14px;
  font-weight: 500;
}

.footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.user-profile {
  display: flex;
  align-items: center;
}
.user-initial {
  width: 32px;
  height: 32px;
  background-color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-weight: bold;
  font-size: 14px;
}
.user-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 1px 0;
}
.user-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.user-logout {
  font-size: 12px;
  color: white;
  margin: 0;
  cursor: pointer;
}

/* Hamburger menu styles */
.sidebar-hamburger {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: left 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
  will-change: left, transform;
  pointer-events: auto;
}
.hamburger-bar {
  width: 28px;
  height: 3px;
  background: #427fd4;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  display: block;
}
.sidebar-hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sidebar-hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.sidebar-hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hamburger positioning when sidebar is open */
.sidebar-hamburger.open {
  left: 18px !important;
  transform: translate(0, -50%) !important;
}

/* Hamburger color when open */
.sidebar-hamburger.open .hamburger-bar {
  background: #e74c3c !important; /* Red color when open */
}

/* Overlay for mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 199;
  transition: opacity 0.3s;
}

/* Large Tablet Responsive */
@media (max-width: 1200px) {
  .sidebar {
    width: 260px;
  }
  .scroll-banner {
    display: none !important; /* Hidden by default for desktop */
  }
  .scroll-banner-content {
    padding: 0 16px;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .menu-link {
    padding: 10px 16px;
  }
  
  .menu-icon {
    font-size: 18px;
    margin-right: 12px;
  }
  
  .scroll-banner {
    height: 56px;
    display: flex; /* Show on mobile */
  }
  
  .scroll-banner-content {
    padding: 0 12px;
  }
  
  .scroll-banner-title {
    font-size: 16px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sidebar-hamburger {
    display: flex;
  }
  
  .sidebar {
    transform: translateX(-100%);
    width: 220px;
    box-shadow: none;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #427fd4;
    z-index: 250;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  
  .sidebar.sidebar-open {
    transform: translateX(0);
  }
  
  
  .sidebar:not(.sidebar-open) {
    pointer-events: none;
  }
  
  .sidebar-hamburger {
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
  }
  
  .sidebar-hamburger.open {
    left: 16px !important;
    transform: translate(0, -50%) !important;
  }
  
  .scroll-banner {
    height: 52px;
    display: flex; /* Show on mobile */
  }
  
  .scroll-banner-content {
    padding: 0 12px;
  }
  
  .scroll-banner-title {
    font-size: 15px;
  }
  
  .scroll-banner-logo-text {
    font-size: 14px;
  }
  .menu-icon {
    display: none !important;
  }
  .menu-label {
    display: inline-block;
    font-size: 15px;
    margin-left: 0;
  }
  /* .page-container {
    padding-top: 60px; 
  }*/
}

/* Small Tablet Responsive */
@media (max-width: 600px) {
  .sidebar {
    width: 90vw;
    min-width: 0;
    max-width: 320px;
  }
  
  .sidebar-hamburger {
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    z-index: 9999;
  }
  
  .sidebar-hamburger.open {
    left: 14px !important;
    transform: translate(0, -50%) !important;
  }
  
  .hamburger-bar {
    width: 24px;
    height: 2px;
  }
  
  .scroll-banner {
    height: 48px;
    display: flex; /* Show on mobile */
  }
  
  .scroll-banner-content {
    padding: 0 8px;
  }
  
  .scroll-banner-title {
    font-size: 14px;
  }
  
  .scroll-banner-logo-text {
    font-size: 13px;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .sidebar {
    width: 100vw;
    height: auto;
    min-width: 0;
    max-width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    flex-direction: column;
    padding: 0;
    z-index: 250;
  }
  
  .logo {
    justify-content: center;
    padding: 16px 8px;
  }
  
  .nav {
    padding: 8px 0;
  }
  
  .menu {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .menu-item {
    margin: 0;
  }
  
  .menu-link {
    flex-direction: column;
    padding: 10px 5px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
  }
  
  .menu-icon {
    margin: 0 0 5px 0;
    font-size: 20px;
  }
  
  .menu-label {
    display: block;
    font-size: 10px;
  }
  
  .footer {
    padding: 10px;
  }
  
  .user-profile {
    flex-direction: row;
    align-items: center;
  }
  
  .user-initial {
    margin-right: 6px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .admin-item {
    display: flex;
    order: 1; /* Move admin item to the end */
    margin-top: 8px; /* Add some spacing */
  }
  
  
  .sidebar-hamburger {
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    z-index: 9999;
  }
  
  .sidebar-hamburger.open {
    left: 12px !important;
    transform: translate(0, -50%) !important;
  }
  
  .hamburger-bar {
    width: 20px;
    height: 2px;
  }
  
  .scroll-banner {
    height: 44px;
    display: flex; /* Show on mobile */
  }
  
  .scroll-banner-content {
    padding: 0 6px;
  }
  
  .scroll-banner-title {
    font-size: 13px;
  }
  
  .scroll-banner-logo-text {
    font-size: 12px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .sidebar {
    width: 100vw;
  }
  
  .menu-link {
    padding: 8px 4px;
  }
  
  .menu-icon {
    font-size: 18px;
  }
  
  .menu-label {
    font-size: 9px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .admin-item {
    margin-top: 6px;
  }
  
  
  .sidebar-hamburger {
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    z-index: 9999;
  }
  
  .sidebar-hamburger.open {
    left: 10px !important;
    transform: translate(0, -50%) !important;
  }
  
  .hamburger-bar {
    width: 18px;
    height: 2px;
  }
  
  .scroll-banner {
    height: 40px;
  }
  
  .scroll-banner-content {
    padding: 0 4px;
  }
  
  .scroll-banner-title {
    font-size: 12px;
  }
  
  .scroll-banner-logo-text {
    font-size: 11px;
  }
}
/* Church Access Level Indicators */
.menu-item.super-admin-item .menu-link {
  border-left: 3px solid #ff9800;
}

.menu-item.admin-level-item .menu-link {
  border-left: 3px solid #f44336;
}

.menu-item.manager-level-item .menu-link {
  border-left: 3px solid #2196f3;
}

.menu-item.viewer-level-item .menu-link {
  border-left: 3px solid #4caf50;
}

/* Subtle background indicators for different access levels */
.menu-item.super-admin-item .menu-link:hover {
  background-color: rgba(255, 152, 0, 0.1);
}

.menu-item.admin-level-item .menu-link:hover {
  background-color: rgba(244, 67, 54, 0.1);
}

.menu-item.manager-level-item .menu-link:hover {
  background-color: rgba(33, 150, 243, 0.1);
}

.menu-item.viewer-level-item .menu-link:hover {
  background-color: rgba(76, 175, 80, 0.1);
}

/* Access level tooltips */
.menu-item[data-access-level]::after {
  content: attr(data-access-level);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.menu-item[data-access-level]:hover::after {
  opacity: 1;
}

/* Church context aware styling */
.sidebar.multi-campus {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar.single-campus {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* User role display with access level */
.user-role.with-access-level {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-role.with-access-level::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.6;
}

.user-role.lead-pastor::after {
  background-color: #ff9800;
}

.user-role.admin::after {
  background-color: #f44336;
}

.user-role.manager::after {
  background-color: #2196f3;
}

.user-role.viewer::after {
  background-color: #4caf50;
}

/* Responsive adjustments for access level indicators */
@media (max-width: 768px) {
  .menu-item[data-access-level]::after {
    display: none;
  }
  
  .menu-item.super-admin-item .menu-link,
  .menu-item.admin-level-item .menu-link,
  .menu-item.manager-level-item .menu-link,
  .menu-item.viewer-level-item .menu-link {
    border-left-width: 2px;
  }
}

/* Loading state for dynamic menu items */
.menu-item.loading {
  opacity: 0.6;
  pointer-events: none;
}

.menu-item.loading .menu-link {
  position: relative;
}

.menu-item.loading .menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
/* Popup Menu Styles */
.popup-menu {
  position: fixed;
  background: #427fd4;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 200px;
  max-width: 300px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  overflow: visible;
  top: 0;
  top: var(--popup-top, 0);
  left: 0;
  left: var(--popup-left, 0);
}

.popup-menu.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.popup-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.popup-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.popup-menu-item:focus {
  outline: 2px solid #427fd4;
  outline-offset: -2px;
}

.popup-menu-item.has-children::after {
  content: '▶';
  position: absolute;
  right: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.popup-menu-item.has-children:hover::after {
  transform: translateX(2px);
}

.popup-menu-icon {
  font-size: 18px;
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.popup-menu-label {
  flex: 1 1;
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.popup-menu-arrow {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 8px;
}

/* Critical fix for second level popup */
.popup-menu-level-2 {
  z-index: 1001 !important;
  position: fixed !important;
  background: #427fd4 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  min-width: 200px !important;
  max-width: 300px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  top: 0 !important;
  top: var(--popup-top, 0) !important;
  left: 0 !important;
  left: var(--popup-left, 0) !important;
}

/* Second level popup item styling */
.popup-menu-level-2 .popup-menu-item {
  color: white !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.popup-menu-level-2 .popup-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.popup-menu-level-2 .popup-menu-icon {
  color: rgba(255, 255, 255, 0.9) !important;
}

.popup-menu-level-2 .popup-menu-label {
  color: white !important;
}

.popup-menu-level-2 .popup-menu-item.has-children::after {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure proper gap between popups */
.popup-menu-level-2 {
  margin-left: 4px;
}

/* Make sure second level popup stays visible */
.popup-menu-level-2.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: block !important;
}

/* Fix overflow to ensure second level popup is fully visible */
.popup-menu {
  overflow: visible !important;
}

/* Better positioning for nested popups */
.popup-menu-level-1 {
  z-index: 1000;
}

.popup-menu-level-2 {
  z-index: 1001;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .popup-menu-level-2 {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    z-index: 1002 !important;
  }
}

/* Animation for smooth transitions */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-menu.visible {
  animation: popupFadeIn 0.2s ease;
}

.popup-menu-level-2.visible {
  animation: popupFadeIn 0.2s ease;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .popup-menu {
    background: #427fd4;
  }

  .popup-menu-item {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .popup-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
  }

  .popup-menu-icon {
    color: rgba(255, 255, 255, 0.9);
  }

  .popup-menu-item.has-children::after {
    color: rgba(255, 255, 255, 0.9);
  }

  .popup-menu-label {
    color: white;
  }

  .popup-menu-arrow {
    color: rgba(255, 255, 255, 0.9);
  }

  /* Second level popup in dark mode - keep primary color */
  .popup-menu-level-2 {
    background: #427fd4 !important;
  }

  .popup-menu-level-2 .popup-menu-item {
    color: white !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  }

  .popup-menu-level-2 .popup-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
  }

  .popup-menu-level-2 .popup-menu-icon {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .popup-menu-level-2 .popup-menu-label {
    color: white !important;
  }

  .popup-menu-level-2 .popup-menu-item.has-children::after {
    color: rgba(255, 255, 255, 0.9) !important;
  }
}
/* Menu Item Styles */
.menu-item {
  position: relative;
  margin-bottom: 2px;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.menu-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.menu-link.active {
  background-color: white;
  color: black;
}

.menu-link.has-popup {
  cursor: pointer;
}

.menu-link.has-popup:hover .menu-arrow {
  transform: translateX(2px);
}

.menu-icon {
  font-size: 18px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.menu-label {
  font-size: 14px;
  font-weight: 500;
  flex: 1 1;
}

.menu-arrow {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
  transition: transform 0.2s ease, color 0.3s ease;
}

/* Arrow color when parent item is active */
.menu-link.active .menu-arrow {
  color: #1976d2; /* Primary color */
}

/* Arrow hover effect when parent is active */
.menu-link.active:hover .menu-arrow {
  color: #1565c0; /* Darker primary color on hover */
}

/* Focus styles for accessibility */
.menu-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
}

/* Access level indicators */
.menu-item.super-admin-item .menu-link {
  border-left: 3px solid #ff9800;
}

.menu-item.admin-level-item .menu-link {
  border-left: 3px solid #f44336;
}

.menu-item.manager-level-item .menu-link {
  border-left: 3px solid #2196f3;
}

.menu-item.viewer-level-item .menu-link {
  border-left: 3px solid #4caf50;
}

/* Subtle background indicators for different access levels */
.menu-item.super-admin-item .menu-link:hover {
  background-color: rgba(255, 152, 0, 0.1);
}

.menu-item.admin-level-item .menu-link:hover {
  background-color: rgba(244, 67, 54, 0.1);
}

.menu-item.manager-level-item .menu-link:hover {
  background-color: rgba(33, 150, 243, 0.1);
}

.menu-item.viewer-level-item .menu-link:hover {
  background-color: rgba(76, 175, 80, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .menu-link {
    padding: 12px 16px;
    font-size: 15px;
  }

  .menu-icon {
    font-size: 20px;
    margin-right: 16px;
    width: 24px;
  }

  .menu-label {
    font-size: 15px;
  }

  .menu-arrow {
    font-size: 14px;
  }

  /* Hide access level indicators on mobile */
  .menu-item.super-admin-item .menu-link,
  .menu-item.admin-level-item .menu-link,
  .menu-item.manager-level-item .menu-link,
  .menu-item.viewer-level-item .menu-link {
    border-left-width: 2px;
  }
}

/* Small mobile responsive */
@media (max-width: 480px) {
  .menu-link {
    padding: 10px 12px;
  }

  .menu-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
  }

  .menu-label {
    font-size: 14px;
  }
}

/* ChurchSwitcher component styles to match sidebar design */

.church-switcher-sidebar {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #2c5aa0 !important;
}

.church-switcher-button {
  width: 100% !important;
  justify-content: flex-start !important;
  text-transform: none !important;
  padding: 4px 8px !important;
  border-radius: 0 !important;
  background: #2c5aa0 !important;
  border: none !important;
  color: white !important;
  transition: all 0.2s ease !important;
  min-height: 36px !important;
}

.church-switcher-button:hover {
    background: #1e3a66 !important;
    color: white !important;
  }

.church-switcher-button:disabled {
  opacity: 0.6 !important;
}

.church-switcher-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.church-switcher-icon {
  font-size: 18px !important;
}

.church-switcher-text {
  flex: 1 1;
  text-align: left;
  min-width: 0;
  /* Allow text truncation */
}

.church-switcher-name {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.church-switcher-subdomain {
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.church-switcher-access-level {
  margin-top: 2px !important;
}

.church-switcher-access-chip {
  height: 18px !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  border-radius: 9px !important;
}

.church-switcher-expand-icon {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 18px !important;
}

.church-switcher-menu {
  min-width: 280px !important;
  max-width: 350px !important;
  max-height: 400px !important;
  left: 0 !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
}

.church-switcher-menu::-webkit-scrollbar {
  width: 6px !important;
}

.church-switcher-menu::-webkit-scrollbar-track {
  background: transparent !important;
}

.church-switcher-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 3px !important;
}

.church-switcher-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3) !important;
}

.church-switcher-menu-header {
  padding: 12px 16px 8px 16px !important;
  background: rgba(0, 0, 0, 0.02) !important;
}

.church-switcher-menu-header-text {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(0, 0, 0, 0.6) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.church-switcher-menu-item {
  padding: 10px 16px !important;
  min-height: 48px !important;
}

.church-switcher-menu-item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}

.church-switcher-menu-item.selected {
  background: rgba(25, 118, 210, 0.08) !important;
}

.church-switcher-menu-item-icon {
  min-width: 36px !important;
}

.church-switcher-menu-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.church-switcher-menu-item-text {
  flex: 1 1;
  min-width: 0;
}

.church-switcher-menu-item-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(0, 0, 0, 0.87) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.church-switcher-menu-item-subdomain {
  font-size: 12px !important;
  color: rgba(0, 0, 0, 0.6) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.church-switcher-menu-item-access-level {
  margin-top: 4px !important;
}

/* Compact version styles */
.church-switcher-compact {
  display: inline-block;
  background: #2c5aa0 !important;
  border-radius: 6px;
  padding: 4px;
}

.church-switcher-compact-button {
  min-width: auto !important;
  text-transform: none !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
}

.church-switcher-compact-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.church-switcher-compact-icon {
  font-size: 16px !important;
}

.church-switcher-compact-text {
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Loading state */
.church-switcher-loading {
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .church-switcher-menu {
    min-width: 260px !important;
    max-width: 90vw !important;
  }

  .church-switcher-name {
    font-size: 13px !important;
  }

  .church-switcher-subdomain {
    font-size: 11px !important;
  }
}
/* Church Selection Page Styles */
.church-selection-container {
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  max-width: 1400px;
}

.church-selection-container2 {
    width: 100% !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0px !important;
    background-color: transparent !important;
}

@media (min-width: 600px) {
    .church-selection-container2 {
        padding-left: 0 !important;
        padding-right: 16px !important;
    }
}



/* Church Logo Image */
.church-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.create-church-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.create-church-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Search Section */
.search-section {
  margin-bottom: 32px;
  max-width: 500px;
}

.search-input {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input .MuiOutlinedInput-root {
  border-radius: 12px;
}

/* Church Cards */
.church-card {
  cursor: pointer;
  height: 100%;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
  background: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.church-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  border-color: #427fd4 !important;
}

.church-card-content {
  padding: 24px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.church-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.church-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.church-icon svg {
  color: white;
  font-size: 24px;
}

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

.church-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.3;
  word-break: break-word;
}

.church-subdomain {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.church-card-details {
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.church-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

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

.detail-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.detail-value {
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 600;
}

.status-active {
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.church-card-footer {
  margin-top: auto;
  padding-top: 16px;
}

.select-church-btn {
  width: 100%;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.empty-state-icon svg {
  color: #64748b;
  font-size: 40px;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.empty-state-description {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.empty-state-btn {
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%) !important;
  color: white !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
}

.empty-state-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 127, 212, 0.3) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .create-church-btn {
    width: 100%;
  }
  
  .church-card-content {
    padding: 20px !important;
  }
  
  .church-icon {
    width: 40px;
    height: 40px;
  }
  
  .church-icon svg {
    font-size: 20px;
  }
  
  .church-name {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  
  .church-card-content {
    padding: 16px !important;
  }
  
  .empty-state {
    padding: 60px 20px;
  }
  
  .empty-state-icon {
    width: 60px;
    height: 60px;
  }
  
  .empty-state-icon svg {
    font-size: 30px;
  }
}
/* Modern Side-by-Side OTP Request Page Styles */
.otp-request-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left Panel - Branding and Features */
.otp-request-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.otp-request-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.otp-request-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.otp-request-branding h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.otp-request-branding p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.otp-request-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.otp-request-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.otp-request-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.otp-request-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.otp-request-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.otp-request-feature-content h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.otp-request-feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* Right Panel - OTP Request Form */
.otp-request-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.otp-request-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.otp-request-form-header {
  text-align: center;
  margin-bottom: 16px;
}

.otp-request-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.otp-request-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.otp-request-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.otp-request-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.otp-request-form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.otp-request-form-group input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.otp-request-form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.otp-request-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.otp-request-form-group input:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.otp-request-button {
  width: 100%;
  padding: 12px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
}

.otp-request-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.otp-request-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.otp-request-button:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.otp-request-options {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.otp-request-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.otp-request-link a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.otp-request-link a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .otp-request-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .otp-request-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .otp-request-branding h1 {
    font-size: 2rem;
  }
  
  .otp-request-branding p {
    font-size: 1rem;
  }
  
  .otp-request-features {
    display: none;
  }
  
  .otp-request-right-panel {
    padding: 20px 15px;
    min-height: 65vh;
  }
}

@media (max-width: 768px) {
  .otp-request-container-modern {
    height: 100vh;
  }
  
  .otp-request-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .otp-request-branding h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .otp-request-branding p {
    font-size: 0.9rem;
  }
  
  .otp-request-right-panel {
    padding: 15px 10px;
    min-height: 70vh;
  }
  
  .otp-request-form-container {
    padding: 20px;
    max-width: 100%;
  }
  
  .otp-request-form-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .otp-request-container-modern {
    height: 100vh;
  }
  
  .otp-request-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .otp-request-branding h1 {
    font-size: 1.5rem;
  }
  
  .otp-request-branding p {
    font-size: 0.8rem;
  }
  
  .otp-request-right-panel {
    padding: 10px 8px;
    min-height: 75vh;
  }
  
  .otp-request-form-container {
    padding: 16px;
  }
  
  .otp-request-form-header h2 {
    font-size: 1.6rem;
  }
  
  .form-group input {
    padding: 10px 12px;
  }
  
  .otp-request-button {
    padding: 10px;
  }
}

/* Modern Side-by-Side OTP Verification Page Styles */
.otp-verification-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left Panel - Branding and Features */
.otp-verification-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.otp-verification-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: 1;
}

.otp-verification-branding {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.otp-verification-branding h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.otp-verification-branding p {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.5;
}

.otp-verification-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    position: relative;
    max-height: 50vh;
    overflow-y: auto;
}

.otp-verification-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.otp-verification-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.otp-verification-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.otp-verification-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.otp-verification-feature-content h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.otp-verification-feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* Right Panel - OTP Verification Form */
.otp-verification-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.otp-verification-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.otp-verification-form-header {
  text-align: center;
  margin-bottom: 16px;
}

.otp-verification-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.otp-verification-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.otp-verification-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.otp-verification-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.otp-verification-form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.otp-verification-form-group input {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
  letter-spacing: 2px;
  font-family: 'Montserrat', monospace;
}

.otp-verification-form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.otp-verification-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: normal;
}

.otp-verification-form-group input:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.otp-verification-button {
  width: 100%;
  padding: 12px;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
}

.otp-verification-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.otp-verification-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.otp-verification-button:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.otp-verification-options {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.otp-verification-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.otp-verification-link a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.otp-verification-link a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .otp-verification-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .otp-verification-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .otp-verification-branding h1 {
    font-size: 2rem;
  }
  
  .otp-verification-branding p {
    font-size: 1rem;
  }
  
  .otp-verification-features {
    display: none;
  }
  
  .otp-verification-right-panel {
    padding: 20px 15px;
    min-height: 65vh;
  }
}

@media (max-width: 768px) {
  .otp-verification-container-modern {
    height: 100vh;
  }
  
  .otp-verification-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .otp-verification-branding h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .otp-verification-branding p {
    font-size: 0.9rem;
  }
  
  .otp-verification-right-panel {
    padding: 15px 10px;
    min-height: 70vh;
  }
  
  .otp-verification-form-container {
    padding: 20px;
    max-width: 100%;
  }
  
  .otp-verification-form-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .otp-verification-container-modern {
    height: 100vh;
  }
  
  .otp-verification-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .otp-verification-branding h1 {
    font-size: 1.5rem;
  }
  
  .otp-verification-branding p {
    font-size: 0.8rem;
  }
  
  .otp-verification-right-panel {
    padding: 10px 8px;
    min-height: 75vh;
  }
  
  .otp-verification-form-container {
    padding: 16px;
  }
  
  .otp-verification-form-header h2 {
    font-size: 1.6rem;
  }
  
  .form-group input {
    padding: 10px 12px;
  }
  
  .otp-verification-button {
    padding: 10px;
  }
}

/* Modern Side-by-Side Assignment Response Page Styles */
.assignment-response-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left Panel - Branding and Features */
.assignment-response-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.assignment-response-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.assignment-response-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.assignment-response-branding h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.assignment-response-branding p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.assignment-response-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.assignment-response-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.assignment-response-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.assignment-response-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.assignment-response-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.assignment-response-feature-content h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.assignment-response-feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* Right Panel - Assignment Response Form */
.assignment-response-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.assignment-response-form-container {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.assignment-response-form-header {
  text-align: center;
  margin-bottom: 24px;
}

.assignment-response-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.assignment-response-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

/* Assignment Details */
.assignment-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.assignment-detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

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

.assignment-detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.assignment-detail-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-left: 24px;
}

/* Response Form */
.assignment-response-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.assignment-response-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assignment-response-form-group label {
  font-weight: 500;
  color: white;
  font-size: 0.9rem;
}

.assignment-response-form-group textarea {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.assignment-response-form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.assignment-response-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.assignment-response-form-group textarea:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

/* Response Buttons */
.assignment-response-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.assignment-response-button {
  flex: 1 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.confirm-button {
  background: #4caf50;
  color: white;
}

.confirm-button:hover:not(:disabled) {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.decline-button {
  background: #f44336;
  color: white;
}

.decline-button:hover:not(:disabled) {
  background: #da190b;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(244, 67, 54, 0.3);
}

.assignment-response-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Response Confirmed State */
.assignment-response-confirmed {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Success and Error Icons - Following ResetPasswordPage colors */
.success-icon {
  color: #4caf50;
}

.error-icon {
  color: #ffeb3b;
}

/* Error text - Following ResetPasswordPage colors */
.error-text {
  color: #ffeb3b;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
  min-height: 16px;
  line-height: 1.2;
}

.response-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.response-status h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.response-status p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.response-notes {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.response-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-style: italic;
}

.assignment-response-options {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assignment-response-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.assignment-response-link a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.assignment-response-link a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .assignment-response-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .assignment-response-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .assignment-response-branding h1 {
    font-size: 2rem;
  }
  
  .assignment-response-branding p {
    font-size: 1rem;
  }
  
  .assignment-response-features {
    display: none;
  }
  
  .assignment-response-right-panel {
    padding: 20px 15px;
    min-height: 65vh;
  }
}

@media (max-width: 768px) {
  .assignment-response-container-modern {
    height: 100vh;
  }
  
  .assignment-response-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .assignment-response-branding h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .assignment-response-branding p {
    font-size: 0.9rem;
  }
  
  .assignment-response-right-panel {
    padding: 15px 10px;
    min-height: 70vh;
  }
  
  .assignment-response-form-container {
    padding: 20px;
    max-width: 100%;
  }
  
  .assignment-response-form-header h2 {
    font-size: 1.8rem;
  }
  
  .assignment-response-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .assignment-response-container-modern {
    height: 100vh;
  }
  
  .assignment-response-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .assignment-response-branding h1 {
    font-size: 1.5rem;
  }
  
  .assignment-response-branding p {
    font-size: 0.8rem;
  }
  
  .assignment-response-right-panel {
    padding: 10px 8px;
    min-height: 75vh;
  }
  
  .assignment-response-form-container {
    padding: 16px;
  }
  
  .assignment-response-form-header h2 {
    font-size: 1.6rem;
  }
  
  .assignment-details {
    padding: 16px;
  }
  
  .assignment-response-button {
    padding: 10px;
  }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white !important;
  }

  .hero-container {
    position: relative;
    z-index: 1;
    background: white !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }
  
  .hero-title-accent {
    background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(66, 127, 212, 0.3));
    position: relative;
  }
  
  .hero-title-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 80%, rgba(66, 127, 212, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    filter: blur(1px);
  }
  
  .hero-primary-button {
    background: linear-gradient(135deg, #427fd4 0%, #427fd4 100%) !important;
    color: white !important;
    padding: 12px 32px !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  }
  
  .hero-primary-button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
  }


  
  .hero-secondary-button {
    padding: 12px 24px !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    border-color: #427fd4 !important;
    color: #427fd4 !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
  }
  
  .hero-secondary-button:hover {
    border-color: #1e40af !important;
    background-color: rgba(66, 127, 212, 0.04) !important;
    transform: translateY(-2px) !important;
  }
 
 
  
  .hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .hero-floating-badge-1 {
    position: absolute;
    top: -16px;
    right: -16px;
    background: #fbbf24;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .hero-floating-badge-2 {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background: #427fd4;
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .hero-trust-avatars {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .hero-trust-avatar {
    width: 32px;
    height: 32px;
    background: #427fd4;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Enhanced gradient text effects */
  .hero-title-accent {
    position: relative;
    display: inline-block;
  }
  
  .hero-title-accent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.1;
    filter: blur(4px);
  }
  
  /* Smooth transitions */
  .hero-section * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
.features-section {
  background: white !important;
  position: relative;
  overflow: hidden;
}

.features-container {
  position: relative;
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid !important;
  flex-direction: row;
  flex-wrap: wrap;
  grid-gap: 16px;
  gap: 16px;
  justify-content: flex-start;
  padding-bottom: 20px;
}

.features-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
}

.features-title-accent {
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(66, 127, 212, 0.3));
}

.features-subtitle {
  color: #6b7280;
  max-width: 768px;
  margin: 0 auto !important;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-gap: 32px;
  gap: 32px;
  position: relative;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(229, 231, 235, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #427fd4 0%, #60a5fa 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(66, 127, 212, 0.2);
}

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

.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-container {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(66, 127, 212, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(66, 127, 212, 0.1);
}

.feature-card:hover .feature-icon-container {
  background: rgba(66, 127, 212, 0.15);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(66, 127, 212, 0.2);
}

.feature-icon {
  font-size: 24px;
  color: #427fd4;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  color: #1e40af;
  transform: scale(1.1);
}

.feature-text {
  flex: 1 1;
  min-width: 0;
}

.feature-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #1e40af;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
  color: #4b5563;
}

/* Responsive grid */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Background decoration */
.features-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(66, 127, 212, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Enhanced hover effects */
.feature-card:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Smooth transitions for all elements */
.feature-card * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section {
  position: relative;
  overflow: hidden;
}


.how-it-works-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.how-it-works-container {
  position: relative;
  z-index: 1;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
}

.how-it-works-title-accent {
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(66, 127, 212, 0.3));
}

.how-it-works-subtitle {
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.how-it-works-content {
  position: relative;
}

.connection-line {
  display: none;
}

.steps-grid {
  display: grid;
  grid-gap: 48px;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.step-item {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon-container {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #427fd4 0%, #60a5fa 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.step-item:hover .step-icon {
  transform: translateY(-4px);
  box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
}

.step-icon-svg {
  font-size: 32px !important;
  color: white !important;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: #fbbf24;
  color: #92400e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  margin: 0 auto;
}

.step-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.step-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}

/* Responsive grid */
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .connection-line {
    display: block;
    position: absolute;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    z-index: 0;
  }
  
  .connection-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #427fd4 0%, #60a5fa 50%, #fbbf24 100%);
    border-radius: 1px;
  }
  
  .connection-line::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    right: 0;
    height: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .connection-line::after::before {
    content: '';
    width: 16px;
    height: 16px;
    background: #427fd4;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(66, 127, 212, 0.3);
  }
  
  .connection-line::after::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
  }
}

/* Enhanced hover effects */
.step-item:hover .step-icon {
  background: linear-gradient(135deg, #1e40af 0%, #427fd4 100%);
}

.step-item:hover .step-title {
  color: #1e40af;
  transition: color 0.3s ease;
}

/* Background decoration */
.how-it-works-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(66, 127, 212, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Smooth transitions for all elements */
.step-item * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.css-1sazv7p-MuiStack-root>:not(style):not(style) {
  padding-top: 10px !important;
  margin: 0 auto !important;
}

.css-nnzfhf {
    right: 100px !important;
}
.stats-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 50%, #1e3a8a 100%);
  color: white ;
}

.stats-background-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 50%, transparent 100%);
}

.stats-blur-circle-1 {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(60px);
}

.stats-blur-circle-2 {
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(60px);
}

.stats-container {
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  margin-bottom: 64px;
  background-color: none !important;
}
.css-hhdjsd-MuiContainer-root {
   background-color: none !important; 
}


.stats-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
}

.stats-title-accent {
  color: #fbbf24;
}

.stats-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto !important;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-gap: 40px;
  gap: 40px;
  padding: 20px 0;
}

.stats-item {
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.stats-item:hover {
  transform: translateY(-6px);
}

.stats-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.stats-item:hover::before {
  width: 200px;
  height: 200px;
}

.stats-icon-container {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stats-item:hover .stats-icon-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  transform: scale(1.08);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(251, 191, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stats-icon {
  font-size: 32px;
  color: #fbbf24;
}

.stats-counter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.stats-counter {
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stats-counter-suffix {
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  color: white;
  margin-left: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stats-item:hover .stats-counter,
.stats-item:hover .stats-counter-suffix {
  color: #fbbf24;
  text-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.stats-label {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stats-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stats-item:hover .stats-label {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stats-item:hover .stats-description {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive grid */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animation for stat counters */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-counter {
  animation: countUp 0.5s ease-out;
}

/* Enhanced hover effects */
.stats-item:hover .stats-icon-container {
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

/* Glass morphism effect for icon containers */
.stats-icon-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text effect for accent */
.stats-title-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

/* Additional background elements for better blending */
.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Smooth transitions for all interactive elements */
.stats-item * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle connection lines between stats on larger screens */
@media (min-width: 1024px) {
  .stats-grid {
    position: relative;
  }
  
  .stats-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
    transform: translateY(-50%);
    z-index: 0;
  }
}

.testimonials-section {
  position: relative;
  background: #ffffff;
  background: var(--background-color, #ffffff);
}

.testimonials-container {
  position: relative;
}

.testimonial-card {
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.quote-icon-container {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  color: white;
  font-size: 16px;
}

.testimonial-content {
  padding: 24px;
  padding-top: 32px;
}

.rating-container {
  margin-bottom: 16px;
}

.rating-star {
  color: #fbbf24;
}

.css-m4y8c0-MuiRating-root {
  padding-left: 1em !important;
}

.quote-text {
  font-style: italic;
  line-height: 1.6;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 16px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.author-section {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  flex: 1 1;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.875rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .testimonial-card {
    margin-bottom: 16px;
  }
  
  .quote-text {
    min-height: auto;
    margin-bottom: 12px;
  }
  
  .testimonial-content {
    padding: 20px;
    padding-top: 28px;
  }
}


.css-hhdjsd-MuiContainer-root {
  padding-left: 10em !important;
  padding-right: 10em !important;
}
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
  color: white !important;
}

.cta-container {
  position: relative;
  z-index: 1;
}



.cta-background-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #3b82f61a 100%);
}

.cta-blur-circle-1 {
  position: absolute;
  top: -96px;
  left: -96px;
  width: 256px;
  height: 256px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-blur-circle-2 {
  position: absolute;
  bottom: -96px;
  right: -96px;
  width: 384px;
  height: 384px;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-content {
  text-align: center;
}

.cta-header {
  margin-bottom: 32px;
}

.cta-title {
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.2;
  margin-bottom: 32px;
  color: white !important;
}

.cta-title-accent {
  color: #fbbf24;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.cta-subtitle {
  max-width: 900px;
  margin: 0 auto !important;
  color: white !important;
  line-height: 1.6;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
}

.cta-buttons {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-primary-button {
  background: white !important;
  color: #427fd4 !important;
  padding: 12px 32px !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  max-width: 200px !important;
}

.cta-primary-button:hover {
  background: #f8fafc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
}

.cta-secondary-button {
  background: #427fd4 !important;
  padding: 12px 32px !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-transform: none !important;
  border-color: white !important;
  color: white !important;
  transition: all 0.3s ease !important;
  max-width: 200px !important;
}

.cta-secondary-button:hover {
  background: white !important;
  border-color: #427fd4 !important;
  color: #427fd4 !important;
  transform: translateY(-2px) !important;
}

.cta-features {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: center;
  padding-top: 32px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.cta-feature:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.cta-feature-dot {
  width: 6px;
  height: 6px;
  background: #fbbf24;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(251, 191, 36, 0.3);
}

.cta-feature-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive design */
@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
  
  .cta-features {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .cta-features {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: white !important;
  }
  
  .cta-subtitle {
    font-size: clamp(1.125rem, 4vw, 1.25rem);
  }
}

/* Background decoration */
.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Enhanced hover effects */
.cta-primary-button:hover {
  box-shadow: 0 16px 32px rgba(251, 191, 36, 0.3) !important;
}

.cta-secondary-button:hover {
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1) !important;
}

/* Smooth transitions for all elements */
.cta-section * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-preview-section {
  position: relative;
  overflow: hidden;
}

.product-preview-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.product-preview-image-wrapper {
  position: relative;
  display: block;
}

.product-preview-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.product-preview-container:hover .product-preview-image {
  transform: scale(1.02);
}

.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.product-preview-container:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.05);
}

.play-button {
  transition: all 0.3s ease !important;
  max-width: 300px;
  width: 100%;
  color: white !important;
}

.play-button:hover {
  transform: scale(1.1) !important;
}

@media (max-width: 768px) {
  .product-preview-container {
    border-radius: 16px;
  }
  
  .play-button {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }
}

/* LiveChatWidget styles */
.live-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}


/* Privacy Policy Page Styles */
.privacy-policy-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.privacy-policy-container {
  padding: 2rem 0;
}

.privacy-policy-paper {
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}

.privacy-policy-paper:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.privacy-policy-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-policy-effective-date {
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.privacy-policy-section {
  margin-bottom: 2rem;
}

.privacy-policy-section-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  position: relative;
  padding-left: 1rem;
}

.privacy-policy-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  border-radius: 2px;
}

.privacy-policy-subsection-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.privacy-policy-subsection-subtitle {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.privacy-policy-text {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.privacy-policy-text-important {
  color: #374151;
  line-height: 1.7;
  margin-top: 0.5rem;
  font-weight: 600;
  background: #fef3c7;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
}

.privacy-policy-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-policy-list-item {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  position: relative;
}

.privacy-policy-list-item::marker {
  color: #427fd4;
  font-weight: 600;
}

.privacy-policy-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
  margin: 2rem 0;
}

.privacy-policy-contact-info {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 1rem;
}

.privacy-policy-contact-info strong {
  color: #1e293b;
  font-weight: 600;
}

.privacy-policy-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.privacy-policy-footer-text {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .privacy-policy-paper {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .privacy-policy-title {
    font-size: 2rem;
  }
  
  .privacy-policy-section-title {
    font-size: 1.25rem;
  }
  
  .privacy-policy-subsection-title {
    font-size: 1.125rem;
  }
  
  .privacy-policy-subsection-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .privacy-policy-paper {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .privacy-policy-title {
    font-size: 1.75rem;
  }
  
  .privacy-policy-container {
    padding: 1rem 0;
  }
}

/* Print Styles */
@media print {
  .privacy-policy-page {
    background: white;
  }
  
  .privacy-policy-paper {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .privacy-policy-title {
    -webkit-text-fill-color: #000;
    color: #000;
  }
}

/* Terms & Conditions Page Styles */
.terms-and-conditions-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.terms-and-conditions-container {
  padding: 2rem 0;
}

.terms-and-conditions-paper {
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}

.terms-and-conditions-paper:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.terms-and-conditions-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-and-conditions-effective-date {
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.terms-and-conditions-section {
  margin-bottom: 2rem;
}

.terms-and-conditions-section-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  position: relative;
  padding-left: 1rem;
}

.terms-and-conditions-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  border-radius: 2px;
}

.terms-and-conditions-subsection-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.terms-and-conditions-subsection-subtitle {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.terms-and-conditions-text {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.terms-and-conditions-text-important {
  color: #374151;
  line-height: 1.7;
  margin-top: 0.5rem;
  font-weight: 600;
  background: #fef3c7;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
}

.terms-and-conditions-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-and-conditions-list-item {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  position: relative;
}

.terms-and-conditions-list-item::marker {
  color: #427fd4;
  font-weight: 600;
}

.terms-and-conditions-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
  margin: 2rem 0;
}

.terms-and-conditions-contact-info {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 1rem;
}

.terms-and-conditions-contact-info strong {
  color: #1e293b;
  font-weight: 600;
}

.terms-and-conditions-disclaimer {
  background: #fef3c7;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  margin-top: 1rem;
}

.terms-and-conditions-disclaimer-text {
  color: #374151;
  line-height: 1.7;
  font-weight: 600;
  margin: 0;
}

.terms-and-conditions-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.terms-and-conditions-footer-text {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .terms-and-conditions-paper {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .terms-and-conditions-title {
    font-size: 2rem;
  }
  
  .terms-and-conditions-section-title {
    font-size: 1.25rem;
  }
  
  .terms-and-conditions-subsection-title {
    font-size: 1.125rem;
  }
  
  .terms-and-conditions-subsection-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .terms-and-conditions-paper {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .terms-and-conditions-title {
    font-size: 1.75rem;
  }
  
  .terms-and-conditions-container {
    padding: 1rem 0;
  }
}

/* Print Styles */
@media print {
  .terms-and-conditions-page {
    background: white;
  }
  
  .terms-and-conditions-paper {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .terms-and-conditions-title {
    -webkit-text-fill-color: #000;
    color: #000;
  }
}

/* PricingPage.css - Modern Pricing Page Styling */

.pricing-container {
  min-height: 100vh;
}

.pricing-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: #427fd4;
}

/* Header Section */
.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  border-color: #427fd4 !important;
  color: #427fd4 !important;
}

.pricing-title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
}

.pricing-main-icon {
  font-size: 48px !important;
  color: #427fd4;
}

.pricing-title {
  color: #427fd4;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.pricing-subtitle {
  color: #6b7280;
  font-size: 18px;
  max-width: 600px;
  margin: 0;
  line-height: 1.5;
}

/* Alert Styling */
.pricing-alert {
  margin-bottom: 40px;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Horizontal Pricing Grid */
.pricing-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Compact Pricing Cards */
.pricing-card-compact {
  position: relative;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 2px solid #e5e7eb !important;
  overflow: visible !important;
  background: white !important;
  height: auto;
  min-height: 450px;
}

.pricing-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: #427fd4 !important;
}

.pricing-card-compact.popular {
  border-color: #427fd4 !important;
  box-shadow: 0 8px 24px rgba(66, 127, 212, 0.15) !important;
  transform: scale(1.02);
}

.pricing-card-compact.popular:hover {
  transform: scale(1.02) translateY(-2px);
}

.pricing-card-compact.free-plan {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, white 100%) !important;
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 24%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(66, 127, 212, 0.3);
  z-index: 1;
}

.popular-badge .MuiSvgIcon-root {
  font-size: 16px !important;
}

/* Compact Card Content */
.pricing-card-content-compact {
  padding: 20px 16px 16px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Compact Plan Header */
.plan-header-compact {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.plan-name-compact {
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.plan-price-section-compact {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.plan-price-compact {
  font-size: 28px;
  font-weight: 800;
  color: #427fd4;
  line-height: 1;
}

.plan-period-compact {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Legacy styles for backward compatibility */
.pricing-card-content {
  padding: 32px 24px 24px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.plan-name {
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.plan-price-section {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  color: #427fd4;
  line-height: 1;
}

.plan-period {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

.plan-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Features Section */
.plan-features-section {
  flex: 1 1;
  margin-bottom: 24px;
}

.plan-features-section h4 {
  color: #374151;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  padding-top: 16px;
}

.plan-features-section h4:first-child {
  padding-top: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.feature-item.included {
  color: #374151;
}

.feature-item.not-included {
  color: #9ca3af;
}

.check-icon {
  font-size: 16px !important;
  color: #10b981;
  flex-shrink: 0;
}

.feature-item.not-included .check-icon {
  color: #d1d5db;
}

.not-available {
  font-size: 11px;
  color: #ef4444;
  font-weight: 500;
  margin-left: auto;
}

/* Compact Features */
.essential-features {
  margin-bottom: 12px;
}

.feature-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.3;
}

.feature-item-compact.included {
  color: #374151;
}

.feature-item-compact.not-included {
  color: #9ca3af;
}

.check-icon-compact {
  font-size: 14px !important;
  color: #10b981;
  flex-shrink: 0;
}

.feature-item-compact.not-included .check-icon-compact {
  color: #d1d5db;
}

.storage-highlight {
  padding: 4px 1px;
  margin: 2px 0;
}

.storage-highlight .check-icon-compact {
  color: #427fd4 !important;
}

.storage-highlight span {
  color: #1e40af !important;
  font-weight: 600;
}

/* Expandable Features */
.expanded-features {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.expanded-features.expanded {
  max-height: 1000px;
}

.additional-limits {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.expandable-details {
  margin-top: 12px;
}

.show-more-section {
  text-align: center;
  margin: 8px 0;
}

.expand-button {
  color: #427fd4 !important;
  font-size: 11px !important;
  text-transform: none !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  background: none !important;
}

.expand-button:hover {
  color: #427fd4 !important;
  background: rgba(66, 127, 212, 0.05) !important;
}

.feature-section {
  margin-bottom: 12px;
}

.feature-section h5 {
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.feature-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.feature-section-header h5 {
  margin: 0;
}

.feature-list-expanded {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item-expanded {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.3;
}

.feature-item-expanded.included {
  color: #374151;
}

.feature-item-expanded.not-included {
  color: #9ca3af;
}

.check-icon-small {
  font-size: 12px !important;
  color: #10b981;
  flex-shrink: 0;
}

.feature-item-expanded.not-included .check-icon-small {
  color: #d1d5db;
}

.not-available-small {
  font-size: 10px;
  color: #ef4444;
  font-weight: 500;
  margin-left: auto;
}



/* Compact Plan Action */
.plan-action-compact {
  text-align: center;
  margin-top: auto;
}

.cta-button-compact {
  margin-bottom: 6px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 6px !important;
  height: 36px !important;
  font-size: 14px !important;
}

.cta-button-compact.primary {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(66, 127, 212, 0.3) !important;
}

.cta-button-compact.primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #427fd4 100%) !important;
  box-shadow: 0 4px 12px rgba(66, 127, 212, 0.4) !important;
}

.cta-button-compact.secondary {
  border-color: #427fd4 !important;
  color: #427fd4 !important;
}

.cta-button-compact.secondary:hover {
  background: rgba(66, 127, 212, 0.05) !important;
}

.trial-note-compact {
  color: #6b7280 !important;
  font-size: 10px !important;
  display: block;
}

/* Legacy Plan Action */
.plan-action {
  text-align: center;
}

.cta-button {
  margin-bottom: 8px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  height: 48px !important;
  font-size: 16px !important;
}

.cta-button.primary {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(66, 127, 212, 0.3) !important;
}

.cta-button.primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #427fd4 100%) !important;
  box-shadow: 0 6px 20px rgba(66, 127, 212, 0.4) !important;
}

.cta-button.secondary {
  border-color: #427fd4 !important;
  color: #427fd4 !important;
}

.cta-button.secondary:hover {
  background: rgba(66, 127, 212, 0.05) !important;
}

.trial-note {
  color: #6b7280 !important;
  font-size: 12px !important;
  display: block;
}

/* Footer Section */
.pricing-footer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-footer-alert {
  margin-bottom: 40px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.pricing-cta {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.pricingcta-title {
  color: #427fd4 !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.pricing-cta-subtitle {
  color: #427fd4 !important;
  margin-bottom: 24px !important;
}

.final-cta-button {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  height: 56px !important;
  font-size: 18px !important;
  padding: 0 32px !important;
  box-shadow: 0 4px 16px rgba(66, 127, 212, 0.3) !important;
}

.final-cta-button:hover {
  background: linear-gradient(135deg, #1e40af 0%, #427fd4 100%) !important;
  box-shadow: 0 6px 20px rgba(66, 127, 212, 0.4) !important;
  transform: translateY(-2px);
}

/* Responsive Design */

/* Large Tablet */
@media (max-width: 1200px) {
  .pricing-grid-horizontal {
    max-width: 1200px;
    gap: 12px;
  }

  .pricing-card-compact {
    min-height: 420px;
  }

  .plan-price-compact {
    font-size: 24px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .pricing-container {
    padding: 30px 16px;
  }

  .pricing-title {
    font-size: 32px;
  }

  .pricing-subtitle {
    font-size: 16px;
  }

  .pricing-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
  }

  .pricing-card-compact {
    min-height: 400px;
  }

  .plan-price-compact {
    font-size: 26px;
  }

  .plan-name-compact {
    font-size: 16px;
  }

  .back-button {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  .pricing-title-section {
    margin-top: 0;
  }

  /* Legacy styles */
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .plan-price {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pricing-container {
    padding: 20px 12px;
  }

  .pricing-title {
    font-size: 28px;
  }

  .pricing-subtitle {
    font-size: 15px;
  }

  .pricing-grid-horizontal {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }

  .pricing-card-compact {
    margin: 0 auto;
    min-height: 380px;
  }

  .pricing-card-compact.popular {
    transform: none;
  }

  .pricing-card-compact.popular:hover {
    transform: translateY(-2px);
  }

  .pricing-card-content-compact {
    padding: 18px 16px 16px !important;
  }

  .plan-price-compact {
    font-size: 24px;
  }

  .plan-name-compact {
    font-size: 16px;
  }

  .feature-item-compact {
    font-size: 12px;
  }

  .cta-button-compact {
    height: 40px !important;
    font-size: 13px !important;
  }

  .pricing-cta {
    padding: 32px 24px;
  }

  .final-cta-button {
    height: 48px !important;
    font-size: 16px !important;
  }

  /* Legacy mobile styles */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    margin: 0 auto;
    max-width: 400px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .pricing-card-content {
    padding: 24px 20px 20px !important;
  }

  .plan-price {
    font-size: 32px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pricing-container {
    padding: 16px 8px;
  }

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

  .pricing-subtitle {
    font-size: 14px;
  }

  .pricing-main-icon {
    font-size: 40px !important;
  }

  .pricing-card-compact {
    min-height: 360px;
  }

  .pricing-card-content-compact {
    padding: 16px 14px 14px !important;
  }

  .plan-name-compact {
    font-size: 15px;
  }

  .plan-price-compact {
    font-size: 22px;
  }

  .feature-item-compact {
    font-size: 11px;
    gap: 4px;
  }

  .check-icon-compact {
    font-size: 12px !important;
  }



  .cta-button-compact {
    height: 38px !important;
    font-size: 12px !important;
  }

  .trial-note-compact {
    font-size: 9px !important;
  }

  .pricing-cta {
    padding: 24px 16px;
  }

  .cta-title {
    font-size: 20px !important;
  }

  /* Legacy small mobile styles */
  .pricing-card-content {
    padding: 20px 16px 16px !important;
  }

  .plan-name {
    font-size: 20px;
  }

  .plan-price {
    font-size: 28px;
  }

  .feature-item {
    font-size: 13px;
  }
}

/* Testimonies Page Styles */

.testimonies-container {
  min-height: 100vh;
}
.testimonies-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonies-title-section {
  max-width: 800px;
  margin: 0 auto;
}

.testimonies-main-icon {
  font-size: 3rem !important;
  color: #427fd4 !important;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.testimonies-title {
  color: #427fd4;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.testimonies-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.public-media-page {
  min-height: 100vh;
}

/* Media Page Header Styles */
.media-header {
  text-align: center;
  margin-bottom: 3rem;
}

.media-title-section {
  max-width: 800px;
  margin: 0 auto;
}

.media-main-icon {
  font-size: 3rem !important;
  color: #427fd4 !important;
  margin-bottom: 1rem;
  display: block;
}

.media-title {
  color: #427fd4;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.media-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.public-media-page .MuiCard-root {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.public-media-page .MuiCard-root:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.public-media-page .MuiCardMedia-root {
  background: linear-gradient(45deg, #f0f2f5 0%, #e3e6ea 100%);
}

.public-media-page .MuiChip-root {
  font-weight: 500;
}

.public-media-page .MuiButton-root {
  text-transform: none;
  font-weight: 600;
}

.public-media-page .MuiTextField-root .MuiOutlinedInput-root {
  border-radius: 12px;
}

.public-media-page .MuiFormControl-root .MuiOutlinedInput-root {
  border-radius: 8px;
}

.public-media-page .MuiPaper-root {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.public-media-page .MuiDialog-paper {
  border-radius: 20px;
}

.public-media-page .MuiPagination-root .MuiPaginationItem-root {
  border-radius: 8px;
}

@media (max-width: 600px) {
  .public-media-page .MuiContainer-root {
    padding: 16px;
  }
  
  .public-media-page .MuiTypography-h3 {
    font-size: 1.75rem;
  }
  
  .public-media-page .MuiTypography-h6 {
    font-size: 1rem;
  }
}

/* Blog Page Styles */
.blog-page {
  min-height: 100vh;
  background-color: #ffffff;
}

/* Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.blog-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Categories */
.blog-categories {
  background-color: #f8fafc;
  padding: 2rem 0;
}

.category-chip {
  margin: 0.25rem;
  transition: all 0.2s ease;
}

.category-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Blog Posts Grid */
.blog-posts {
  padding: 3rem 0;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  background-color: #427fd4;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.blog-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  color: #6b7280;
  background-color: white;
}

.blog-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  background-color: #427fd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.blog-author-info {
  flex: 1 1;
}

.blog-author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.blog-author-role {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-read-more {
  margin-top: auto;
  text-transform: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #427fd4;
  color: white;
  font-size: 0.875rem;
  box-shadow: 0 2px 4px rgba(66, 127, 212, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.blog-read-more:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(66, 127, 212, 0.3);
  color: white;
}

.blog-read-more:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(66, 127, 212, 0.2);
}

/* Newsletter Section */
.blog-newsletter {
  background-color: #f8fafc;
  padding: 4rem 0;
  text-align: center;
}

.blog-newsletter h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.blog-newsletter p {
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-input {
  flex: 1 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: #427fd4;
  box-shadow: 0 0 0 3px rgba(66, 127, 212, 0.1);
}

.newsletter-button {
  padding: 12px 24px;
  background-color: #427fd4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-button:hover {
  background-color: #1e40af;
}

/* Modal Styles */
.blog-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.blog-modal-content {
  background-color: white;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-modal-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background-color: white;
  padding: 32px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.blog-modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.blog-modal-title-container {
  background: linear-gradient(135deg, #427fd4 0%, #1e40af 100%);
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.blog-modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: white;
  line-height: 1.3;
}

.blog-modal-content-container {
  background-color: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.blog-modal-content-text {
  line-height: 1.8;
  color: #111827;
  white-space: pre-line;
  font-size: 1.1rem;
  margin: 0;
}

.blog-modal-content-text p {
  margin-bottom: 1.5rem;
}

.blog-modal-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-hero p {
    font-size: 1.125rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .blog-card-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 3rem 0;
  }
  
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-newsletter h2 {
    font-size: 1.875rem;
  }
  
  .blog-categories {
    padding: 1.5rem 0;
  }
  
  .blog-posts {
    padding: 2rem 0;
  }
  
  .blog-modal-content {
    margin: 8px;
    max-height: calc(100vh - 16px);
  }
  
  .blog-modal-header {
    padding: 16px;
  }
  
  .blog-modal-title {
    font-size: 1.5rem;
  }
  
  .blog-modal-title-container {
    padding: 16px;
  }
  
  .blog-modal-actions {
    flex-direction: column;
  }
}

.documentation-container {
  max-width: 1400px;
  margin: 0 auto;
}

.documentation-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

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

.documentation-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.documentation-content ul,
.documentation-content ol {
  margin-bottom: 1.5rem;
}

.documentation-content li {
  margin-bottom: 0.5rem;
}


/* Dashboard Root Layout */


.dashboard-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* Cards Row */
.dashboard-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
}

.dashboard-card {
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid #e3eafc;
  padding: 0;
  margin: 0;
  animation: fadeInUp 0.6s;
}

.dashboard-card:hover {
  background: #e3eafc;
  transform: translateY(-4px) scale(1.01);
}

.dashboard-card-content {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 24px;
}

.dashboard-card-icon {
  font-size: 40px !important;
  color: #427fd4;
}

.dashboard-card-label {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.dashboard-card-value {
  font-size: 2.1rem;
  font-weight: 700;
  color: #427fd4;
}

/* Lists Row */
.dashboard-lists-row {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  width: 100%;
  flex-wrap: wrap;
}

.dashboard-list-col {
  flex: 1 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
}

.dashboard-list-card {
  background: #fff;
  border: 1.5px solid #e3eafc;
  padding: 0 0 16px 0;
  margin-bottom: 0;
  animation: fadeInUp 0.7s;
}

.dashboard-list-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #427fd4;
  padding: 24px 24px 0 24px;
  margin-bottom: 8px;
}

.dashboard-list-btn {
  margin-top: 16px !important;
  float: right;
  margin-right: 24px !important;
  font-weight: 600;
  text-transform: none;
  max-width: -webkit-fit-content;
  max-width: fit-content;
}

.dashboard-list-item-btn {
  border-radius: 0 !important;
  padding: 12px 24px !important;
  transition: background 0.2s;
}

.dashboard-list-item-btn:hover {
  background: #e3eafc !important;
}

.dashboard-list-avatar {
  background: #427fd4 !important;
  color: #fff !important;
}

.dashboard-list-item-btn .MuiListItemText-primary {
  color: #1f2937 !important;
  font-weight: 500;
}

.dashboard-list-item-btn .MuiListItemText-secondary {
  color: #6b7280 !important;
}

.dashboard-list-card .MuiListItemText-primary {
  color: #1f2937 !important;
  font-weight: 500;
}

.dashboard-list-card .MuiListItemText-secondary {
  color: #6b7280 !important;
}

.dashboard-list-card .MuiListItemText-root {
  color: #1f2937 !important;
}

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

/* Tablet Responsive */
@media (max-width: 1024px) {
  .dashboard-container {
    padding: 16px;
  }
  
  .dashboard-title {
    font-size: 22px;
  }
  
  .dashboard-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .dashboard-lists-row {
    flex-direction: column;
    gap: 18px;
  }
  
  .dashboard-list-col, .dashboard-card {
    min-width: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* .dashboard-container {
    padding: 12px;
  } */
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .dashboard-title {
    font-size: 20px;
  }
  
  .dashboard-subtitle {
    font-size: 0.9rem;
  }
  
  .dashboard-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .dashboard-card-content {
    padding: 20px 12px;
  }
  
  .dashboard-list-title {
    padding: 16px 12px 0 12px;
  }
  
  .dashboard-list-btn {
    margin-right: 12px !important;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .dashboard-container {
    padding: 8px;
  }
  
  .dashboard-title {
    font-size: 18px;
  }
  
  .dashboard-subtitle {
    font-size: 0.85rem;
  }
  
  .dashboard-card-content {
    padding: 12px 6px;
  }
  
  .dashboard-list-title {
    padding: 10px 6px 0 6px;
  }
  
  .dashboard-loading {
    padding: 30px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .dashboard-container {
    padding: 6px;
  }
  
  .dashboard-title {
    font-size: 16px;
  }
  
  .dashboard-subtitle {
    font-size: 0.8rem;
  }
  
  .dashboard-card-content {
    padding: 10px 4px;
  }
  
  .dashboard-list-title {
    padding: 8px 4px 0 4px;
  }
} 
/* DepartmentMemberPage.css */
.department-table-container {
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  margin-bottom: 32px;
  overflow-x: auto;
  width: 100%;
  border-radius: 0;
}

.members-table {
  min-width: 700px;
  width: 100% !important;
  border-collapse: collapse;
  background: white;
}

.members-table th,
.members-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.members-table th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #2c3e50;
}

.members-table tr:hover {
  background-color: #f8f9fa;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .department-table-container {
    margin-bottom: 28px;
    border-radius: 0;
  }
  
  .members-table th,
  .members-table td {
    padding: 12px 14px;
  }
}

/* Large Mobile Responsive */
@media (max-width: 900px) {
  .department-table-container {
    padding: 0;
    border-radius: 0;
  }
  
  .members-table {
    min-width: 500px;
  }
  
  .members-table th,
  .members-table td {
    padding: 10px 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .department-table-container {
    margin-bottom: 24px;
    border-radius: 0;
  }
  
  .members-table {
    min-width: 450px;
    font-size: 0.9em;
  }
  
  .members-table th,
  .members-table td {
    padding: 8px 10px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 600px) {
  .department-table-container {
    border: none;
    margin: 0 -4px 24px -4px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  
  .members-table {
    min-width: 400px;
    font-size: 0.85em;
  }
  
  .members-table th,
  .members-table td {
    padding: 6px 8px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 480px) {
  .department-table-container {
    margin: 0 -2px 20px -2px;
  }
  
  .members-table {
    min-width: 350px;
    font-size: 0.8em;
  }
  
  .members-table th,
  .members-table td {
    padding: 4px 6px;
  }
}

/* Extra Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .department-table-container {
    margin: 0 -1px 16px -1px;
  }
  
  .members-table {
    min-width: 300px;
    font-size: 0.75em;
  }
  
  .members-table th,
  .members-table td {
    padding: 3px 4px;
  }
}
/* Loading and No Results */
.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}


/* Table Container */
.table-container {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

.house-fellowship-table {
  width: 100%;
}

.house-fellowship-table .MuiTableHead-root {
  background: #f8f9fa;
}

.house-fellowship-table .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding: 16px;
}

.house-fellowship-table .MuiTableBody-root .MuiTableCell-root {
  padding: 16px;
  border-bottom: 1px solid #f1f3f4;
}

.house-fellowship-table .MuiTableRow-root:hover {
  background: #f8f9fa;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0 !important;
}
.MuiFormControlLabel-root {
  padding-right: 10px !important;
}

/* Fellowship Name Styling */
.fellowship-name {
  font-weight: 600;
  color: #1976d2;
}

/* Attendance Progress */
.attendance-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attendance-bar {
  flex: 1 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 0;
  overflow: hidden;
}

.attendance-fill {
  height: 100%;
  border-radius: 0;
  transition: width 0.3s ease;
}

.attendance-fill.high {
  background: #4caf50;
}

.attendance-fill.medium {
  background: #ff9800;
}

.attendance-fill.low {
  background: #f44336;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .house-fellowship-page {
    padding: 16px;
  }
  
  .page-header {
    padding: 20px;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input {
    max-width: none;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root,
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root {
    padding: 12px 8px;
    font-size: 0.875rem;
  }
  
  /* Hide less important columns on mobile */
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(3),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(3) {
    display: none;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(5),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(5) {
    display: none;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(6),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(6) {
    display: none;
  }
}

@media (max-width: 480px) {
  .house-fellowship-page {
    padding: 12px;
  }
  
  .page-header {
    padding: 16px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root,
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root {
    padding: 8px 4px;
    font-size: 0.8rem;
  }
  
  /* Hide more columns on small mobile */
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(4),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(4) {
    display: none;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(6),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(6) {
    display: none;
  }
  
  .house-fellowship-table .MuiTableHead-root .MuiTableCell-root:nth-child(8),
  .house-fellowship-table .MuiTableBody-root .MuiTableCell-root:nth-child(8) {
    display: none;
  }
}

/* Simple Dialog Styles */
.MuiDialog-paper {
  border-radius: 0 !important;
}

.MuiDialogTitle-root {
  background: linear-gradient(135deg, #427fd4 0%, #2c5aa0 100%);
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  color: white;
}

.MuiDialogContent-root {
  padding: 24px !important;
}

.MuiDialogActions-root {
  padding: 16px 24px !important;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Form Field Styles */
.MuiTextField-root .MuiOutlinedInput-root {
  border-radius: 0;
}

.MuiSelect-root .MuiOutlinedInput-root {
  border-radius: 0;
}

/* Chip Styles */
.MuiChip-root {
  border-radius: 0;
  font-weight: 500;
}

/* Status Colors */
.status-active {
  color: #4caf50;
}

.status-inactive {
  color: #9e9e9e;
}

.status-suspended {
  color: #f44336;
}

/* Table Scroll for Mobile */
@media (max-width: 768px) {
  .table-container {
    overflow-x: auto;
  }
  
  .house-fellowship-table {
    min-width: 700px;
    overflow-x: auto;
    position: relative;
  }
  /* Removed: .house-fellowship-table::after (scroll hint) */
  /* Removed: all nth-child display:none rules for columns */
}

/* Member List Styles */
.member-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 8px;
}

.member-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 0;
  margin-bottom: 4px;
}

.member-list-item:hover {
  background: #f5f5f5;
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1976d2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.member-info {
  flex: 1 1;
}

.member-name {
  font-weight: 500;
  color: #333;
}

.member-phone {
  font-size: 0.75rem;
  color: #666;
} 

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.header-actions .MuiButton-root {
  min-width: 120px;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .header-actions .MuiButton-root {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .header-actions .MuiButton-root {
    font-size: 0.6rem;
    padding: 5px 5px;
  }
} 
/* HouseFellowshipDetailsPage.css */


.fellowship-header {
  background: #427fd4;
  padding: 20px;
  margin-bottom: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.fellowship-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fellowship-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.fellowship-header-info {
  flex: 1 1;
}

.fellowship-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fellowship-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  font-weight: 300;
}

.fellowship-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.fellowship-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 32px;
  gap: 32px;
  margin-bottom: 32px;
}

.fellowship-info-card {
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fellowship-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card-header {
  background: #427fd4;
  padding: 24px;
  border-bottom: 1px solid #e1e8ed;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
}

.card-content {
  padding: 32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 4px;
}

.info-value {
  font-size: 1rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  min-height: 24px;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-chip.online {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.regions-sidebar {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: -webkit-fit-content;
  height: fit-content;
}

.regions-header {
  background: #427fd4;
  padding: 16px;
  border-bottom: 1px solid #e1e8ed;
}

.regions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
}

.regions-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.regions-content {
  padding: 24px;
}

.regions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.region-item {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.region-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.region-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.region-description {
  font-size: 0.875rem;
  color: #6b7280;
}

.no-regions {
  text-align: center;
  padding: 32px 16px;
  color: #6b7280;
}

.head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.head-name {
  font-weight: 600;
  color: #1f2937;
}

.head-username {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Members Section */
.members-section {
  margin-top: 32px;
}

.members-card {
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.members-card:hover {
  transform: translateY(-4px);
}

.table-container {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  border-radius: 0;
}

.table-container table {
  min-width: 600px;
}

.no-members {
  text-align: center;
  padding: 48px 24px;
  color: #6b7280;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  flex-direction: column;
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Fellowship Actions */
.fellowship-actions-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-button {
  padding: 8px 16px;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-button.assign {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.action-button.assign:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.action-button.remove {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.action-button.remove:hover:not(:disabled) {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Head Management Sidebar */
.head-management-sidebar {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: -webkit-fit-content;
  height: fit-content;
}

.head-management-header {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  padding: 16px;
  border-bottom: 1px solid #e1e8ed;
}

.head-management-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
}

.head-management-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.head-management-content {
  padding: 24px;
}

.head-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 16px;
  transition: all 0.3s ease;
}

.head-info-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.head-info-header {
  margin-bottom: 12px;
}

.head-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.head-info-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.head-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.head-full-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
}

.head-username {
  font-size: 0.875rem;
  color: #6b7280;
}

.head-phone {
  font-size: 0.875rem;
  color: #6b7280;
}

.no-head-card {
  text-align: center;
  padding: 32px 16px;
  color: #6b7280;
}

.no-head-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.no-head-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.head-action-button {
  padding: 10px 16px;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.head-action-button.assign {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.head-action-button.assign:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.head-action-button.remove {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.head-action-button.remove:hover:not(:disabled) {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.head-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Right Sidebar Container */
.right-sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 350px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .fellowship-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .right-sidebar-container {
    width: 100%;
    order: -1;
  }
}

@media (max-width: 1024px) {
  .house-fellowship-details-page {
    padding: 16px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .house-fellowship-details-page {
    padding: 12px;
  }
  
  .fellowship-header {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .fellowship-header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .fellowship-title {
    font-size: 2rem;
  }
  
  .fellowship-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .card-content {
    padding: 24px;
  }
  
  .info-grid {
    gap: 16px;
  }
  
  .info-item {
    gap: 6px;
  }
  
  .regions-content {
    padding: 20px;
  }
  
  .region-item {
    padding: 12px;
  }
  
  .table-container {
    min-width: 100%;
  }
  
  .table-container table {
    min-width: 500px;
  }
}

@media (max-width: 480px) {
  .house-fellowship-details-page {
    padding: 8px;
  }
  
  .fellowship-header {
    padding: 20px;
  }
  
  .fellowship-title {
    font-size: 1.75rem;
  }
  
  .header-button {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .regions-content {
    padding: 16px;
  }
  
  .info-value {
    font-size: 0.9rem;
  }
  
  .table-container table {
    min-width: 400px;
  }
}

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

.fellowship-content {
  animation: fadeInUp 0.6s ease-out;
}

.info-item {
  animation: fadeInUp 0.6s ease-out;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }
.info-item:nth-child(6) { animation-delay: 0.6s; }
.info-item:nth-child(7) { animation-delay: 0.7s; }
.info-item:nth-child(8) { animation-delay: 0.8s; } 

/* Assign Member Dialog Styles */
.assign-member-dialog .MuiDialog-paper {
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.assign-member-dialog .MuiAutocomplete-root {
  margin-bottom: 16px;
}

.assign-member-dialog .MuiAutocomplete-input {
  padding: 12px 16px;
  font-size: 16px;
}

.assign-member-dialog .MuiAutocomplete-listbox {
  max-height: 200px;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.assign-member-dialog .MuiAutocomplete-option {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.assign-member-dialog .MuiAutocomplete-option:hover {
  background-color: #f8fafc;
}

.assign-member-dialog .MuiAutocomplete-option[aria-selected="true"] {
  background-color: #e3f2fd;
}

.assign-member-dialog .member-option {
  padding: 8px 0;
}

.assign-member-dialog .member-option-name {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.assign-member-dialog .member-option-details {
  font-size: 0.875rem;
  color: #666;
}

.assign-member-dialog .MuiButton-root {
  border-radius: 0;
  text-transform: none;
  font-weight: 600;
  padding: 10px 24px;
}

.assign-member-dialog .MuiDialogActions-root {
  padding: 16px 24px 24px;
} 
.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions .MuiButton-root {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-actions .MuiButton-root:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-section {
  margin-bottom: 32px;
  background: white;
  padding: 24px;
}

.search-form {
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-input {
  flex: 1 1;
}

.search-button {
  background: linear-gradient(135deg, #427fd4 0%, #2c5aa0 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-button:hover {
  transform: translateY(-2px);
}

.regions-table {
  margin-bottom: 32px;
  border-radius: 0;
  overflow: hidden;
  background: white;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

.regions-table .MuiTableHead-root .MuiTableCell-root {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.regions-table .MuiTableBody-root .MuiTableRow-root:hover {
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.05) 0%, rgba(44, 90, 160, 0.05) 100%);
  transform: scale(1.01);
  transition: all 0.2s ease;
}

.regions-table .MuiTableBody-root .MuiTableCell-root {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}


.pagination-section .MuiPagination-root .MuiPaginationItem-root {
  color: #427fd4;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.pagination-section .MuiPagination-root .MuiPaginationItem-root:hover {
  background: rgba(66, 127, 212, 0.1);
  transform: translateY(-2px);
}

.pagination-section .MuiPagination-root .Mui-selected {
  background: linear-gradient(135deg, #427fd4 0%, #2c5aa0 100%);
  color: white;
  border-color: #427fd4;
}

/* No Results Styling */
.no-results {
  background: white;
  padding: 48px 24px;
  text-align: center;
  margin: 24px 0;
}

.no-results .MuiTypography-root {
  color: #666;
  font-size: 1.1rem;
}

/* Loading Styling */
.loading-indicator {
  background: white;
  padding: 48px 24px;
  text-align: center;
  margin: 24px 0;
}

.loading-indicator .MuiCircularProgress-root {
  color: #427fd4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .regions-page {
    padding: 16px;
  }

  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .header-actions {
    justify-content: stretch;
  }

  .header-actions .MuiButton-root {
    flex: 1 1;
    min-width: 0;
  }

  .regions-table {
    overflow-x: auto;
  }

  .regions-table .MuiTable-root {
    min-width: 600px;
  }

  .action-buttons {
    flex-direction: row;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .regions-page {
    padding: 12px;
  }

  .page-subtitle {
    font-size: 0.875rem;
  }

  .header-actions {
    flex-direction: column;
  }

  .header-actions .MuiButton-root {
    width: 100%;
  }

  .regions-table .MuiTable-root {
    min-width: 500px;
  }

  .action-buttons {
    gap: 12px;
  }
}

/* Dialog Customization */
.MuiDialog-paper {
  border-radius: 0;
  overflow: hidden;
}

.MuiDialogTitle-root {
  background: linear-gradient(135deg, #427fd4 0%, #2c5aa0 100%);
  color: white;
  padding: 24px 24px 16px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.MuiDialogContent-root {
  padding: 24px;
}

.MuiDialogActions-root {
  padding: 16px 24px;
  border-top: 1px solid #e0e0e0;
}

/* Nominatim Search Results */
.nominatim-results {
  max-height: 400px;
  overflow-y: auto;
}

.nominatim-result-item {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.nominatim-result-item:hover {
  border-color: #1976d2;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
}

/* Loading States */
.loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* Status Chips */
.MuiChip-root.MuiChip-colorSuccess {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.MuiChip-root.MuiChip-colorDefault {
  background-color: #f5f5f5;
  color: #666;
} 

/* --- Enhanced Mobile Responsiveness --- */
@media (max-width: 768px) {
  
  .search-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .search-form .search-button {
    width: 100%;
  }
  .regions-table {
    overflow-x: auto;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 16px;
    position: relative;
  }
  .regions-table::after {
    content: '← Scroll →';
    position: absolute;
    right: 8px;
    top: 4px;
    font-size: 0.75rem;
    color: #aaa;
    pointer-events: none;
    background: #fff8;
    padding: 0 4px;
    border-radius: 0;
    z-index: 2;
  }
  .pagination-section {
    margin-top: 12px;
    padding-bottom: 8px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .MuiDialogContent-root {
    padding: 16px !important;
  }

  /* Improve touch targets on mobile */
  .MuiButton-root {
    min-height: 44px;
    font-size: 1rem;
  }

  .MuiTextField-root {
    margin-bottom: 16px;
  }

  /* Better spacing for mobile */
  .search-section {
    padding: 16px;
  }

  .pagination-section {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .regions-table .MuiTable-root {
    min-width: 350px;
  }
  .MuiDialogContent-root {
    padding: 6px !important;
  }
  .page-subtitle {
    font-size: 0.8rem;
  }
} 

/* MemberPage.css */
.add-member-button {
  padding: 6px 12px !important;
  font-size: 0.875rem;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1 1;
}

.search-button {
  width: 120px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  color: #000000;
}

.members-table th,
.members-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.members-table th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #2c3e50;
}

.members-table tr:hover {
  background-color: #f8f9fa;
}

.members-table td:last-child {
  white-space: nowrap;
}

.error-message {
  color: #e74c3c;
  background: #fde8e8;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.loading-indicator {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
}

.view-button {
  margin-top: 1rem;
  width: 100%;
}

.minor-badge {
  font-size: 0.8em;
  color: #666;
  margin-left: 0.5em;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-info {
  margin: 0 25px;
  font-size: 14px;
  color: #7f8c8d;
}


/* Member status bar styling */
.member-status-bar {
  width: 100%;
}

.member-status-bar .MuiTabs-flexContainer {
  justify-content: space-between;
}

.member-status-bar .MuiButtonBase-root-MuiTab-root {
  flex: 1 1;
  max-width: none !important;
  min-width: 0;
  padding: 12px 16px;
  font-weight: 500;
}

.member-status-bar .MuiTabs-indicator {
  height: 3px;
  border-radius: 2px;
}



/* Tablet Responsive */
@media (max-width: 1024px) {
  .member-page {
    padding: 16px;
  }
  
  .page-title {
    font-size: 22px;
  }
  
  .member-status-bar .MuiButtonBase-root-MuiTab-root {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .members-table th,
  .members-table td {
    padding: 10px 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .member-page {
    padding: 12px;
  }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .page-title {
    font-size: 20px;
  }
  
  .member-status-bar .MuiButtonBase-root-MuiTab-root {
    padding: 8px 6px;
    font-size: 13px;
    min-width: 0;
  }
  
  .add-member-button {
    width: 100%;
    padding: 8px 16px !important;
  }
  
  .search-form {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .search-button {
    width: 100%;
  }
  
  .table-container {
    margin-bottom: 16px;
    border-radius: 0;
  }
  
  .members-table {
    font-size: 14px;
  }
  
  .members-table th,
  .members-table td {
    padding: 8px 10px;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .page-info {
    margin: 0 15px;
    font-size: 13px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .member-page {
    padding: 8px;
  }
  
  .page-title {
    font-size: 18px;
  }
  
  .member-status-bar .MuiButtonBase-root-MuiTab-root {
    padding: 6px 4px;
    font-size: 12px;
    min-width: 0;
  }
  
  .search-form {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .table-container {
    margin-bottom: 12px;
    border-radius: 0;
  }
  
  .members-table {
    font-size: 13px;
  }
  
  .members-table th,
  .members-table td {
    padding: 6px 8px;
  }
  
  .members-table th {
    font-size: 12px;
  }
  
  .pagination-controls {
    gap: 6px;
  }
  
  .page-info {
    margin: 0 10px;
    font-size: 12px;
  }
  
  .loading-indicator {
    padding: 30px;
  }
  
  .no-results {
    padding: 16px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .member-page {
    padding: 6px;
  }
  
  .page-title {
    font-size: 16px;
  }
  
  .member-status-bar .MuiButtonBase-root-MuiTab-root {
    padding: 4px 2px;
    font-size: 11px;
    min-width: 0;
  }
  
  .members-table {
    font-size: 12px;
  }
  
  .members-table th,
  .members-table td {
    padding: 4px 6px;
  }
  
  .members-table th {
    font-size: 11px;
  }
  
  .pagination-controls {
    gap: 4px;
  }
  
  .page-info {
    margin: 0 8px;
    font-size: 11px;
  }
}


/* Modern Header with Gradient */
.member-header {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  color: white;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.member-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.member-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.member-header-info {
  flex: 1 1;
}

.member-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-code {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.member-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.member-header-actions {
  display: grid;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.2rem !important;
}

.header-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content Layout */
.member-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 32px;
  gap: 32px;
  margin-bottom: 32px;
}

/* Card Styling */
.member-section {
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}

.member-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.section-header {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-actions {
  display: flex;
  gap: 8px;
}

.section-content {
  padding: 15px;
}

/* Info Grid Layout */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

/* Address Info Grid - One per row */
.address-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.address-info-grid .info-item {
  min-height: auto;
  padding: 8px 12px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 4px;
}

.info-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 500;
  min-height: 24px;
  display: flex;
  align-items: center;
}

/* Status-specific styling */
.status-active {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.status-relocated {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.status-inactive {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

/* Edit Form Styling */
.edit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
}

/* Positions and Departments */
.positions-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.position-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #e6f3ff 0%, #f0f9ff 100%);
  color: #427fd4;
  padding: 12px 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 200px;
  width: 100%;
  gap: 12px;
}

.position-item span {
  flex: 1 1;
  font-weight: 600;
  min-width: 0;
}

.position-item button {
  margin-left: auto;
  flex-shrink: 0;
  min-width: -webkit-fill-available;
  padding: 4px 12px;
  font-size: 0.75rem;
}

.position-item:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 127, 212, 0.15);
}

.departments-table {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.departments-table table {
  width: 100%;
  border-collapse: collapse;
}

.departments-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e2e8f0;
}

.departments-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1f2937;
  background: white;
}

.departments-table tr:hover {
  background: #f8fafc;
}

.departments-table tr:hover td {
  color: #1f2937;
  background: #f8fafc;
}

/* Attendance History */
.attendance-table {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.attendance-table table {
  width: 100%;
  border-collapse: collapse;
}

.attendance-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e2e8f0;
}

.attendance-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.attendance-table tr:hover {
  background: #f8fafc;
}

/* Loading and Empty States */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  flex-direction: column;
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.no-items {
  text-align: center;
  padding: 48px 24px;
  color: #6b7280;
  font-style: italic;
}

.loading-indicator {
  text-align: center;
  padding: 32px;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .member-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .member-details-container {
    padding: 20px;
  }
  
  .member-header {
    padding: 28px;
    margin-bottom: 28px;
  }
  
  .member-name {
    font-size: 2.2rem;
  }
  
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .member-section {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .member-details-container {
    padding: 16px;
  }
  
  .member-header {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .member-header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .member-name {
    font-size: 2rem;
  }
  
  .member-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .section-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .position-item {
    min-width: 100%;
  }
  
  .departments-table,
  .attendance-table {
    font-size: 0.9rem;
  }
  
  .departments-table th,
  .departments-table td,
  .attendance-table th,
  .attendance-table td {
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .member-details-container {
    padding: 12px;
  }
  
  .member-header {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .member-name {
    font-size: 1.75rem;
  }
  
  .member-code {
    font-size: 0.9rem;
  }
  
  .member-header-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .header-button {
    width: 100%;
    justify-content: center;
  }
  
  .member-section {
    margin-bottom: 16px;
  }
  
  .section-content {
    padding: 16px;
  }
  
  .info-item {
    padding: 12px;
  }
  
  .info-label {
    font-size: 0.7rem;
  }
  
  .info-value {
    font-size: 0.9rem;
  }
  
  .position-item {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .no-items {
    padding: 32px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .member-details-container {
    padding: 8px;
  }
  
  .member-header {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .member-name {
    font-size: 1.5rem;
  }
  
  .member-code {
    font-size: 0.85rem;
  }
  
  .member-section {
    margin-bottom: 12px;
  }
  
  .section-content {
    padding: 12px;
  }
  
  .info-item {
    padding: 10px;
  }
  
  .info-label {
    font-size: 0.65rem;
  }
  
  .info-value {
    font-size: 0.85rem;
  }
  
  .position-item {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  
  .no-items {
    padding: 24px 12px;
    font-size: 0.85rem;
  }
}

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

.member-content {
  animation: fadeInUp 0.6s ease-out;
}

.member-section {
  animation: fadeInUp 0.6s ease-out;
}

.member-section:nth-child(1) { animation-delay: 0.1s; }
.member-section:nth-child(2) { animation-delay: 0.2s; }
.member-section:nth-child(3) { animation-delay: 0.3s; }
.member-section:nth-child(4) { animation-delay: 0.4s; }
.member-section:nth-child(5) { animation-delay: 0.5s; }
.member-section:nth-child(6) { animation-delay: 0.6s; }

/* Dialog Styling */
.member-dialog .MuiDialog-paper {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.member-dialog .MuiDialogTitle-root {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  color: white;
  font-weight: 600;
  padding: 24px 24px 16px 24px;
  border-radius: 12px 12px 0 0;
}

.member-dialog .MuiDialogContent-root {
  padding: 24px;
  background: #fafbfc;
}

.member-dialog .MuiDialogActions-root {
  padding: 16px 24px 24px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
}

.member-dialog .MuiButton-root {
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.member-dialog .MuiButton-outlined {
  border-color: #d1d5db;
  color: #6b7280;
}

.member-dialog .MuiButton-outlined:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.member-dialog .MuiButton-contained {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  box-shadow: 0 4px 12px rgba(66, 127, 212, 0.3);
}

.member-dialog .MuiButton-contained:hover {
  background: linear-gradient(135deg, #3b6bb8 0%, #4f7fd8 100%);
  box-shadow: 0 6px 16px rgba(66, 127, 212, 0.4);
  transform: translateY(-1px);
}
/* MemberFollowUpPage.css */

/* Followup tabs styling */
.followup-tabs {
  width: 100%;
}

.followup-tabs .MuiTabs-flexContainer {
  justify-content: flex-start;
}

.followup-tabs .MuiButtonBase-root-MuiTab-root {
  flex: 1 1;
  max-width: none !important;
  min-width: 0;
  padding: 12px 16px;
  font-weight: 500;
}

.followup-tabs .MuiTabs-indicator {
  height: 3px;
  border-radius: 2px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 8px 6px;
    font-size: 13px;
    min-width: 0;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 6px 4px;
    font-size: 12px;
    min-width: 0;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 4px 2px;
    font-size: 11px;
    min-width: 0;
  }
}

/* VisitorFollowUpPage.css */

/* Followup tabs styling */
.followup-tabs {
  width: 100%;
}

.followup-tabs .MuiTabs-flexContainer {
  justify-content: flex-start;
}

.followup-tabs .MuiButtonBase-root-MuiTab-root {
  flex: 1 1;
  max-width: none !important;
  min-width: 0;
  padding: 12px 16px;
  font-weight: 500;
}

.followup-tabs .MuiTabs-indicator {
  height: 3px;
  border-radius: 0;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 8px 6px;
    font-size: 13px;
    min-width: 0;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 6px 4px;
    font-size: 12px;
    min-width: 0;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .followup-tabs .MuiButtonBase-root-MuiTab-root {
    padding: 4px 2px;
    font-size: 11px;
    min-width: 0;
  }
}

/* Action buttons styling */
.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}



/* Input label styles */
.form-label {
  color: var(--mui-palette-text-primary) !important;
  font-weight: 500 !important;
}


.page-header-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}



.tab-header {
  margin-bottom: 24px;
}

.tab-title {
  font-weight: 600;
  color: #1e293b;
}

.create-button {
  background-color: #427fd4;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s ease;
}

.create-button:hover {
  background-color: #427fd4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 127, 212, 0.3);
}


.registrations-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.registrations-table .MuiTableHead-root {
  background-color: #f1f5f9;
}

.registrations-table .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
  color: #427fd4;
  border-bottom: 2px solid #e2e8f0;
}

.registrations-table .MuiTableBody-root .MuiTableRow-root:hover {
  background-color: #f8fafc;
}

.baptism-registration-dialog .MuiDialog-paper {
  border-radius: 12px;
}

.certificate-viewer-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-height: 90vh;
}

@media (max-width: 768px) {
  .baptism-registration-tab {
    padding: 16px;
  }
  
  .tab-header {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .create-button {
    width: 100%;
  }
}

.groom-section{
    color: var(--primary-color) !important;
}

.bride-section{
    color: var(--primary-color) !important;
}


[data-rmiz-ghost] {
  position: absolute;
  pointer-events: none;
}
[data-rmiz-btn-zoom],
[data-rmiz-btn-unzoom] {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  color: #fff;
  height: 40px;
  margin: 0;
  outline-offset: 2px;
  padding: 9px;
  touch-action: manipulation;
  width: 40px;
  -webkit-appearance: none;
  appearance: none;
}
[data-rmiz-btn-zoom]:not(:focus):not(:active) {
  position: absolute;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
  width: 1px;
}
[data-rmiz-btn-zoom] {
  position: absolute;
  inset: 10px 10px auto auto;
  cursor: zoom-in;
}
[data-rmiz-btn-unzoom] {
  position: absolute;
  inset: 20px 20px auto auto;
  cursor: zoom-out;
  z-index: 1;
}
[data-rmiz-content="found"] img,
[data-rmiz-content="found"] svg,
[data-rmiz-content="found"] [role="img"],
[data-rmiz-content="found"] [data-zoom] {
  cursor: zoom-in;
}
[data-rmiz-modal]::backdrop {
  display: none;
}
[data-rmiz-modal][open] {
  position: fixed;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
[data-rmiz-modal-overlay] {
  position: absolute;
  inset: 0;
  transition: background-color 0.3s;
}
[data-rmiz-modal-overlay="hidden"] {
  background-color: rgba(255, 255, 255, 0);
}
[data-rmiz-modal-overlay="visible"] {
  background-color: rgba(255, 255, 255, 1);
}
[data-rmiz-modal-content] {
  position: relative;
  width: 100%;
  height: 100%;
}
[data-rmiz-modal-img] {
  position: absolute;
  cursor: zoom-out;
  image-rendering: high-quality;
  transform-origin: top left;
  transition: transform 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  [data-rmiz-modal-overlay],
  [data-rmiz-modal-img] {
    transition-duration: 0.01ms !important;
  }
}

.marriage-registration-tab {
  padding: 0;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
}

.tab-title {
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.create-button {
  background-color: #dc2626;
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: none;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.create-button:hover {
  background-color: #b91c1c;
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}


.groom-section {
  color: var(--text-color) !important;

}



.registrations-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.registrations-table .MuiTableHead-root {
  background-color: #fef2f2;
}

.registrations-table .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #fecaca;
}

.registrations-table .MuiTableBody-root .MuiTableRow-root:hover {
  background-color: #fef2f2;
}

.action-buttons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.action-buttons .MuiIconButton-root {
  padding: 6px;
  color: #6b7280;
}

.action-buttons .MuiIconButton-root:hover {
  background-color: #f3f4f6;
}

.action-buttons .MuiIconButton-root.MuiIconButton-colorError:hover {
  background-color: #fef2f2;
}

/* Dialog Styles */
.marriage-registration-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-width: 1000px;
}

.marriage-registration-dialog .MuiDialogTitle-root {
  background-color: #fef2f2;
  border-bottom: 1px solid #fecaca;
  padding: 20px 24px;
}

.certificate-viewer-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tab-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .create-button {
    width: 100%;
  }
  
  .registrations-table {
    font-size: 0.875rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 2px;
  }
  
  .action-buttons .MuiIconButton-root {
    padding: 4px;
  }
}



.tab-header {
  margin-bottom: 24px;
}

.tab-title {
  font-weight: 600;
  color: #1e293b;
}

.create-button {
  background-color: #427fd4;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s ease;
}

.create-button:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 127, 212, 0.3);
}


.registrations-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.registrations-table .MuiTableHead-root {
  background-color: #f1f5f9;
}

.registrations-table .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}

.registrations-table .MuiTableBody-root .MuiTableRow-root:hover {
  background-color: #f8fafc;
}

.new-birth-registration-dialog .MuiDialog-paper {
  border-radius: 12px;
}

.certificate-viewer-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-height: 90vh;
}

.discipleship-tracker-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-height: 90vh;
}

@media (max-width: 768px) {
  .new-birth-registration-tab {
    padding: 16px;
  }
  
  .tab-header {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .create-button {
    width: 100%;
  }
}

/* SkillMemberPage.css */


/* .skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.skill-details {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  max-width: 600px;
} */

.search-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
  max-width: 400px;
}

.members-table {
  margin-bottom: 24px;
}

.member-row {
  cursor: pointer;
  transition: background-color 0.2s;
}

.member-row:hover {
  background-color: #f5f5f5;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 32px;
  height: 32px;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.skill-level-chip {
  font-size: 0.75rem;
}

.action-button {
  transition: all 0.2s;
}

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

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}


@media (max-width: 768px) {
  .search-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .search-box {
    max-width: none;
  }
  
  .pagination-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .member-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}



.search-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.search-field {
  flex: 1 1;
  max-width: 400px;
}

.participants-table {
  margin-bottom: 24px;
}

.participant-row {
  cursor: pointer;
  transition: background-color 0.2s;
}

.participant-row:hover {
  background-color: #f5f5f5;
}

.participant-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.participant-avatar {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

.participant-details {
  display: flex;
  flex-direction: column;
}

.participant-name {
  font-weight: 500;
  font-size: 0.875rem;
  color: #1a1a1a;
}

.participant-email {
  font-size: 0.75rem;
  color: #666;
}

.status-chip {
  font-size: 0.75rem;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-size-select {
  min-width: 80px;
}

.add-dialog {
  max-width: 500px;
}

.member-selection {
  margin-top: 16px;
}

.selected-member {
  padding: 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 16px;
}

.selected-member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-member-avatar {
  width: 40px;
  height: 40px;
}

.selected-member-details {
  display: flex;
  flex-direction: column;
}

.selected-member-name {
  font-weight: 500;
  color: #1a1a1a;
}

.selected-member-email {
  font-size: 0.875rem;
  color: #666;
}

.dialog-actions {
  padding: 16px 24px;
}


.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

@media (max-width: 768px) {
  .training-participant-page {
    padding: 16px;
  }
  
  .page-header {
    margin-bottom: 24px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-field {
    max-width: none;
  }
  
  .pagination-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .pagination-info {
    justify-content: center;
  }
}


.MuiFormControlLabel-root {
    padding: 2px !important;
  }
/* ============================================================================
   SERMON PLANNING PAGE STYLES
   ============================================================================ */

.sermon-planning-page {
  padding: 0;
}

.sermon-planning-page .page-header {
  margin-bottom: 2rem;
}

.sermon-planning-page .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.025em;
}

.sermon-planning-page .page-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* ============================================================================
   STATISTICS CARDS
   ============================================================================ */

.stat-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #1976d2;
}

.stat-card .MuiCardContent-root {
  padding: 1.5rem;
}

.stat-card .MuiTypography-h4 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0.5rem 0;
}

.stat-card .MuiTypography-body2 {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ============================================================================
   TAB NAVIGATION
   ============================================================================ */

.sermon-planning-page .MuiTabs-root {
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}

.sermon-planning-page .MuiTab-root {
  min-height: 64px;
  text-transform: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #666;
  transition: all 0.2s ease-in-out;
  border-bottom: 3px solid transparent;
  position: relative;
  will-change: auto;
}

.sermon-planning-page .MuiTab-root:hover {
  color: #1976d2;
  background-color: rgba(25, 118, 210, 0.04);
  transform: none; /* Prevent any transform that could cause shaking */
}

.sermon-planning-page .MuiTab-root.Mui-selected {
  color: #1976d2;
  font-weight: 600;
  border-bottom-color: #1976d2;
  background-color: rgba(25, 118, 210, 0.08);
  transform: none; /* Prevent any transform that could cause shaking */
}

.sermon-planning-page .MuiTabs-indicator {
  height: 3px;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
  will-change: transform, width;
  transform-origin: left;
}

/* ============================================================================
   TAB CONTENT
   ============================================================================ */

.sermon-planning-page .MuiTabPanel-root {
  padding: 0;
}

/* Tab content container stabilization */
.tab-content-container {
  min-height: 400px;
  transition: opacity 0.2s ease-in-out;
  will-change: opacity;
}

.tab-content-container[hidden] {
  display: none;
}

/* Prevent layout shift during tab changes */
.sermon-planning-page .MuiBox-root {
  contain: layout;
}

/* ============================================================================
   CARD COMPONENTS
   ============================================================================ */

.sermon-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sermon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #1976d2;
}

.sermon-card .MuiCardContent-root {
  flex-grow: 1;
  padding: 1.5rem;
}

.sermon-card .MuiCardActions-root {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  border-radius: 0 0 12px 12px;
}

/* ============================================================================
   STATUS CHIPS
   ============================================================================ */

.status-chip {
  font-weight: 500;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border-radius: 14px;
  padding: 2px 8px;
}

.status-chip.scheduled {
  background-color: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.status-chip.published {
  background-color: #e8f5e8;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

.status-chip.completed {
  background-color: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #e1bee7;
}

.status-chip.cancelled {
  background-color: #ffebee;
  color: #d32f2f;
  border: 1px solid #ffcdd2;
}

.status-chip.active {
  background-color: #e8f5e8;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

.status-chip.inactive {
  background-color: #fafafa;
  color: #757575;
  border: 1px solid #e0e0e0;
}

.status-chip.available {
  background-color: #e8f5e8;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

.status-chip.unavailable {
  background-color: #ffebee;
  color: #d32f2f;
  border: 1px solid #ffcdd2;
}

/* ============================================================================
   ACTION BUTTONS
   ============================================================================ */

.action-button {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  transition: all 0.3s ease;
}

.action-button:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.action-button.edit {
  color: #1976d2;
  background-color: rgba(25, 118, 210, 0.1);
}

.action-button.edit:hover {
  background-color: rgba(25, 118, 210, 0.2);
}

.action-button.delete {
  color: #d32f2f;
  background-color: rgba(211, 47, 47, 0.1);
}

.action-button.delete:hover {
  background-color: rgba(211, 47, 47, 0.2);
}

.action-button.view {
  color: #388e3c;
  background-color: rgba(56, 142, 60, 0.1);
}

.action-button.view:hover {
  background-color: rgba(56, 142, 60, 0.2);
}

.action-button.link {
  color: #f57c00;
  background-color: rgba(245, 124, 0, 0.1);
}

.action-button.link:hover {
  background-color: rgba(245, 124, 0, 0.2);
}

/* ============================================================================
   FILTERS AND SEARCH
   ============================================================================ */

.filters-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.filters-section .MuiTextField-root {
  margin-bottom: 1rem;
}

.filters-section .MuiFormControl-root {
  margin-bottom: 1rem;
}

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

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

.sermon-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* ============================================================================
   LOADING STATES
   ============================================================================ */

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  flex-direction: column;
  gap: 1rem;
}

.loading-text {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================================================
   EMPTY STATES
   ============================================================================ */

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #666;
}

.empty-state .MuiSvgIcon-root {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.empty-state p {
  font-size: 1rem;
  margin: 0 0 2rem 0;
  color: #666;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  .sermon-planning-page .page-title {
    font-size: 1.5rem;
  }
  
  .sermon-planning-page .page-subtitle {
    font-size: 0.875rem;
  }
  
  .stat-card .MuiCardContent-root {
    padding: 1rem;
  }
  
  .stat-card .MuiTypography-h4 {
    font-size: 1.5rem;
  }
  
  .sermon-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sermon-card .MuiCardContent-root {
    padding: 1rem;
  }
  
  .sermon-card .MuiCardActions-root {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .sermon-planning-page .page-header {
    margin-bottom: 1rem;
  }
  
  .stat-card .MuiCardContent-root {
    padding: 0.75rem;
  }
  
  .stat-card .MuiTypography-h4 {
    font-size: 1.25rem;
  }
  
  .stat-card .MuiTypography-body2 {
    font-size: 0.75rem;
  }
  
  .filters-section {
    padding: 1rem;
  }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

.sermon-card {
  animation: fadeIn 0.3s ease-out;
}

.stat-card {
  animation: fadeIn 0.3s ease-out;
}

/* ============================================================================
   DARK MODE SUPPORT
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  .sermon-planning-page .page-title {
    color: #ffffff;
  }
  
  .sermon-planning-page .page-subtitle {
    color: #b0b0b0;
  }
  
  .stat-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-color: #404040;
  }
  
  .sermon-card {
    background: #2d2d2d;
    border-color: #404040;
  }
  
  .sermon-card .MuiCardActions-root {
    background: #1a1a1a;
    border-top-color: #404040;
  }
  
  .filters-section {
    background: #2d2d2d;
    border-color: #404040;
  }
}

/* ============================================================================
   SERIES DETAILS PAGE - ORDER OF SERVICE STYLE
   ============================================================================ */

/* Page Structure */

/* Series Header Gradient */
.series-header-gradient {
  background: linear-gradient(135deg, #427fd4 0%, #2c5aa0 100%);
  color: white;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.series-header-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grain\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"rgba%28255,255,255,0.1%29\"/><circle cx=\"75\" cy=\"75\" r=\"1\" fill=\"rgba%28255,255,255,0.1%29\"/><circle cx=\"50\" cy=\"10\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/><circle cx=\"10\" cy=\"60\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/><circle cx=\"90\" cy=\"40\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url%28%23grain%29\"/></svg>");
  opacity: 0.3;
  pointer-events: none;
}

/* Document Container */
.document-container {
  background: white;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.document-container:hover {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   HIERARCHICAL SERMON PLANNING VIEWS
   ============================================================================ */

/* Series Container Grid */
.series-container-grid {
  margin-top: 24px;
}

.series-container-card {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.series-container-card:hover {
  border-color: #427fd4;
  box-shadow: 0 4px 16px rgba(156, 39, 176, 0.2);
  transform: translateY(-2px);
}

/* Series Detail Container Frame */
.series-detail-container {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Sermons Nested Grid */
.sermons-nested-grid {
  margin-top: 16px;
}

.sermon-nested-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
  position: relative;
}

.sermon-nested-card::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(to bottom, #427fd4, #427fd4);
  border-radius: 2px;
}

.sermon-nested-card:hover {
  border-color: #427fd4;
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.15);
  transform: translateY(-1px);
}

/* Visual Hierarchy Indicators */
.series-container-card .MuiCardContent-root {
  position: relative;
}

.series-container-card .MuiCardContent-root::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #427fd4, #427fd4);
  border-radius: 0 0 12px 12px;
}

/* Status Chips */
.status-chip {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 0.55rem;
}

/* Action Buttons */
.series-action-button {
  transition: all 0.2s ease;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.series-action-button:hover {
  transform: scale(1.1);
}

.series-action-button.view {
  background-color: #1976d2;
}


.series-action-button.edit {
  background-color: #f57c00 !important;
}

.series-action-button.delete {
  background-color: #d32f2f !important;
}

.series-action-button.success {
  background-color: #388e3c !important;
}

.series-action-button.warning {
  background-color: #f57c00 !important;
}

.series-action-button.info {
  background-color: #1976d2 !important;
}

.series-action-button.secondary {
  background-color: #666 !important;
}

.series-action-button.link {
  background-color: #9c27b0 !important;
}

.series-action-button.star {
  background-color: #f57c00 !important;
}

.series-action-button svg {
  width: 16px !important;
  height: 16px !important;
}

/* Progress Indicators */
.series-progress-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.series-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #427fd4, #427fd4);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .series-container-grid {
    margin-top: 16px;
  }
  
  .series-container-card {
    margin-bottom: 16px;
  }
  
  .sermon-nested-card::before {
    left: -4px;
    width: 3px;
  }
  
  .series-action-button {
    padding: 4px;
  }
}

/* Loading States */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.loading-text {
  margin-top: 16px;
  color: #666;
  font-weight: 500;
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 24px 0;
}

.empty-state h3 {
  margin: 16px 0 8px 0;
  color: #333;
}

.empty-state p {
  color: #666;
  margin-bottom: 24px;
  max-width: 400px;
}

/* Filters Section */
.filters-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e0e0e0;
}

/* Breadcrumb Navigation */
.breadcrumb-navigation {
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #427fd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #427fd4;
  text-decoration: underline;
}

/* Container Visual Hierarchy */
.series-header-frame {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sermons-content-area {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Visual Connection Lines */
.sermon-nested-card {
  position: relative;
}

.sermon-nested-card::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #427fd4, transparent);
  opacity: 0.3;
}

/* Hover Effects */
.series-container-card:hover .series-progress-fill {
  background: linear-gradient(90deg, #427fd4, #427fd4);
}

.sermon-nested-card:hover::before {
  background: linear-gradient(to bottom, #427fd4, #427fd4);
  width: 6px;
}

/* Focus States for Accessibility */
.series-container-card:focus-within {
  outline: 2px solid #427fd4;
  outline-offset: 2px;
}

.sermon-nested-card:focus-within {
  outline: 1px solid #427fd4;
  outline-offset: 1px;
}

/* Editor Components Styles */

/* ===== ACCORDION CONTENT STYLES ===== */
.accordion-content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 8px;
  background-color: var(--mui-palette-background-paper);
  border: 1px solid var(--mui-palette-divider);
  border-radius: 4px;
  box-shadow: var(--mui-shadows-1);
  max-height: 200px;
  overflow-y: auto;
  overflow-x: auto;
}

.css-hqcfm7 {
  border: 1px solid !important;
}


/* Responsive adjustments for tablet */
@media (max-width: 768px) {
  .accordion-content-container {
    gap: 8px;
    padding: 12px;
    max-height: 150px;
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .accordion-content-container {
    gap: 4px;
    padding: 8px;
    max-height: 120px;
  }
}

.accordion-divider {
  margin-left: 8px;
  margin-right: 8px;
  align-self: stretch;
  min-height: 32px;
}

.accordion-button-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: -webkit-fit-content;
  min-width: fit-content;
}

/* Responsive adjustments for button groups on tablet */
@media (max-width: 768px) {
  .accordion-button-group {
    gap: 2px;
    min-width: auto;
    flex-wrap: wrap;
  }
}

.accordion-textfield-container {
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.accordion-dropdown-container {
  min-width: 180px;
  max-width: 220px;
  display: flex;
  align-items: center;
  height: 40px;
}

.accordion-icon-button {
  background-color: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  width: 32px;
  height: 32px;
}

.accordion-icon-button.active {
  background-color: var(--mui-palette-primary-light);
  border: 1px solid var(--mui-palette-primary-main);
}

.accordion-icon-button:hover {
  background-color: var(--mui-palette-action-hover);
  border-color: var(--mui-palette-action-hover);
}

.accordion-icon-button.active:hover {
  background-color: var(--mui-palette-primary-main);
  border-color: var(--mui-palette-primary-dark);
}

.accordion-icon-button:disabled {
  opacity: 0.5;
  background-color: transparent;
}

/* Touch-friendly sizing on mobile */
@media (max-width: 768px) {
  .accordion-icon-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

/* ===== ACCORDION TOOLBAR SECTION STYLES ===== */
.accordion-section-header {
  transition: transform 0.2s ease-in-out;
}

.accordion-section-header.expanded {
  transform: rotate(180deg);
}

/* ===== BUTTON ICON STYLES ===== */
.button-icon-decrease {
  font-size: 16px;
  font-weight: bold;
}

.button-icon-size-label {
  font-size: 12px;
  font-weight: bold;
}

.button-icon-increase {
  font-size: 16px;
  font-weight: bold;
}

.button-icon-text-transform {
  font-size: 14px;
  font-weight: bold;
}

/* ===== FONT SIZE MENU STYLES ===== */
.font-size-menu-item-small {
  font-size: 12px;
}

.font-size-menu-item-normal {
  font-size: 16px;
}

.font-size-menu-item-large {
  font-size: 20px;
}

.font-size-menu-item-extra-large {
  font-size: 24px;
}

/* ===== COLOR PICKER STYLES ===== */
.color-picker-input {
  width: 40px;
  height: 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ===== FORM CONTROLS STYLES ===== */
.font-size-textfield {
  width: 60px;
  margin: 0 !important;
  margin-bottom: 0 !important;
}

/* Override Material-UI generated classes for font size input */
.font-size-textfield .MuiFormControl-root {
  margin: 0 !important;
  margin-bottom: 0 !important;
}

.font-size-textfield .MuiTextField-root {
  margin: 0 !important;
  margin-bottom: 0 !important;
}

/* Target the specific Material-UI generated class pattern */
[class*="MuiFormControl-root"][class*="MuiTextField-root"] .MuiOutlinedInput-root {
  height: auto !important;
  margin-bottom: 0 !important;
}

/* More specific override for font size textfield */
.accordion-textfield-container .MuiFormControl-root .MuiOutlinedInput-root {
  height: 32px !important;
  margin-bottom: 0 !important;
}

.accordion-textfield-container .MuiTextField-root .MuiOutlinedInput-root {
  height: 32px !important;
  margin-bottom: 0 !important;
}

/* Override the specific Material-UI generated class you found */
.css-typ508-MuiFormControl-root-MuiTextField-root .MuiOutlinedInput-root {
  height: 32px !important;
  border-radius: 2px;
  margin-bottom: 0 !important;
}

/* Catch-all for any similar Material-UI generated classes */
[class*="css-"][class*="MuiFormControl-root"][class*="MuiTextField-root"] .MuiOutlinedInput-root {
  height: 32px !important;
  margin-bottom: 0 !important;
}

.font-size-textfield .MuiOutlinedInput-root {
  height: 32px;
}

.font-size-textfield .MuiOutlinedInput-root fieldset {
  border-color: var(--mui-palette-divider);
}

.font-size-textfield .MuiOutlinedInput-root:hover fieldset {
  border-color: var(--mui-palette-primary-main);
}

.font-size-textfield .MuiOutlinedInput-root.Mui-focused fieldset {
  border-color: var(--mui-palette-primary-main);
  border-width: 1px;
}

/* Hide number input spinner arrows */
.font-size-textfield input[type=number] {
  -moz-appearance: textfield;
}

.font-size-textfield input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.font-size-textfield input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none; 
  margin: 0;
}

.font-size-input {
  text-align: center;
  padding: 4px 8px;
  font-size: 14px;
  width: 40px;
  margin: 0 !important;
  margin-bottom: 0 !important;
}

.google-fonts-container {
  padding: 8px;
  min-width: 200px;
  max-width: 250px;
}

.google-fonts-loading {
  padding: 16px;
  min-width: 300px;
}

.google-fonts-autocomplete {
  width: 100%;
  min-width: 180px;
  max-width: 220px;
}

.google-fonts-autocomplete .MuiOutlinedInput-root {
  font-size: 12px;
  height: 32px;
}

.google-fonts-autocomplete .MuiInputLabel-root {
  font-size: 12px;
}

.google-fonts-option-text {
  font-size: 14px;
}

.google-fonts-listbox {
  max-height: 300px;
}
/* Church Guests Page Styles */

.guests-grid {
  margin-top: 16px;
}

.guest-card {
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.guest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #1976d2;
}

.guest-card .MuiCardContent-root {
  padding: 20px;
}

.guest-card .MuiCardActions-root {
  padding: 0 20px 20px 20px;
  justify-content: space-between;
}

.action-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

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

.action-button.edit {
  color: #1976d2;
}

.action-button.edit:hover {
  background-color: rgba(25, 118, 210, 0.1);
}

.action-button.delete {
  color: #d32f2f;
}

.action-button.delete:hover {
  background-color: rgba(211, 47, 47, 0.1);
}

.action-button.view {
  color: #388e3c;
}

.action-button.view:hover {
  background-color: rgba(56, 142, 60, 0.1);
}

.action-button.link {
  color: #f57c00;
}

.action-button.link:hover {
  background-color: rgba(245, 124, 0, 0.1);
}

.status-chip {
  font-weight: 600;
  font-size: 0.75rem;
}

/* Filters Section */
.filters-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.filters-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-item {
  min-width: 200px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state .MuiSvgIcon-root {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 16px;
}

/* Loading State */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-item {
    min-width: auto;
    width: 100%;
  }
  
  .guest-card .MuiCardActions-root {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-button {
    width: 100%;
    height: 40px;
  }
}

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

.guest-card {
  animation: fadeInUp 0.3s ease-out;
}

/* Service Flow Planning Page Styles */

.service-flow-planning-page {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* Statistics Cards */
.statistics-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.statistics-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tab Content */
.tab-content {
  min-height: 400px;
}

/* Service Flow Cards */
.service-flow-card {
  margin-bottom: 16px;
  transition: all 0.2s ease-in-out;
  border-left: 4px solid transparent;
}

.service-flow-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.service-flow-card.sunday-service {
  border-left-color: #388e3c;
}

.service-flow-card.wednesday-service {
  border-left-color: #f57c00;
}

.service-flow-card.friday-service {
  border-left-color: #7b1fa2;
}

.service-flow-card.special-service {
  border-left-color: #d32f2f;
}

/* Service Segment Cards */
.service-segment-card {
  margin-bottom: 12px;
  border-left: 3px solid #f57c00;
  transition: all 0.2s ease-in-out;
}

.service-segment-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-segment-card.opening-prayer {
  border-left-color: #4caf50;
}

.service-segment-card.worship {
  border-left-color: #2196f3;
}

.service-segment-card.sermon {
  border-left-color: #ff9800;
}

.service-segment-card.closing-prayer {
  border-left-color: #9c27b0;
}

/* Assignment Cards */
.assignment-card {
  margin-bottom: 8px;
  border-left: 2px solid #7b1fa2;
  transition: all 0.2s ease-in-out;
}

.assignment-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.assignment-card.primary {
  border-left-color: #4caf50;
  background-color: #f1f8e9;
}

.assignment-card.backup {
  border-left-color: #ff9800;
  background-color: #fff3e0;
}

/* Template Cards */
.template-card {
  margin-bottom: 16px;
  transition: all 0.2s ease-in-out;
  border: 1px solid #e0e0e0;
}

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

.template-card.featured {
  border: 2px solid #ff9800;
  background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}

.template-card.public {
  border: 2px solid #4caf50;
  background: linear-gradient(135deg, #f1f8e9 0%, #ffffff 100%);
}

/* Status Chips */
.status-chip {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.status-chip.active {
  background-color: #4caf50;
  color: white;
}

.status-chip.inactive {
  background-color: #f44336;
  color: white;
}

.status-chip.completed {
  background-color: #2196f3;
  color: white;
}

.status-chip.cancelled {
  background-color: #9e9e9e;
  color: white;
}

/* Time Display */
.time-display {
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  color: #666;
}

.duration-display {
  font-size: 0.875rem;
  color: #888;
  font-style: italic;
}

/* Action Buttons */
.action-button {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

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

/* Loading States */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loading-skeleton {
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* Empty States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #666;
}

.empty-state-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.empty-state-description {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 24px;
}

/* Search and Filter */
.search-container {
  margin-bottom: 24px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.filter-chip {
  transition: all 0.2s ease-in-out;
}

.filter-chip:hover {
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .statistics-card {
    min-width: 100%;
  }
  
  .service-flow-card,
  .service-segment-card,
  .assignment-card,
  .template-card {
    margin-bottom: 12px;
  }
  
  .filter-chips {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-header-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-button {
    min-width: 32px;
    height: 32px;
  }
}

/* Print Styles */
@media print {
  .service-flow-planning-page {
    background-color: white;
  }
  
  .page-header-actions,
  .action-button,
  .MuiTabs-root {
    display: none !important;
  }
  
  .service-flow-card,
  .service-segment-card,
  .assignment-card {
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


/* Order of Services Tab Styles */
.order-of-services-container {
  padding: 16px;
}

.order-of-services-search {
  margin-bottom: 16px;
}

.order-of-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.order-of-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.order-of-service-card-content {
  flex-grow: 1;
}

.order-of-service-card-actions {
  justify-content: space-between;
  padding: 16px;
}

.order-of-service-status-chip {
  margin-right: 8px;
}

.order-of-service-type-chip {
  margin-right: 8px;
}

.order-of-service-tags {
  margin-bottom: 16px;
}

.order-of-service-tag {
  margin-right: 4px;
  margin-bottom: 4px;
}

.order-of-service-stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.order-of-service-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-of-service-actions {
  display: flex;
  gap: 8px;
}

.order-of-service-empty-state {
  text-align: center;
  padding: 32px;
}

.order-of-service-empty-icon {
  color: #ccc;
  margin-bottom: 16px;
}

.order-of-service-empty-title {
  margin-top: 16px;
  color: #666;
}

.order-of-service-empty-subtitle {
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .order-of-services-grid {
    grid-template-columns: 1fr;
  }
  
  .order-of-service-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  .order-of-service-actions {
    flex-direction: column;
  }
}

.tab-content {
  padding: 0;
}

.analytics-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.metric-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border: none;
  border-radius: 12px;
}

.metric-avatar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.statistics-section {
  margin-top: 24px;
}

.service-type-item {
  border-left: 4px solid transparent;
  transition: all 0.2s ease-in-out;
}

.service-type-item:hover {
  background-color: #f5f5f5;
  border-left-color: #1976d2;
}

.activity-chip {
  font-weight: 600;
  border-radius: 16px;
}

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

.response-rate-card .MuiTypography-root {
  color: white;
}

.notification-card {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.distribution-card {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.activity-card {
  background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}







/* Order of Service Management Page Styles */

.order-of-service-management {
  padding: 24px;
}

/* Service Selector */
.service-selector {
  background: white;
  transition: all 0.3s ease;
}

.service-selector:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Main Document */
.document-container {
  background: white;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.document-container:hover {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
}

/* Service Header */
.service-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.service-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grain\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"rgba%28255,255,255,0.1%29\"/><circle cx=\"75\" cy=\"75\" r=\"1\" fill=\"rgba%28255,255,255,0.1%29\"/><circle cx=\"50\" cy=\"10\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/><circle cx=\"10\" cy=\"60\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/><circle cx=\"90\" cy=\"40\" r=\"0.5\" fill=\"rgba%28255,255,255,0.05%29\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url%28%23grain%29\"/></svg>");
  opacity: 0.3;
  pointer-events: none;
}

/* Segment Cards */
.segment-card {
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
  overflow: hidden;
}

.segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.segment-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: #667eea;
}

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

.segment-card:hover .segment-actions {
  opacity: 1;
}

/* Segment Number Badge */
.segment-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.segment-card:hover .segment-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Segment Actions */
.segment-actions {
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  gap: 8px;
}

/* Assignment Chips */
.assignment-chip {
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.assignment-chip:hover {
  background: #667eea;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.segment-card {
  animation: slideInUp 0.6s ease-out;
}

.segment-number {
  animation: fadeInScale 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .order-of-service-management {
    padding: 16px;
  }
  
  .service-header {
    padding: 32px 24px;
  }
  
  .segment-card {
    margin-bottom: 12px;
  }
}

/* Edit Mode Styles */
.edit-mode .segment-card {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.edit-mode .segment-actions {
  opacity: 1;
}

/* Loading States */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Focus States */
.segment-card:focus-within {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .segment-card,
  .segment-number,
  .assignment-chip {
    transition: none;
    animation: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .order-of-service-management {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }
  
  .segment-card {
    background: #2a2a3e;
    border-color: #404040;
    color: white;
  }
  
  .assignment-chip {
    background: #3a3a4e;
    border-color: #505050;
    color: white;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
  
  .order-of-service-management-page {
    background: white !important;
    color: black !important;
  }
  
  .service-header {
    background: white !important;
    color: black !important;
    border: 2px solid #000 !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
  }
  
  .segment-card {
    border: 1px solid #000 !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
    background: white !important;
    color: black !important;
  }
  
  .assignment-item {
    border: 1px solid #ccc !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
    background: #f9f9f9 !important;
  }
  
  .page-break {
    page-break-before: always;
  }
  
  .no-page-break {
    page-break-inside: avoid;
  }
}

.testimony-tab {
  padding: 0;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
}

.tab-title {
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.create-button {
  background-color: #427fd4;
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: none;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.create-button:hover {
  background-color: #427fd4;
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
}


.testimonies-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonies-table .MuiTableHead-root {
  background-color: #f8fafc;
}

.testimonies-table .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
  color: #427fd4;
  border-bottom: 2px solid #e5e7eb;
}

.testimonies-table .MuiTableBody-root .MuiTableRow-root:hover {
  background-color: #f9fafb;
}

.action-buttons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.action-buttons .MuiIconButton-root {
  padding: 6px;
  color: #427fd4;
}

.action-buttons .MuiIconButton-root:hover {
  background-color: #f3f4f6;
}

.action-buttons .MuiIconButton-root.MuiIconButton-colorError:hover {
  background-color: #fef2f2;
}

.action-buttons .MuiIconButton-root.MuiIconButton-colorSuccess:hover {
  background-color: #f0fdf4;
}

.search-filter-section {
  padding: 20px;
  margin-bottom: 24px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dialog Styles */
.testimony-form-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-width: 800px;
}

.testimony-form-dialog .MuiDialogTitle-root {
  background-color: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 24px;
}

.rejection-dialog .MuiDialog-paper {
  border-radius: 12px;
  max-width: 500px;
}

.rejection-dialog .MuiDialogTitle-root {
  background-color: #fef2f2;
  border-bottom: 1px solid #fecaca;
  padding: 20px 24px;
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tab-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .create-button {
    width: 100%;
  }
  
  .testimonies-table {
    font-size: 0.875rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 2px;
  }
  
  .action-buttons .MuiIconButton-root {
    padding: 4px;
  }
  
  .search-filter-section {
    padding: 16px;
  }
  
  .search-filter-section .MuiBox-root {
    flex-direction: column;
    gap: 16px;
  }
}


.media-tab .page-header {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: white;
  padding: 24px;
  margin-bottom: 24px;
}


.media-tab .page-header .MuiTypography-body2 {
  color: rgba(255, 255, 255, 0.8);
}

.media-tab .MuiPaper-root {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.media-tab .media-card {
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.media-tab .media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.media-tab .media-card .MuiCardMedia-root {
  background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
  position: relative;
}

.media-tab .media-card .MuiCardContent-root {
  padding: 16px;
}

.media-tab .media-card .MuiCardActions-root {
  padding: 8px 16px 16px;
  border-top: 1px solid #f1f5f9;
}

.media-tab .MuiChip-root {
  font-weight: 500;
  border-radius: 16px;
  font-size: 0.75rem;
}

.media-tab .MuiChip-sizeSmall {
  height: 24px;
  font-size: 0.7rem;
}

.media-tab .MuiButton-root {
  text-transform: none;
  font-weight: 600;
}

.media-tab .MuiButton-contained {
  background: linear-gradient(135deg, #667eea 0%, #427fd4 100%);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.media-tab .MuiButton-contained:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #427fd4 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}



.media-tab .MuiButton-outlined:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: #427fd4;
}

.media-tab .MuiIconButton-root {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.media-tab .MuiIconButton-root:hover {
  background-color: rgba(102, 126, 234, 0.1);
  transform: scale(1.1);
}

.media-tab .MuiFab-root {
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.media-tab .MuiFab-root:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.media-tab .MuiDialog-root .MuiDialogTitle-root {
  background: linear-gradient(135deg, #667eea 0%, #427fd4 100%);
  color: white;
}

.media-tab .MuiDialog-root .MuiDialogContent-root {
  padding: 24px;
}

.media-tab .MuiDialog-root .MuiDialogActions-root {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
}

.media-tab .MuiTextField-root {
  margin-bottom: 16px;
}

.media-tab .MuiFormControl-root {
  margin-bottom: 16px;
}

.media-tab .MuiInputBase-root {
  border-radius: 8px;
}

.media-tab .MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #427fd4;
}

.media-tab .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #427fd4;
  border-width: 2px;
}

.media-tab .MuiFormLabel-root.Mui-focused {
  color: #427fd4;
}

.media-tab .MuiSelect-select {
  border-radius: 8px;
}

.media-tab .MuiLinearProgress-root {
  border-radius: 4px;
  height: 8px;
}

.media-tab .MuiLinearProgress-bar {
  border-radius: 4px;
}

.media-tab .MuiList-root {
  border-radius: 8px;
  background-color: #f8fafc;
}

.media-tab .MuiListItem-root {
  border-radius: 8px;
  margin-bottom: 4px;
}

.media-tab .MuiListItem-root:hover {
  background-color: #e2e8f0;
}

/* Media type specific styles */
.media-tab .media-type-video {
  color: #e53e3e;
}

.media-tab .media-type-audio {
  color: #3182ce;
}

.media-tab .media-type-image {
  color: #38a169;
}

.media-tab .media-type-document {
  color: #d69e2e;
}

.media-tab .media-type-book {
  color: #805ad5;
}

.media-tab .media-type-other {
  color: #718096;
}

/* Category color styles */
.media-tab .category-sermon {
  background: linear-gradient(135deg, #667eea 0%, #427fd4 100%);
  color: white;
}

.media-tab .category-music {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

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

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

.media-tab .category-resource {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.media-tab .category-archive {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #4a5568;
}

/* Upload progress styles */
.media-tab .upload-progress {
  background: #f7fafc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.media-tab .upload-progress-item {
  margin-bottom: 12px;
}

.media-tab .upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.media-tab .upload-progress-bar {
  margin-bottom: 8px;
}

.media-tab .upload-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search and filter styles */
.media-tab .search-filters {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.media-tab .search-input {
  border-radius: 8px;
}

.media-tab .search-input .MuiInputBase-root {
  border-radius: 8px;
}

.media-tab .search-input .MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #427fd4;
}

.media-tab .search-input .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #427fd4;
  border-width: 2px;
}

/* Media grid responsive */
.media-tab .media-grid {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

@media (min-width: 600px) {
  .media-tab .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (min-width: 960px) {
  .media-tab .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (min-width: 1200px) {
  .media-tab .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .media-tab {
    padding: 16px;
  }
  
  .media-tab .page-header {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .media-tab .MuiDialog-root .MuiDialogContent-root {
    padding: 16px;
  }
  
  .media-tab .MuiDialog-root .MuiDialogActions-root {
    padding: 12px 16px;
  }
  
  .media-tab .MuiFab-root {
    bottom: 16px;
    right: 16px;
  }
  
  .media-tab .search-filters {
    padding: 16px;
  }
  
  .media-tab .media-grid {
    gap: 16px;
  }
}

/* Animation for media cards */
@keyframes mediaCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-tab .media-card {
  animation: mediaCardFadeIn 0.5s ease-out;
}

.media-tab .media-card:nth-child(1) { animation-delay: 0.1s; }
.media-tab .media-card:nth-child(2) { animation-delay: 0.2s; }
.media-tab .media-card:nth-child(3) { animation-delay: 0.3s; }
.media-tab .media-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for interactive elements */
.media-tab .media-card .MuiCardActions-root .MuiIconButton-root {
  transition: all 0.2s ease;
}

.media-tab .media-card .MuiCardActions-root .MuiIconButton-root:hover {
  background-color: rgba(102, 126, 234, 0.1);
  transform: scale(1.1);
}

.media-tab .media-card .MuiCardActions-root .MuiIconButton-root:active {
  transform: scale(0.95);
}

/* Featured media indicator */
.media-tab .featured-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
}

.media-tab .featured-indicator .MuiChip-root {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* File type icons */
.media-tab .file-type-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #427fd4;
}

.media-tab .file-type-icon svg {
  margin-bottom: 8px;
}

/* Upload area styles */
.media-tab .upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  background: #f7fafc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.media-tab .upload-area:hover {
  border-color: #427fd4;
  background: #edf2f7;
}

.media-tab .upload-area.dragover {
  border-color: #427fd4;
  background: #e6fffa;
  transform: scale(1.02);
}

/* Progress bar animations */
.media-tab .MuiLinearProgress-root {
  overflow: hidden;
}

.media-tab .MuiLinearProgress-bar {
  transition: transform 0.3s ease;
}

.media-tab .MuiLinearProgress-bar.MuiLinearProgress-barColorPrimary {
  background: linear-gradient(90deg, #667eea 0%, #427fd4 100%);
}

.media-tab .MuiLinearProgress-bar.MuiLinearProgress-barColorSecondary {
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

/* Search icon styles */
.media-tab .search-icon {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.media-tab .search-input:focus-within .search-icon {
  color: #427fd4;
}

/* ChurchBillingPage.css */


.billing-header-info {
  flex: 1 1;
}

.billing-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.billing-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
  line-height: 1.6;
}

.billing-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.header-button {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.plan-features {
  display: flow-root;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  justify-content: center;
}
/* Trial Warning */
.trial-warning {
  margin-bottom: 32px;
  border-radius: 12px;
  border-left: 4px solid #ff9800;
}

/* Section Headers */
.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: white !important;
  margin: 20px 0 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: white !important;
  margin: 0;
  line-height: 1.5;
}

/* Current Plan Section */
.current-plan-section {
  margin-bottom: 40px;
}

.plan-card-container {
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}

.plan-card-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.plan-card-container-header {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%);
  background: linear-gradient(135deg, var(--primary-color, #427fd4) 0%, var(--secondary-color, #5a8fe8) 100%);
  padding: 32px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.plan-info {
  flex: 1 1;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-description {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.6;
  color: white !important;
}

.plan-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trial-alert {
  margin: 24px;
  border-radius: 12px;
  border-left: 4px solid #4caf50;
}

.plan-actions {
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.plan-action-button {
  border-radius: 8px;
  text-transform: none;
  font-weight: 500;
}

.plan-divider {
  margin: 0 24px;
}

.plan-features {
  padding: 24px;
}

.features-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
}

.features-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #427fd4;
  border-left: 3px solid var(--primary-color, #427fd4);
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

.feature-item:hover {
  background: #edf2f7;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
}

.feature-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d3748;
}

.feature-name.disabled {
  color: #a0aec0;
  text-decoration: line-through;
}

/* Usage Metrics Section */
.usage-metrics-section {
  margin-bottom: 40px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.usage-grid::after {
  content: '';
  grid-column: 2;
}

.usage-grid .usage-card:nth-child(n+4) {
  grid-column: span 1.5;
}

.usage-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #427fd4;
  border-left: 4px solid var(--primary-color, #427fd4);
}

.usage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.usage-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.usage-icon {
  color: #427fd4;
  color: var(--primary-color, #427fd4);
  font-size: 1.5rem !important;
}

.usage-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d3748;
}

.usage-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.usage-limit {
  font-size: 1rem;
  font-weight: 400;
  color: #718096;
}

.usage-progress {
  height: 8px !important;
  border-radius: 4px !important;
}

.usage-status {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
}

/* Detailed Usage Table */
.detailed-usage-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table-header {
  background: #f8fafc;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.table-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.usage-table {
  border-radius: 0 !important;
}

.table-header-cell {
  font-weight: 600 !important;
  color: #4a5568 !important;
  background: #f8fafc !important;
}

/* Upgrade Options Section */
.upgrade-options-section {
  margin-bottom: 40px;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.upgrade-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.upgrade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #427fd4;
  border-color: var(--primary-color, #427fd4);
}

.upgrade-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.upgrade-plan-info {
  flex: 1 1;
}

.upgrade-plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.upgrade-plan-description {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 12px;
  line-height: 1.5;
}

.upgrade-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #427fd4;
  color: var(--primary-color, #427fd4);
}

.upgrade-button {
  background: linear-gradient(135deg, #427fd4 0%, #5a8fe8 100%) !important;
  background: linear-gradient(135deg, var(--primary-color, #427fd4) 0%, var(--secondary-color, #5a8fe8) 100%) !important;
  border-radius: 8px;
  text-transform: none;
  font-weight: 500;
  padding: 8px 20px;
  box-shadow: 0 4px 15px rgba(66, 127, 212, 0.3);
  transition: all 0.3s ease;
}

.upgrade-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 127, 212, 0.4);
}

.upgrade-divider {
  margin: 20px 0;
}

.upgrade-benefits {
  margin-top: 20px;
}

.benefits-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
}

.benefits-list {
  padding: 0;
}

.benefit-item {
  padding: 8px 0 !important;
}

.benefit-icon {
  min-width: 32px !important;
}

/* Error and No Data Containers */
.error-container,
.no-data-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.error-icon,
.no-data-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .billing-header {
    padding: 24px;
    border-radius: 0 0 16px 16px;
  }

  .billing-title {
    font-size: 2rem;
  }

  .billing-header-content {
    flex-direction: column;
    gap: 20px;
  }

  .billing-header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .header-button {
    flex: 1 1;
  }

  .billing-content {
    padding: 0 20px 20px;
  }

  .plan-card-header {
    flex-direction: column;
    gap: 16px;
  }

  .plan-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .plan-action-button {
    width: auto;
  }

  .usage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .usage-grid::after {
    display: none;
  }
  
  .usage-grid .usage-card:nth-child(n+4) {
    grid-column: span 1;
  }

  .upgrade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .upgrade-card-header {
    flex-direction: column;
    gap: 16px;
  }

  .upgrade-button {
    width: 100%;
  }

  .features-grid {
    flex-direction: column;
    gap: 12px;
  }
  
  .feature-item {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .billing-header {
    padding: 20px;
  }

  .billing-title {
    font-size: 1.75rem;
  }

  .billing-content {
    padding: 0 16px 16px;
  }

  .usage-card,
  .upgrade-card,
  .plan-card {
    padding: 20px;
  }

  .plan-card-header {
    padding: 24px;
  }
}

/* Ensure plan action buttons are always in a row */
.current-plan-section .plan-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
}

.current-plan-section .plan-actions .MuiButton-root,
.current-plan-section .plan-actions .plan-action-button {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap;
}

/* PledgesTab.css */
.page-header-secondary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  grid-gap: 24px;
  gap: 24px;
  width: 100%;
}

.add-pledge-button {
  padding: 8px 24px;
  font-size: 0.875rem;
}

.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}



.announcement-tab .page-header {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: white;
  padding: 24px;
  margin-bottom: 24px;
}

.announcement-tab .page-header h5 {
  color: white;
  margin-bottom: 8px;
}

.announcement-tab .page-header .MuiTypography-body2 {
  color: rgba(255, 255, 255, 0.8);
}

.announcement-tab .MuiTableContainer-root {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.announcement-tab .MuiTableHead-root {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.announcement-tab .MuiTableHead-root .MuiTableCell-root {
  font-weight: 600;
color: #427fd4;
  border-bottom: 2px solid #e2e8f0;
}

.announcement-tab .MuiTableBody-root .MuiTableRow-root:hover {
  background-color: #ffffff;
}

.announcement-tab .MuiChip-root {
  font-weight: 500;
  border-radius: 16px;
}

.announcement-tab .MuiChip-sizeSmall {
  height: 24px;
  font-size: 0.75rem;
}

.announcement-tab .MuiDialog-root .MuiDialogTitle-root {
  background: linear-gradient(135deg, #427fd4 0%, #427fd4 100%);
  color: white;
}

.announcement-tab .MuiDialog-root .MuiDialogTitle-root .MuiBox-root {
  color: white;
}

.announcement-tab .MuiDialog-root .MuiDialogContent-root {
  padding: 24px;
}

.announcement-tab .MuiDialog-root .MuiDialogActions-root {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
}

.announcement-tab .MuiTextField-root {
  margin-bottom: 16px;
}

.announcement-tab .MuiFormControl-root {
  margin-bottom: 16px;
}

.announcement-tab .MuiCard-root {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.announcement-tab .MuiCard-root:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.announcement-tab .MuiFab-root {
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.announcement-tab .MuiFab-root:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.announcement-tab .MuiButton-root {
  text-transform: none;
  font-weight: 600;
  padding: 8px 24px;
}

.announcement-tab .MuiButton-contained {
  background: linear-gradient(135deg, #667eea 0%, #427fd4 100%);
  /* box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3); */
}

.announcement-tab .MuiButton-contained:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #427fd4 100%);
  /* box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); */
}


.announcement-tab .MuiButton-outlined:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: #427fd4;
}

.announcement-tab .MuiIconButton-root {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.announcement-tab .MuiIconButton-root:hover {
  background-color: rgba(102, 126, 234, 0.1);
  transform: scale(1.1);
}

.announcement-tab .MuiSwitch-root .MuiSwitch-switchBase.Mui-checked {
  color: #667eea;
}

.announcement-tab .MuiSwitch-root .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track {
  background-color: rgba(102, 126, 234, 0.5);
}

.announcement-tab .MuiSelect-select {
  border-radius: 8px;
}

.announcement-tab .MuiInputBase-root {
  border-radius: 8px;
}

.announcement-tab .MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #667eea;
}

.announcement-tab .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #667eea;
  border-width: 2px;
}

.announcement-tab .MuiFormLabel-root.Mui-focused {
  color: #667eea;
}

.announcement-tab .MuiChip-root.MuiChip-colorPrimary {
  background: linear-gradient(135deg, #667eea 0%, #427fd4 100%);
  color: white;
}

.announcement-tab .MuiChip-root.MuiChip-colorSuccess {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
}

.announcement-tab .MuiChip-root.MuiChip-colorWarning {
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: white;
}

.announcement-tab .MuiChip-root.MuiChip-colorError {
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
  color: white;
}

.announcement-tab .MuiChip-root.MuiChip-colorInfo {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
}

.announcement-tab .MuiChip-root.MuiChip-colorDefault {
  background: #e2e8f0;
  color: #427fd4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .announcement-tab {
    padding: 16px;
  }
  
  .announcement-tab .page-header {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .announcement-tab .MuiDialog-root .MuiDialogContent-root {
    padding: 16px;
  }
  
  .announcement-tab .MuiDialog-root .MuiDialogActions-root {
    padding: 12px 16px;
  }
  
  .announcement-tab .MuiFab-root {
    bottom: 16px;
    right: 16px;
  }
}

/* Animation for AI generation */
@keyframes aiPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.announcement-tab .ai-generating {
  animation: aiPulse 2s infinite;
}

/* Template card hover effects */
.announcement-tab .template-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.announcement-tab .template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Priority indicator styles */
.announcement-tab .priority-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.announcement-tab .priority-urgent {
  background: #e53e3e;
  box-shadow: 0 0 8px rgba(229, 62, 62, 0.5);
}

.announcement-tab .priority-high {
  background: #ed8936;
  box-shadow: 0 0 8px rgba(237, 137, 54, 0.5);
}

.announcement-tab .priority-medium {
  background: #4299e1;
  box-shadow: 0 0 8px rgba(66, 153, 225, 0.5);
}

.announcement-tab .priority-low {
  background: #48bb78;
  box-shadow: 0 0 8px rgba(72, 187, 120, 0.5);
}


/* Table Container */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

.events-table {
  width: 100%;
  min-width: 600px; /* Minimum width to prevent squashing */
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.events-table th, 
.events-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  word-wrap: break-word;
  max-width: 200px; /* Prevent columns from getting too wide */
}

.events-table th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
}

.events-table tr:hover {
  background-color: #f8f9fa;
}

.events-table td:last-child {
  white-space: nowrap;
  min-width: 100px; /* Ensure actions column has minimum width */
}

/* Column widths for better distribution */
.events-table th:nth-child(1), /* Name */
.events-table td:nth-child(1) {
  width: 25%;
  min-width: 120px;
}

.events-table th:nth-child(2), /* Type */
.events-table td:nth-child(2) {
  width: 15%;
  min-width: 80px;
}

.events-table th:nth-child(3), /* Purpose */
.events-table td:nth-child(3) {
  width: 30%;
  min-width: 150px;
}

.events-table th:nth-child(4), /* Start */
.events-table td:nth-child(4) {
  width: 20%;
  min-width: 120px;
}

.events-table th:nth-child(5), /* Actions */
.events-table td:nth-child(5) {
  width: 10%;
  min-width: 100px;
}

.page-info {
  font-size: 0.95rem;
  color: #555;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
}

.loading-indicator {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .events-page {
    padding: 16px;
  }
  
  .page-header {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .events-table th, 
  .events-table td {
    padding: 10px 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .events-page {
    padding: 12px;
  }
  
  .page-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .table-container {
    border-radius: 0;
  }
  
  .events-table {
    font-size: 14px;
    min-width: 500px; /* Smaller minimum width for mobile */
  }
  
  .events-table th, 
  .events-table td {
    padding: 8px 10px;
    max-width: 150px; /* Smaller max width for mobile */
  }
  
  .events-table th {
    font-size: 13px;
  }
  
  /* Adjust column widths for mobile */
  .events-table th:nth-child(1), /* Name */
  .events-table td:nth-child(1) {
    min-width: 100px;
  }
  
  .events-table th:nth-child(2), /* Type */
  .events-table td:nth-child(2) {
    min-width: 60px;
  }
  
  .events-table th:nth-child(3), /* Purpose */
  .events-table td:nth-child(3) {
    min-width: 120px;
  }
  
  .events-table th:nth-child(4), /* Start */
  .events-table td:nth-child(4) {
    min-width: 100px;
  }
  
  .events-table th:nth-child(5), /* Actions */
  .events-table td:nth-child(5) {
    min-width: 80px;
  }
  
  .page-info {
    font-size: 0.9rem;
  }
  
  .no-results {
    padding: 16px;
  }
  
  .loading-indicator {
    padding: 30px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .events-page {
    padding: 8px;
  }
  
  .page-header {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .page-title {
    font-size: 1.3rem;
  }
  
  .table-container {
    border-radius: 0;
  }
  
  .events-table {
    font-size: 13px;
    min-width: 400px; /* Even smaller minimum width */
  }
  
  .events-table th, 
  .events-table td {
    padding: 6px 8px;
    max-width: 120px; /* Smaller max width */
  }
  
  .events-table th {
    font-size: 12px;
  }
  
  /* Further adjust column widths for small mobile */
  .events-table th:nth-child(1), /* Name */
  .events-table td:nth-child(1) {
    min-width: 80px;
  }
  
  .events-table th:nth-child(2), /* Type */
  .events-table td:nth-child(2) {
    min-width: 50px;
  }
  
  .events-table th:nth-child(3), /* Purpose */
  .events-table td:nth-child(3) {
    min-width: 100px;
  }
  
  .events-table th:nth-child(4), /* Start */
  .events-table td:nth-child(4) {
    min-width: 80px;
  }
  
  .events-table th:nth-child(5), /* Actions */
  .events-table td:nth-child(5) {
    min-width: 70px;
  }
  
  .page-info {
    font-size: 0.85rem;
  }
  
  .no-results {
    padding: 12px;
  }
  
  .loading-indicator {
    padding: 20px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .events-page {
    padding: 6px;
  }
  
  .page-header {
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .page-title {
    font-size: 1.1rem;
  }
  
  .events-table {
    font-size: 12px;
    min-width: 350px; /* Smallest minimum width */
  }
  
  .events-table th, 
  .events-table td {
    padding: 4px 6px;
    max-width: 100px; /* Smallest max width */
  }
  
  .events-table th {
    font-size: 11px;
  }
  
  /* Minimal column widths for extra small mobile */
  .events-table th:nth-child(1), /* Name */
  .events-table td:nth-child(1) {
    min-width: 70px;
  }
  
  .events-table th:nth-child(2), /* Type */
  .events-table td:nth-child(2) {
    min-width: 40px;
  }
  
  .events-table th:nth-child(3), /* Purpose */
  .events-table td:nth-child(3) {
    min-width: 80px;
  }
  
  .events-table th:nth-child(4), /* Start */
  .events-table td:nth-child(4) {
    min-width: 70px;
  }
  
  .events-table th:nth-child(5), /* Actions */
  .events-table td:nth-child(5) {
    min-width: 60px;
  }
  
  .page-info {
    font-size: 0.8rem;
  }
}

/* EventDetailsPage.css */

.event-header {
  background: #427fd4;
  padding: 20px;
  margin-bottom: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.event-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #427fd4;
  opacity: 0.3;
}

.event-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.event-header-info {
  flex: 1 1;
}

.event-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.event-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.event-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 32px;
  gap: 32px;
  margin-bottom: 32px;
}

.event-info-card {
  background: white;
  overflow: hidden;
}

.card-header {
  background: #427fd4;
  padding: 24px;
  border-bottom: 1px solid #e1e8ed;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.card-content {
  padding: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.info-item {
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #427fd4;
  transition: all 0.3s ease;
}

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

.info-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: #2d3748;
  margin: 0;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background: #427fd4;
  color: white;
}

.qr-sidebar {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: -webkit-fit-content;
  height: fit-content;
}

.qr-header {
  background: #427fd4;
  padding: 14px;
  text-align: center;
  color: white;
}

.qr-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.qr-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

.qr-content {
  padding: 32px;
  text-align: center;
}

.qr-code-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  margin-bottom: 16px;
}

.qr-code-image {
  width: 200px !important;
  height: 200px !important;
  display: block;
  border-radius: 8px;
}

.qr-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.qr-button {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.qr-button.primary {
  background: #427fd4;
  color: white;
}

.qr-button.secondary {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #427fd4;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.creator-info {
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.creator-name {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.creator-username {
  color: #4a5568;
  font-size: 0.875rem;
}

.sharable-link-container {
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.sharable-link-text {
  font-family: 'Montserrat', monospace;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  color: #000000;
  border: 1px solid #ffffff;
  word-break: break-all;
  margin-bottom: 12px;
}

.sharable-link-actions {
  display: flex;
  gap: 8px;
}

.link-button {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.link-button.copy {
  background: #427fd4;
  color: white;
}

.link-button.copy:hover {
  background: #2c5aa0;
}

.link-button.open {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.link-button.open:hover {
  background: #edf2f7;
}

.event-actions-container {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.event-action-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.event-action-button.start {
  background: #48bb78;
  color: white;
}

.event-action-button.start:hover:not(:disabled) {
  background: #38a169;
}

.event-action-button.start.disabled {
  background: #a0aec0;
}

.event-action-button.stop {
  background: #f56565;
  color: white;
}

.event-action-button.stop:hover:not(:disabled) {
  background: #e53e3e;
}

.event-action-button.stop.disabled {
  background: #a0aec0;
}

/* Large Tablet Responsive */
@media (max-width: 1200px) {
  .event-content {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }
  
  .qr-code-image {
    width: 180px;
    height: 180px;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .event-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .qr-sidebar {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .event-details-page {
    padding: 16px;
  }
  
  .event-header {
    padding: 16px;
    margin-bottom: 24px;
  }
  
  .event-header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .event-title {
    font-size: 2rem;
  }
  
  .event-header-actions {
    justify-content: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .card-content {
    padding: 16px;
  }
  
  .info-item {
    padding: 16px;
  }
  
  .qr-content {
    padding: 24px;
  }
  
  .qr-code-image {
    width: 160px;
    height: 160px;
  }
  
  .event-actions-container {
    justify-content: center;
  }
  
  .event-action-button {
    flex: 1 1;
    min-width: 120px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .event-details-page {
    padding: 12px;
  }
  
  .event-header {
    padding: 12px;
    margin-bottom: 20px;
  }
  
  .event-title {
    font-size: 1.5rem;
  }
  
  .event-header-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .header-button {
    width: 100%;
    padding: 12px 16px;
  }
  
  .card-content {
    padding: 12px;
  }
  
  .info-item {
    padding: 12px;
  }
  
  .info-value {
    font-size: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .qr-content {
    padding: 16px;
  }
  
  .qr-code-image {
    width: 140px;
    height: 140px;
  }
  
  .qr-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .qr-button {
    width: 100%;
  }
  
  .event-actions-container {
    flex-direction: column;
    gap: 8px;
  }
  
  .event-action-button {
    width: 100%;
  }
  
  .sharable-link-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .link-button {
    width: 100%;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .event-details-page {
    padding: 8px;
  }
  
  .event-header {
    padding: 10px;
  }
  
  .event-title {
    font-size: 1.25rem;
  }
  
  .event-subtitle {
    font-size: 1rem;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .info-item {
    padding: 10px;
  }
  
  .info-value {
    font-size: 0.9rem;
  }
  
  .qr-content {
    padding: 12px;
  }
  
  .qr-code-image {
    width: 120px;
    height: 120px;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  flex-direction: column;
  gap: 16px;
}

.error-container {
  text-align: center;
  padding: 48px 24px;
  color: #e53e3e;
}

.error-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

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

.event-content {
  animation: fadeInUp 0.6s ease-out;
}

.info-item {
  animation: fadeInUp 0.6s ease-out;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }
.info-item:nth-child(6) { animation-delay: 0.6s; }
.info-item:nth-child(7) { animation-delay: 0.7s; }
.info-item:nth-child(8) { animation-delay: 0.8s; } 
 .welcome-page {
    padding: 1.5rem;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
  }
  
  .welcome-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
  }
  
  .welcome-logo {
    display: block;
    margin: 0 auto 1rem;
    width: 80px;
    height: auto;
  }
  
  .welcome-title {
    text-align: center;
    color: #427fd4;
    font-size: 2rem;
    margin: 0.5rem 0 0;
    font-weight: 700;
  }
  
  .welcome-subtitle {
    text-align: center;
    color: #427fd4;
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 500;
  }
  
  .welcome-event-name {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }

  .welcome-qr.move-text {
    float: inline-start;
    margin-right: 2em;
    margin-left: auto;
    }

    .welcome-step.move-down {
        margin-top: 4em !important;
    }
  
  
  .welcome-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .welcome-step {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
  }
  
  .welcome-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #427fd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
  }
  
  .welcome-step:nth-child(1)::before { content: "1"; }
  .welcome-step:nth-child(2)::before { content: "2"; }
  
  .welcome-qr {
    float: right;
    width: 140px;
    height: 140px;
    margin: 0 0 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    shape-outside: margin-box;
  }
  
  .welcome-step-title {
    font-size: 1.15rem;
    color: #427fd4;
    margin: 0 0 0.5rem;
    font-weight: 600; 
    white-space: nowrap; /* Prevent title from breaking */
    padding-right: 160px; /* Reserve space for QR code */
    position: relative;
  }
  
  .welcome-step-text {
    font-size: 1rem;
    color: #475569;
    margin: 0;
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  
  .welcome-quote {
    font-style: italic;
    color: #475569;
    text-align: center;
    margin: 2rem 0 0;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
  }
  
  .welcome-quote-ref {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
  }
  
  @media (max-width: 640px) {
    .welcome-container {
      padding: 1.5rem;
    }
    
    .welcome-qr {
      float: none;
      display: block;
      margin: 1rem auto;
      width: 160px;
      height: 160px;
    }
    
    .welcome-step {
      padding-left: 0;
    }
    
    .welcome-step::before {
      position: static;
      display: inline-block;
      margin-right: 0.5rem;
      vertical-align: middle;
    }
  }

  /* Print Styles */
  @media print {
    .welcome-page {
      background: white !important;
      padding: 0 !important;
    }
    
    /* Hide print button when printing */
    .print-button-container {
      display: none !important;
    }
    
    .welcome-container {
      box-shadow: none !important;
      border: 1px solid #ccc !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 1rem !important;
    }
    
    .welcome-logo {
      width: 60px !important;
      height: auto !important;
    }
    
    .welcome-title {
      font-size: 1.5rem !important;
      margin: 0.25rem 0 !important;
    }
    
    .welcome-subtitle {
      font-size: 1rem !important;
      margin: 0 0 0.5rem !important;
    }
    
    .welcome-event-name {
      font-size: 1rem !important;
      margin: 0.25rem 0 !important;
    }
    
    .welcome-qr {
      width: 120px !important;
      height: 120px !important;
      float: right !important;
      margin: 0 0 0.5rem 1rem !important;
    }
    
    .welcome-step {
      margin-bottom: 1rem !important;
      page-break-inside: avoid !important;
    }
    
    .welcome-step-title {
      font-size: 1rem !important;
      padding-right: 130px !important;
    }
    
    .welcome-step-text {
      font-size: 0.9rem !important;
    }
    
    .welcome-quote {
      margin: 1rem 0 0 !important;
      padding: 0.5rem !important;
      font-size: 0.9rem !important;
    }
  }
.first-timer-page {
    padding: 1.5rem;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
  }
  
  .first-timer-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
  }
  
  .first-timer-logo {
    display: block;
    margin: 0 auto 1rem;
    width: 80px;
    height: auto;
  }
  
  .first-timer-title {
    text-align: center;
    color: #427fd4;
    font-size: 2rem;
    margin: 0.5rem 0 0;
    font-weight: 700;
  }
  
  .first-timer-subtitle {
    text-align: center;
    color: #427fd4;
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 500;
  }
  
  .first-timer-event-name {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }

  .first-timer-qr.move-text {
    float: inline-start;
    margin-right: 2em;
    margin-left: auto;
    }

    .first-timer-step.move-down {
        margin-top: 4em !important;
    }
  
  
  .first-timer-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .first-timer-step {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
  }
  
  .first-timer-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #427fd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
  }
  
  .first-timer-step:nth-child(1)::before { content: "1"; }
  .first-timer-step:nth-child(2)::before { content: "2"; }
  .first-timer-step:nth-child(3)::before { content: "3"; }
  
  .first-timer-qr {
    float: right;
    width: 140px;
    height: 140px;
    margin: 0 0 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    shape-outside: margin-box;
  }
  
  .first-timer-step-title {
    font-size: 1.15rem;
    color: #427fd4;
    margin: 0 0 0.5rem;
    font-weight: 600; 
    white-space: nowrap; /* Prevent title from breaking */
    padding-right: 160px; /* Reserve space for QR code */
    position: relative;
  }
  
  .first-timer-step-text {
    font-size: 1rem;
    color: #475569;
    margin: 0;
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  
  .first-timer-quote {
    font-style: italic;
    color: #475569;
    text-align: center;
    margin: 2rem 0 0;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
  }
  
  .first-timer-quote-ref {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
  }
  
  @media (max-width: 640px) {
    .first-timer-container {
      padding: 1.5rem;
    }
    
    .first-timer-qr {
      float: none;
      display: block;
      margin: 1rem auto;
      width: 160px;
      height: 160px;
    }
    
    .first-timer-step {
      padding-left: 0;
    }
    
    .first-timer-step::before {
      position: static;
      display: inline-block;
      margin-right: 0.5rem;
      vertical-align: middle;
    }
  }

  /* Print Styles */
  @media print {
    .first-timer-page {
      background: white !important;
      padding: 0 !important;
    }
    
    /* Hide print button when printing */
    .print-button-container {
      display: none !important;
    }
    
    .first-timer-container {
      box-shadow: none !important;
      border: 1px solid #ccc !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 1rem !important;
    }
    
    .first-timer-logo {
      width: 60px !important;
      height: auto !important;
    }
    
    .first-timer-title {
      font-size: 1.5rem !important;
      margin: 0.25rem 0 !important;
    }
    
    .first-timer-subtitle {
      font-size: 1rem !important;
      margin: 0 0 0.5rem !important;
    }
    
    .first-timer-event-name {
      font-size: 1rem !important;
      margin: 0.25rem 0 !important;
    }
    
    .first-timer-qr {
      width: 120px !important;
      height: 120px !important;
      float: right !important;
      margin: 0 0 0.5rem 1rem !important;
    }
    
    .first-timer-step {
      margin-bottom: 1rem !important;
      page-break-inside: avoid !important;
    }
    
    .first-timer-step-title {
      font-size: 1rem !important;
      padding-right: 130px !important;
    }
    
    .first-timer-step-text {
      font-size: 0.9rem !important;
    }
    
    .first-timer-quote {
      margin: 1rem 0 0 !important;
      padding: 0.5rem !important;
      font-size: 0.9rem !important;
    }
  }

/* Modern Side-by-Side QR Code Page Styles */
.qr-container-modern {
  height: 100vh;
  display: flex;
  background: url(/static/media/c1bg3.e2f67a189cdf24dc6df4.png) center center/cover no-repeat;
  overflow: hidden;
}

/* Left side - Branding and Features */
.qr-left-panel {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(66, 127, 212, 0.6) 0%, rgba(90, 143, 232, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

.qr-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: 1;
}

.qr-branding {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 600px;
}

.qr-church-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.qr-church-logo {
  max-width: 200px;
  height: auto;
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.qr-branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-branding p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.5;
}

.qr-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
}

.qr-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.qr-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.qr-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.qr-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.qr-feature-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.qr-feature-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

/* Right side - QR Code Form */
.qr-right-panel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: white;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}

.qr-form-container {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-height: 90vh;
  overflow-y: auto;
}

.qr-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.qr-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.qr-form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.qr-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px auto;
  color: white;
}

.qr-event-info {
  margin-bottom: 32px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.qr-event-info .MuiTypography-root {
  color: white !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.qr-button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-button {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 16px;
  min-height: 48px;
  transition: all 0.2s ease;
  text-transform: none;
}

.qr-button-primary {
  background: white !important;
  color: var(--primary-color) !important;
  border: none !important;
}

.qr-button-primary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.qr-button-secondary {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
}

.qr-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .qr-container-modern {
    flex-direction: column;
    height: 100vh;
  }
  
  .qr-left-panel {
    padding: 20px 15px;
    min-height: 35vh;
    max-height: 35vh;
  }
  
  .qr-church-logo {
    max-width: 160px;
    max-height: 50px;
  }
  
  .qr-branding h1 {
    font-size: 2rem;
  }
  
  .qr-branding p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .qr-features {
    gap: 12px;
    max-height: 20vh;
  }
  
  .qr-feature {
    padding: 12px;
  }
  
  .qr-right-panel {
    padding: 20px 15px;
    max-height: 65vh;
  }
  
  .qr-form-container {
    padding: 24px;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .qr-container-modern {
    height: 100vh;
  }
  
  .qr-left-panel {
    padding: 15px 10px;
    min-height: 30vh;
    max-height: 30vh;
  }
  
  .qr-church-logo {
    max-width: 140px;
    max-height: 45px;
  }
  
  .qr-branding h1 {
    font-size: 1.75rem;
  }
  
  .qr-branding p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .qr-features {
    gap: 10px;
    max-height: 15vh;
  }
  
  .qr-feature {
    padding: 10px;
  }
  
  .qr-feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .qr-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .qr-right-panel {
    padding: 15px 10px;
    max-height: 70vh;
  }
  
  .qr-form-container {
    padding: 20px;
    max-height: 65vh;
  }
  
  .qr-form-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .qr-container-modern {
    height: 100vh;
  }
  
  .qr-left-panel {
    padding: 10px 8px;
    min-height: 25vh;
    max-height: 25vh;
  }
  
  .qr-church-logo {
    max-width: 120px;
    max-height: 40px;
  }
  
  .qr-branding h1 {
    font-size: 1.5rem;
  }
  
  .qr-branding p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .qr-features {
    gap: 8px;
    max-height: 12vh;
  }
  
  .qr-feature {
    padding: 8px;
  }
  
  .qr-feature-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .qr-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .qr-right-panel {
    padding: 10px 8px;
    max-height: 75vh;
  }
  
  .qr-form-container {
    padding: 16px;
    max-height: 70vh;
  }
  
  .qr-form-header h2 {
    font-size: 1.25rem;
  }
  
  .qr-button {
    padding: 12px;
  }
}

/* Legacy styles for backward compatibility */
.event-qrcode-root {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  background: var(--church-background-color, #f5f7fa);
  padding: 20px;
  overflow: hidden;
}

.event-qrcode-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(66,127,212,0.07);
  padding: 40px 32px 32px 32px;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  position: relative;
  top: -30px;
}

/* Church Logo */
.event-qrcode-church-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.event-qrcode-church-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #427fd4, #2c5bbf);
  background: linear-gradient(135deg, var(--church-primary-color, #427fd4), var(--church-secondary-color, #2c5bbf));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
}

.event-qrcode-church-logo img {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  z-index: 1;
  position: relative;
}

/* Church Name */
.event-qrcode-church-name {
  margin-bottom: 16px;
  text-align: center;
}

.event-qrcode-church-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  color: var(--church-primary-color, #222);
  margin: 0;
  line-height: 1.2;
}

/* Church Alias */
.event-qrcode-church-alias {
  margin-top: 4px;
  text-align: center;
}

.event-qrcode-church-alias-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  color: var(--church-secondary-color, #666);
  background: #f5f7fa;
  background: var(--church-background-color, #f5f7fa);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.event-qrcode-icon {
  color: #427fd4;
  color: var(--church-primary-color, #427fd4);
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-qrcode-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  margin-top: 0;
}

.event-qrcode-subtitle {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 24px;
}

.event-qrcode-eventinfo {
  margin-bottom: 18px;
}

.event-qrcode-btn {
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 0;
  margin-bottom: 8px;
  min-height: 48px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}

.event-qrcode-btn.main {
  background: #427fd4;
  background: var(--church-primary-color, #427fd4);
  color: #fff;
  color: var(--church-text-color, #fff);
  border: none;
}

.event-qrcode-btn.main:hover {
  background: #2c5bbf;
  background: var(--church-secondary-color, #2c5bbf);
}

.event-qrcode-btn:not(.main) {
  border: 2px solid #427fd4;
  border: 2px solid var(--church-primary-color, #427fd4);
  color: #427fd4;
  color: var(--church-primary-color, #427fd4);
  background: #fff;
}

.event-qrcode-btn:not(.main):hover {
  background: #e3eafc;
  background: var(--church-accent-color, #e3eafc);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .event-qrcode-root {
    padding: 16px;
  }
  
  .event-qrcode-card {
    padding: 36px 28px 28px 28px;
    max-width: 400px;
  }
  
  .event-qrcode-church-logo img {
    max-width: 100px;
    max-height: 100px;
  }
  
  .event-qrcode-church-title {
    font-size: 1.6rem;
  }
  
  .event-qrcode-icon {
    font-size: 2.6rem;
  }
  
  .event-qrcode-title {
    font-size: 1.35rem;
  }
  
  .event-qrcode-subtitle {
    font-size: 1rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .event-qrcode-root {
    padding: 12px;
  }
  
  .event-qrcode-card {
    padding: 32px 24px 24px 24px;
    max-width: 350px;
    border-radius: 16px;
  }
  
  .event-qrcode-church-logo img {
    max-width: 80px;
    max-height: 80px;
  }
  
  .event-qrcode-church-title {
    font-size: 1.4rem;
  }
  
  .event-qrcode-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
  
  .event-qrcode-title {
    font-size: 1.25rem;
  }
  
  .event-qrcode-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .event-qrcode-eventinfo {
    margin-bottom: 16px;
  }
  
  .event-qrcode-btn {
    font-size: 1rem;
    min-height: 44px;
    padding: 10px 0;
  }
}

/* Small Mobile Responsive */
@media (max-width: 600px) {
  .event-qrcode-root {
    padding: 8px;
  }
  
  .event-qrcode-card {
    padding: 24px 16px 18px 16px;
    max-width: 98vw;
    border-radius: 12px;
  }
  
  .event-qrcode-church-logo img {
    max-width: 70px;
    max-height: 70px;
  }
  
  .event-qrcode-church-title {
    font-size: 1.2rem;
  }
  
  .event-qrcode-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }
  
  .event-qrcode-title {
    font-size: 1.1rem;
  }
  
  .event-qrcode-subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  
  .event-qrcode-eventinfo {
    margin-bottom: 14px;
  }
  
  .event-qrcode-btn {
    font-size: 0.95rem;
    min-height: 40px;
    padding: 8px 0;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 480px) {
  .event-qrcode-root {
    padding: 6px;
  }
  
  .event-qrcode-card {
    padding: 20px 12px 16px 12px;
    max-width: 100vw;
    border-radius: 10px;
  }
  
  .event-qrcode-church-logo img {
    max-width: 60px;
    max-height: 60px;
  }
  
  .event-qrcode-church-title {
    font-size: 1.1rem;
  }
  
  .event-qrcode-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .event-qrcode-title {
    font-size: 1rem;
  }
  
  .event-qrcode-subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  .event-qrcode-eventinfo {
    margin-bottom: 12px;
  }
  
  .event-qrcode-btn {
    font-size: 0.9rem;
    min-height: 36px;
    padding: 6px 0;
  }
}

/* Extra Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .event-qrcode-root {
    padding: 4px;
  }
  
  .event-qrcode-card {
    padding: 16px 8px 12px 8px;
    border-radius: 8px;
  }
  
  .event-qrcode-church-logo img {
    max-width: 50px;
    max-height: 50px;
  }
  
  .event-qrcode-church-title {
    font-size: 1rem;
  }
  
  .event-qrcode-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .event-qrcode-title {
    font-size: 0.9rem;
  }
  
  .event-qrcode-subtitle {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }
  
  .event-qrcode-eventinfo {
    margin-bottom: 10px;
  }
  
  .event-qrcode-btn {
    font-size: 0.85rem;
    min-height: 32px;
    padding: 4px 0;
  }
} 

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.header-info {
  flex: 1 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin: 0;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Table Container */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
}

.participants-table {
  width: 100%;
  min-width: 1100px; /* Minimum width to prevent squashing */
  border-collapse: collapse;
  background: white;
}

.participants-table th, 
.participants-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  word-wrap: break-word;
  max-width: 200px;
}

.participants-table th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
}

.participants-table tr:hover {
  background-color: #f8f9fa;
}

/* Column widths for better distribution */
.participants-table th:nth-child(1), /* Name */
.participants-table td:nth-child(1) {
  width: 20%;
  min-width: 120px;
}

.participants-table th:nth-child(2), /* Email */
.participants-table td:nth-child(2) {
  width: 15%;
  min-width: 100px;
}

.participants-table th:nth-child(3), /* Phone */
.participants-table td:nth-child(3) {
  width: 12%;
  min-width: 80px;
}

.participants-table th:nth-child(4), /* Attendance Count */
.participants-table td:nth-child(4) {
  width: 12%;
  min-width: 80px;
}

.participants-table th:nth-child(5), /* IsHOD */
.participants-table td:nth-child(5) {
  width: 8%;
  min-width: 60px;
}

.participants-table th:nth-child(6), /* Department */
.participants-table td:nth-child(6) {
  width: 18%;
  min-width: 100px;
}

.participants-table th:nth-child(7), /* Contact Status */
.participants-table td:nth-child(7) {
  width: 12%;
  min-width: 120px;
  white-space: nowrap;
}

.participants-table th:nth-child(8), /* Absent Reason */
.participants-table td:nth-child(8) {
  width: 18%;
  min-width: 140px;
}

.participants-table th:nth-child(9), /* Notes */
.participants-table td:nth-child(9) {
  width: 18%;
  min-width: 140px;
}

.participants-table th:nth-child(10), /* Actions */
.participants-table td:nth-child(10) {
  width: 15%;
  min-width: 140px;
  white-space: nowrap;
}

.attendee-name {
  font-weight: 600;
  color: #2d3748;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #427fd4;
  color: white;
}

.status-chip.active {
  background: #48bb78;
}

.status-chip.inactive {
  background: #e53e3e;
}

.status-chip.pending {
  background: #ed8936;
}

.status-chip.unknown {
  background: #a0aec0;
}

/* Contact status chips */
.contact-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: capitalize;
}

.contact-status-chip.not-contacted {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.contact-status-chip.contacted {
  background: #fef5e7;
  color: #d69e2e;
  border: 1px solid #f6e05e;
}

.contact-status-chip.reason-provided {
  background: #f0fff4;
  color: #38a169;
  border: 1px solid #68d391;
}

/* Action buttons container */
.action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  background: none !important;
  padding: 0 !important;
}

.action-buttons .MuiIconButton-root {
  background: none !important;
  border-radius: 50% !important;
  padding: 4px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 32px;
  height: 32px;
  box-shadow: none !important;
}

/* Absent reason text */
.absent-reason-text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  color: #4a5568;
}

.absent-reason-text.no-reason {
  color: #a0aec0;
  font-style: italic;
}



.no-results {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .participants-page {
    padding: 20px;
  }
  
  .page-header {
    padding: 28px;
    margin-bottom: 28px;
  }
  
  .page-title {
    font-size: 2.2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .participants-table {
    min-width: 1000px;
  }
  
  .participants-table th, 
  .participants-table td {
    padding: 10px 12px;
    max-width: 180px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .participants-page {
    padding: 16px;
  }
  
  .page-header {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
  
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  
  .participants-table {
    min-width: 900px;
    font-size: 14px;
  }
  
  .participants-table th, 
  .participants-table td {
    padding: 8px 10px;
    max-width: 150px;
  }
  
  .participants-table th {
    font-size: 13px;
  }
  
  /* Adjust column widths for mobile */
  .participants-table th:nth-child(1), /* Name */
  .participants-table td:nth-child(1) {
    min-width: 100px;
  }
  
  .participants-table th:nth-child(2), /* Email */
  .participants-table td:nth-child(2) {
    min-width: 80px;
  }
  
  .participants-table th:nth-child(3), /* Phone */
  .participants-table td:nth-child(3) {
    min-width: 60px;
  }
  
  .participants-table th:nth-child(4), /* Attendance Count */
  .participants-table td:nth-child(4) {
    min-width: 60px;
  }
  
  .participants-table th:nth-child(5), /* IsHOD */
  .participants-table td:nth-child(5) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(6), /* Department */
  .participants-table td:nth-child(6) {
    min-width: 80px;
  }
  
  .participants-table th:nth-child(7), /* Contact Status */
  .participants-table td:nth-child(7) {
    min-width: 80px;
  }
  
  .participants-table th:nth-child(8), /* Absent Reason */
  .participants-table td:nth-child(8) {
    min-width: 90px;
  }
  
  .participants-table th:nth-child(9), /* Notes */
  .participants-table td:nth-child(9) {
    min-width: 90px;
  }
  
  .participants-table th:nth-child(10), /* Actions */
  .participants-table td:nth-child(10) {
    min-width: 100px;
  }
  

  
  .status-chip {
    padding: 3px 10px;
    font-size: 0.7rem;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .participants-page {
    padding: 12px;
  }
  
  .page-header {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .header-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .participants-table {
    min-width: 800px;
    font-size: 13px;
  }
  
  .participants-table th, 
  .participants-table td {
    padding: 6px 8px;
    max-width: 120px;
  }
  
  .participants-table th {
    font-size: 12px;
  }
  
  /* Further adjust column widths for small mobile */
  .participants-table th:nth-child(1), /* Name */
  .participants-table td:nth-child(1) {
    min-width: 80px;
  }
  
  .participants-table th:nth-child(2), /* Email */
  .participants-table td:nth-child(2) {
    min-width: 60px;
  }
  
  .participants-table th:nth-child(3), /* Phone */
  .participants-table td:nth-child(3) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(4), /* Attendance Count */
  .participants-table td:nth-child(4) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(5), /* IsHOD */
  .participants-table td:nth-child(5) {
    min-width: 40px;
  }
  
  .participants-table th:nth-child(6), /* Department */
  .participants-table td:nth-child(6) {
    min-width: 60px;
  }
  
  .participants-table th:nth-child(7), /* Contact Status */
  .participants-table td:nth-child(7) {
    min-width: 60px;
  }
  
  .participants-table th:nth-child(8), /* Absent Reason */
  .participants-table td:nth-child(8) {
    min-width: 70px;
  }
  
  .participants-table th:nth-child(9), /* Notes */
  .participants-table td:nth-child(9) {
    min-width: 70px;
  }
  
  .participants-table th:nth-child(10), /* Actions */
  .participants-table td:nth-child(10) {
    min-width: 80px;
  }
  

  
  .status-chip {
    padding: 2px 8px;
    font-size: 0.65rem;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 360px) {
  .participants-page {
    padding: 8px;
  }
  
  .page-header {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .page-title {
    font-size: 1.3rem;
  }
  
  .page-subtitle {
    font-size: 0.85rem;
  }
  
  .participants-table {
    min-width: 750px;
    font-size: 12px;
  }
  
  .participants-table th, 
  .participants-table td {
    padding: 4px 6px;
    max-width: 100px;
  }
  
  .participants-table th {
    font-size: 11px;
  }
  
  /* Minimal column widths for extra small mobile */
  .participants-table th:nth-child(1), /* Name */
  .participants-table td:nth-child(1) {
    min-width: 70px;
  }
  
  .participants-table th:nth-child(2), /* Email */
  .participants-table td:nth-child(2) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(3), /* Phone */
  .participants-table td:nth-child(3) {
    min-width: 40px;
  }
  
  .participants-table th:nth-child(4), /* Attendance Count */
  .participants-table td:nth-child(4) {
    min-width: 40px;
  }
  
  .participants-table th:nth-child(5), /* IsHOD */
  .participants-table td:nth-child(5) {
    min-width: 35px;
  }
  
  .participants-table th:nth-child(6), /* Department */
  .participants-table td:nth-child(6) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(7), /* Contact Status */
  .participants-table td:nth-child(7) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(8), /* Absent Reason */
  .participants-table td:nth-child(8) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(9), /* Notes */
  .participants-table td:nth-child(9) {
    min-width: 50px;
  }
  
  .participants-table th:nth-child(10), /* Actions */
  .participants-table td:nth-child(10) {
    min-width: 70px;
  }
  

  
  .status-chip {
    padding: 2px 6px;
    font-size: 0.6rem;
  }
} 




.church-details-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-gap: 32px;
  gap: 32px;
  margin-top: 32px;
}

.church-details-main {
  min-width: 0;
}

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* Settings Card Styles */
.settings-card {
  background: linear-gradient(135deg, #427fd4 0%, #0369a1 100%);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: white;
}

.card-content {
  padding: 32px;
  background: white;
}

/* Sidebar Styles */
.settings-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  height: -webkit-fit-content;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  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 #e2e8f0;
}

.sidebar-card-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #427fd4 0%, #0369a1 100%);
  color: white;
}

.sidebar-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.sidebar-card-content {
  padding: 24px;
}

/* Plan Limits Styles */
.plan-limits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-limit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.plan-limit-label {
  font-weight: 500;
  color: #64748b;
  font-size: 0.875rem;
}

.plan-limit-value {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.875rem;
}

/* Usage Overview Styles */
.usage-overview-item {
  transition: all 0.3s ease;
}

.usage-overview-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .church-details-content {
    grid-template-columns: 1fr;
  }
  
  .settings-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .church-details-container {
    padding: 16px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .card-content {
    padding: 24px;
  }
  
  .card-header {
    padding: 20px 24px;
  }
}

/* Loading Container */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

/* Button Styles */
.settings-header-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Form Field Styles */
.MuiTextField-root {
  margin-bottom: 16px;
}

/* Tab Styles */
.MuiTabs-root {
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Dialog Styles */
.MuiDialog-paper {
  border-radius: 16px;
}

.MuiDialogTitle-root {
  background: linear-gradient(135deg, #427fd4 0%, #0369a1 100%);
  color: white;
}

/* Chip Styles */
.MuiChip-root {
  font-weight: 600;
}

/* Avatar Styles */
.MuiAvatar-root {
  border: 3px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.plan-card {
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  padding: 8px !important;
}

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

.plan-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.plan-price {
  font-size: 2rem;
  font-weight: bold;
  margin: 8px 0;
}

.plan-cycle {
  opacity: 0.9;
  font-size: 0.9rem;
}

.css-1lj39kh-MuiAccordionDetails-root {
  padding: 8px 8px !important;
}
.css-1fkc252-MuiListItem-root{
    padding-left: 4px !important;
    padding-right: 4px !important;
}



/* Stripe Status Indicators */
.stripe-status-valid {
  background-color: #4caf50;
  color: white;
}

.stripe-status-invalid {
  background-color: #f44336;
  color: white;
}

.stripe-status-error {
  background-color: #ff9800;
  color: white;
}

.stripe-status-unknown {
  background-color: #9e9e9e;
  color: white;
}

/* Loading Animation for Stripe Validation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating {
  animation: rotate 1s linear infinite;
}

/* Plan Limits Grid */
.plan-limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.limit-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.limit-icon {
  margin-right: 8px;
  color: #1976d2;
}

.limit-text {
  font-size: 0.9rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.feature-icon {
  margin-right: 8px;
  color: #4caf50;
}

.feature-icon.disabled {
  color: #ccc;
}

/* Dialog Enhancements */
.plan-dialog {
  max-width: 800px;
}

.stripe-integration-section {
  background-color: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.stripe-details-pre {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  font-family: 'Montserrat', monospace;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 300px;
  overflow-y: auto;
}

/* Tabs */
.subscription-tabs {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
}

/* Analytics Cards */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.analytics-card {
  text-align: center;
  padding: 24px;
}

.analytics-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1976d2;
  margin: 8px 0;
}

.analytics-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .plan-limits-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* Error States */
.error-alert {
  margin-bottom: 24px;
}

/* Success States */
.success-chip {
  background-color: #4caf50 !important;
  color: white !important;
}

/* Warning States */
.warning-chip {
  background-color: #ff9800 !important;
  color: white !important;
}

/* Loading States */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  flex-direction: column;
  gap: 16px;
}

/* Table Enhancements */
.plans-table {
  margin-top: 24px;
}

.table-header {
  background-color: #f5f5f5;
  font-weight: 600;
}

.table-cell-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Button Enhancements */
.primary-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.secondary-button {
  border: 1px solid #1976d2;
  color: #1976d2;
  background: transparent;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.secondary-button:hover {
  background-color: #1976d2;
  color: white;
}
.plan-form-wizard {
  .step-content {
    min-height: 400px;
    padding: 24px 0;
  }
  
  .feature-card {
    transition: all 0.2s ease-in-out;
    
    &:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
  }
  
  .limit-card {
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    
    &:hover {
      border-color: #1976d2;
      box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
    }
  }
  
  .preview-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: none;
    
    .plan-price {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 700;
    }
  }
  
  .stripe-integration-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%, #4facfe 100%);
    color: white;
    
    .MuiTypography-root {
      color: white;
    }
    
    .MuiFormControlLabel-label {
      color: white;
    }
  }
  
  .rotating {
    animation: rotate 2s linear infinite;
  }
  
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    
    &.active {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
    }
    
    &.completed {
      background: #4caf50;
      color: white;
    }
    
    &.pending {
      background: #e0e0e0;
      color: #666;
    }
  }
  
  .form-section {
    margin-bottom: 32px;
    
    .section-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid #f0f0f0;
      
      .section-icon {
        padding: 8px;
        border-radius: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }
    }
  }
  
  .validation-error {
    animation: shake 0.5s ease-in-out;
  }
  
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
  }
  
  .feature-list {
    max-height: 400px;
    overflow-y: auto;
    
    &::-webkit-scrollbar {
      width: 6px;
    }
    
    &::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 3px;
    }
    
    &::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 3px;
      
      &:hover {
        background: #a8a8a8;
      }
    }
  }
  
  .plan-preview {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 16px 0;
    
    .plan-header {
      text-align: center;
      margin-bottom: 24px;
      
      .plan-name {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      
      .plan-price {
        font-size: 3rem;
        font-weight: 800;
        color: #2e7d32;
        margin: 16px 0;
      }
      
      .plan-badges {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
      }
    }
  }
  
  .step-navigation {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    margin-top: 24px;
  }
  
  
  @media (max-width: 768px) {
    .step-content {
      min-height: 300px;
      padding: 16px 0;
    }
    
    .plan-preview {
      padding: 16px;
      
      .plan-header .plan-name {
        font-size: 1.5rem;
      }
      
      .plan-header .plan-price {
        font-size: 2rem;
      }
    }
  }
}


.MuiStepper-root {
  .MuiStepLabel-root {
    .MuiStepLabel-iconContainer {
      .MuiSvgIcon-root {
        font-size: 2rem;
      }
    }
  }
  
  .MuiStepConnector-line {
    border-color: #e0e0e0;
    border-top-width: 2px;
  }
  
  .MuiStep-root {
    &.Mui-active {
      .MuiStepConnector-line {
        border-color: #1976d2;
      }
    }
    
    &.Mui-completed {
      .MuiStepConnector-line {
        border-color: #4caf50;
      }
    }
  }
}


.MuiTextField-root {
  .MuiOutlinedInput-root {
    transition: all 0.2s ease-in-out;
    
    &:hover {
      .MuiOutlinedInput-notchedOutline {
        border-color: #1976d2;
      }
    }
    
    &.Mui-focused {
      .MuiOutlinedInput-notchedOutline {
        border-width: 2px;
        border-color: #1976d2;
      }
    }
  }
}

.MuiCard-root {
  transition: all 0.2s ease-in-out;
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
}

.support-container {
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    max-width: 1200px;
  }

    
  .support-header {
    background: var(--primary-color);
    padding: 32px;
    margin-bottom: 32px;
    color: white;
  }
  
  .support-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
  }
  
  .support-header-info h1 {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
  }
  
  .support-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
  }
  
  .support-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  
  .support-content {
    display: grid;
    grid-gap: 24px;
    gap: 24px;
    grid-template-columns: 1fr;
  }

  /* Full width card (System Health) */
  .support-card-full {
    grid-column: 1 / -1;
  }

  /* Rate limiting management styles */
  .rate-limit-result {
    margin-top: 16px;
  }

  /* Page header grid layout */
  .page-header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    grid-gap: 24px;
    gap: 24px;
    width: 100%;
  }

  /* Card header grid layout */
  .card-header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    grid-gap: 24px;
    gap: 24px;
    width: 100%;
  }

  /* Info value styling */
  .info-value-success {
    color: #10b981;
  }

  .info-value-error {
    color: #ef4444;
  }

  .info-value-small {
    font-size: 0.875rem;
  }

  /* Usage bar dynamic width */
  .usage-bar-fill {
    transition: width 0.3s ease;
  }
  
  @media (min-width: 768px) {
    .support-content {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .support-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
  
  .card-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 24px;
  }
  
  .card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
  }
  
  .card-content {
    padding: 24px;
  }
  
  .info-grid {
    display: grid;
    grid-gap: 20px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 640px) {
    .info-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .info-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
  }
  
  .info-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
  }
  
  .info-chip.status.healthy {
    background: #dcfce7;
    color: #166534;
  }
  
  .info-chip.status.warning {
    background: #fef3c7;
    color: #92400e;
  }
  
  .info-chip.status.error {
    background: #fee2e2;
    color: #991b1b;
  }
  
  .info-chip.type {
    background: #dbeafe;
    color: #1e40af;
  }
  
  .info-chip.purpose {
    background: #f3e8ff;
    color: #7c3aed;
  }
  
  .info-chip.mode {
    background: #ecfdf5;
    color: #065f46;
  }
  
  .memory-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 16px;
    gap: 16px;
    margin-top: 16px;
  }
  
  .memory-stat {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  
  .memory-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
  }
  
  .memory-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
  }
  
  .usage-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
  }
  
  .usage-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    transition: width 0.3s ease;
  }
  
  .usage-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
  }
  
  .usage-fill.danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
  }
  
  .metrics-update-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
  }
  
  .metrics-update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }
  
  .metrics-update-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
  }
  
  .metrics-update-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .metrics-update-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
  }
  
  .metrics-update-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  
  .metrics-result {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .metrics-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .metrics-result-item:last-child {
    border-bottom: none;
  }
  
  .metrics-result-label {
    font-weight: 500;
    opacity: 0.9;
  }
  
  .metrics-result-value {
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
  }
  
  .error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    margin-top: 16px;
  }
  
  .success-message {
    background: #dcfce7;
    color: #166534;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    margin-top: 16px;
  }
  
  @media (max-width: 768px) {
    .support-header-content {
      flex-direction: column;
      align-items: stretch;
    }
    
    .support-header-actions {
      justify-content: center;
    }
    
    .support-page {
      padding: 16px;
    }
    
    .support-header {
      padding: 24px;
    }
    
    .support-header-info h1 {
      font-size: 2rem;
    }
  }
/* .billing-analytics-page {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.billing-analytics-page .MuiCard-root {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.billing-analytics-page .MuiCard-root:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.billing-analytics-page .metric-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.billing-analytics-page .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1976d2;
  margin: 8px 0;
}

.billing-analytics-page .metric-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
} */

.billing-analytics-page .metric-change.positive {
  color: #2e7d32;
}

.billing-analytics-page .metric-change.negative {
  color: #d32f2f;
}

.billing-analytics-page .chart-container {
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
  margin-top: 16px;
}

.billing-analytics-page .chart-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.billing-analytics-page .time-range-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.billing-analytics-page .export-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.billing-analytics-page .export-section .MuiButton-root {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.billing-analytics-page .export-section .MuiButton-root:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.billing-analytics-page .insights-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.billing-analytics-page .plan-performance-item {
  padding: 16px;
  border-left: 4px solid #1976d2;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
}

.billing-analytics-page .plan-performance-item:nth-child(even) {
  border-left-color: #2e7d32;
}

.billing-analytics-page .plan-performance-item:nth-child(3n) {
  border-left-color: #ed6c02;
}

.billing-analytics-page .summary-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.billing-analytics-page .summary-stat:last-child {
  border-bottom: none;
}

.billing-analytics-page .summary-stat-label {
  font-weight: 500;
  color: #666;
}

.billing-analytics-page .summary-stat-value {
  font-weight: 600;
  color: #333;
}

.billing-analytics-page .trend-indicator {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.billing-analytics-page .trend-indicator.up {
  background: #e8f5e8;
  color: #2e7d32;
}

.billing-analytics-page .trend-indicator.down {
  background: #ffeaea;
  color: #d32f2f;
}

.billing-analytics-page .trend-indicator.stable {
  background: #fff3e0;
  color: #ed6c02;
}

.billing-analytics-page .loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 16px;
}

.billing-analytics-page .error-container {
  text-align: center;
  padding: 40px;
}

.billing-analytics-page .no-data-container {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.billing-analytics-page .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .billing-analytics-page {
    padding: 16px;
  }
  
  .billing-analytics-page .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .billing-analytics-page .time-range-selector {
    justify-content: center;
  }
  
  .billing-analytics-page .metric-value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .billing-analytics-page .metric-value {
    font-size: 1.75rem;
  }
  
  .billing-analytics-page .chart-container {
    padding: 12px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .billing-analytics-page .chart-container {
    background: #1e1e1e;
  }
  
  .billing-analytics-page .plan-performance-item {
    background: #2d2d2d;
    color: #fff;
  }
  
  .billing-analytics-page .insights-card {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  }
}


/*# sourceMappingURL=main.f8d7968d.css.map*/