/* =========================================================================
   THEME INFORMATION
   ========================================================================= */
/*
Theme Name: Custom Extendable
Description: A modern, gradient-based block theme with soft UI and neumorphism-inspired visuals.
Version: 2.0
Text Domain: custom-extendable
*/

/* =========================================================================
   COLOR PALETTE & VARIABLES
   ========================================================================= */
:root {
  --primary: #4361ee;
  --primary-hover: #3a56d4;
  --primary-light: #ebf0ff;
  --secondary: #7209b7;
  --accent: #f72585;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --text-color: #1e293b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* =========================================================================
   GLOBAL BASE STYLES
   ========================================================================= */
body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-50);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all var(--transition-fast);
}

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

/* =========================================================================
   HEADER
   ========================================================================= */
.smb-main-header.modern-header {
  background: linear-gradient(145deg, #f5f7fa, #ffffff);
  box-shadow: 0 12px 30px rgba(67, 97, 238, 0.06);
  border: none;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.smb-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.25rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smb-logo-img img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
  transition: transform 0.3s ease;
}

.smb-logo-img img:hover {
  transform: scale(1.05);
}

.smb-nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.smb-nav-menu a {
  font-weight: 600;
  font-size: 16px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
}

.smb-nav-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.08);
}

/* =========================================================================
   AUTH BUTTONS
   ========================================================================= */
.smb-auth-buttons {
  display: flex;
  gap: 1rem;
}

.auth-button,
.auth-button-wrapper .login-logout-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #4cc9f0, #4895ef);
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(76, 201, 240, 0.2);
}

.register-button {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
}

.auth-button-wrapper .login-logout-wrapper {
  background: linear-gradient(135deg, #f72585, #b5179e);
}

.auth-button:hover,
.auth-button-wrapper .login-logout-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.footer-links a {
  color: var(--gray-200);
  display: block;
  margin: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--primary);
  color: white !important;
  border: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

button:hover,
.wp-block-button__link:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #4361ee !important;
}

/* =========================================================================
   DASHBOARD TABS
   ========================================================================= */
.dashboard-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.tab-link {
  padding: 0.75rem 1.5rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.tab-link:hover,
.tab-link:focus {
  background: var(--primary-light);
  color: var(--primary);
}

.tab-link.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
  .smb-header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .smb-logo,
  .smb-primary-nav,
  .smb-auth-buttons {
    flex: 1 1 100%;
    text-align: center;
  }
	.smb-auth-buttons{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		
	}
  .smb-nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-link {
    text-align: center;
  }
}


/* ==========================================================================
JOBS DASHBOARD
==========================================================================
*/

.recruiter-dashboard {
  max-width: 1200px;
  margin: 2rem auto !important;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  font-family: 'Inter', sans-serif;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.job-accordion {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow 0.3s ease;
}

.job-accordion.active {
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion-toggle {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.accordion-toggle:hover {
  background: var(--gray-100);
}

.toggle-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4361ee;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.job-accordion.active .accordion-content {
  max-height: 5000px;
  padding: 1.5rem;
}


.form-section label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 8px;
}

.form-section select {
  width: 20%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: border 0.3s ease;
}


.form-section input:focus,
.form-section select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.option-item {
  padding: 1rem;
  text-align: center;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}



.option-item::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  margin-right: 8px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.option-item.active::before {
  background: var(--primary);
  border-color: var(--primary);
}

.option-item:hover,
.option-item.active {
  background: var(--primary-light);
  border-color: var(--primary);
}

.option-item i {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--primary);
}

.clear-option {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dashboard-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-btn.primary {
  background: var(--primary);
  color: white;
}

.dashboard-btn.secondary {
  background: var(--gray-500);
  color: white;
}

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






==========================================================================
   SINGLE JOB
   ========================================================================== */

.single-job-container.quiety-theme {
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    overflow: hidden !important;
}

.job-header {
background: linear-gradient(135deg, #0073e6 0%, #7c3aed 100%) !important;
    color: white !important;
    padding: 3rem 2.5rem !important;
    position: relative !important;
}

.job-header-content {
    max-width: 800px;
}

.job-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
}

.job-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.job-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-status-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.job-status-badge.closed { background: #ef4444; }
.job-status-badge.expired { background: #f59e0b; }

.job-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.highlight-card i {
    font-size: 1.5rem;
    color: #4f46e5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 8px;
}

.highlight-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.highlight-value {
    font-weight: 600;
    color: #1f2937;
}

.job-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    padding: 2.5rem;
}

.job-description-section {
    padding-right: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #4f46e5;
}

.job-description {
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

.job-description p {
    margin-bottom: 1.5rem;
}

.social-media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    color: #4b5563;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.social-platform:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.social-platform i {
    font-size: 1rem;
    color: #4f46e5;
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    color: #4f46e5;
}

.company-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 0;
}

.company-link:hover {
    color: #7c3aed;
}

.company-link i {
    width: 20px;
    text-align: center;
}

.reveal-progress-box {
    margin: 1.5rem 0;
}

.progress-container {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s;
}

.progress-bar.green { background: #10b981; }
.progress-bar.orange { background: #f59e0b; }
.progress-bar.red { background: #ef4444; }

.reveal-stats {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reveal-stats.unlimited {
    color: #10b981;
    font-weight: 500;
}

.reveal-btn {
    width: 100%;
    padding: 1rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    margin-top: 1rem;
}

.reveal-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.reveal-btn.revealed {
    background: #6b7280;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert i {
    font-size: 1.1rem;
}

.alert-error { background: #fee2e2; color: #b91c1c; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info { background: #dbeafe; color: #1e40af; }

.login-prompt {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    color: #4b5563;
}

.login-prompt a {
    color: #4f46e5;
    font-weight: 500;
    text-decoration: none;
}

.global-reveal-info {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-login {
    display: inline-block;
    margin-top: 8px;
    background-color: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}
.btn-login:hover {
    background-color: #005177;
}
/* Edit section styles remain the same as before */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.contact-btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px 0;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.contact-btn:hover {
    background-color: #005f8d;
}
@media (max-width: 768px) {
  .job-content-grid {
    grid-template-columns: 1fr; /* Stack in 1 column */
  }

  .job-description-section {
    padding-right: 0; /* Remove extra right padding */
  }

  .job-sidebar {
    order: 2; /* Make sidebar appear after the description */
    margin-top: 2rem; /* Add space between sections */
  }
	.sidebar-card {
		width: 95%;
	}
}

/* ==========================================================================
PRICING
========================================================================== */

.pricing-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.plan-price {
  font-size: 2rem;
  color: #007bff;
  margin: 0;
}

.plan-description {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  text-align: left;
}

.plan-features li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.plan-features i {
  color: #007bff;
  margin-right: 8px;
}

.pricing-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.cta-button {
  background: #007bff;
  color: white;
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #0056b3;
}


/* ==========================================================================
MENU BAR
========================================================================== */
.pms-submenu-wrapper {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.pms-submenu-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.pms-submenu-button {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.2,0,0.1,1);
}

.pms-submenu-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.pms-upgrade-button {
    background: #3a86ff;
    color: white;
    font-weight: 600;
}

.pms-button-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: #64748b;
}

.pms-upgrade-button .pms-button-icon {
    color: rgba(255,255,255,0.9);
}

/* ==========================================================================
LOGIN
========================================================================== */

/* Login Overlay Styles */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-overlay-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.login-overlay-content {
  position: relative;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  margin: 20px;
}

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

.login-close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: white !important;
  padding: 5px;
}

.login-close-button:hover {
  color: #333;
}

/* Form Styles */
.login-form .form-group {
  margin-bottom: 1.2rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 95%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.form-actions {
  margin-top: 1.5rem;
}

.login-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.login-links a {
  color: #0073aa;
  text-decoration: none;
  font-size: 0.9rem;
}

.login-links a:hover {
  text-decoration: underline;
}

.login-links i {
  margin-right: 0.5rem;
}

/* Make “Create Your Account” modal never exceed 95% of viewport height */
#registrationOverlay .login-overlay-content {
  /* remove the fixed margin so our height calculation is accurate */
  margin: 0 auto;
  /* cap height to 95% of viewport */
  max-height: 95vh;
  /* allow internal scroll if content is taller */
  overflow-y: auto;
  /* optional: keep the modal from touching the very top/bottom */
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* On small screens, you might already have this – just ensure max-width stays relative */
@media (max-width: 768px) {
  #registrationOverlay .login-overlay-content {
    max-width: 80%;
  }
}


-------------------------------------------------------------------------- */
#registrationOverlay .login-overlay-content {
  /* Slightly wider on desktop than the login box */
  max-width: 480px;
}

/* -----------------------  Tablets & small laptops  -------------------- */
@media (max-width: 768px) {
  #registrationOverlay .login-overlay-content {
    /* use almost full width but keep margins */
    max-width: 80%;
    padding: 2rem;
  }
}

/* -----------------------  Phones & small devices  --------------------- */
@media (max-width: 480px) {
  #registrationOverlay .login-overlay-content {
    padding: 1.5rem;
    border-radius: 8px;
  }

  /* make individual form-groups stack tighter */
  #registrationOverlay .login-form .form-group {
    margin-bottom: 1rem;
  }

  /* password strength meter: full-width bar */
  #registrationOverlay .password-strength-meter .strength-bar {
    height: 6px;
    border-radius: 3px;
  }

  /* buttons: take full width, finger friendly */
  #registrationOverlay .cta-button {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  /* login links: center-align on tiny screens */
  #registrationOverlay .login-links {
    text-align: center;
  }
}


/* ==========================================================================
BLOG POSTS
========================================================================== */

/* Grid layout: 3 columns for blog cards */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Individual blog card */
.blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-thumb img.blog-featured-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
}

.blog-card-meta {
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  gap: 1rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #334155;
}

.blog-card-btn {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: #4361ee;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blog-card-btn:hover {
  background: #3a0ca3;
}

/* Pagination */
.blog-pagination {
  margin-top: 2rem;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.4rem 0.75rem;
  background: #f1f5f9;
  color: #334155;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.blog-pagination .current {
  background: #4361ee;
  color: white;
}


.wp-block-navigation__responsive-container-open {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 0.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wp-block-navigation__responsive-container-open:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wp-block-navigation__responsive-container-open svg {
  fill: white;
}





@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}

//* ==========================================================================
HERO SECTION - Clean Professional Style
========================================================================== */

.sb-hero-wrapper {
  background: #f8fafc;
  padding: 80px 20px;
  font-family: 'Inter', sans-serif;
}

.sb-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.sb-hero-content {
  flex: 1;
  padding-right: 40px;
}

.sb-hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.sb-hero-title span {
  color: #2563eb;
}

.sb-hero-description {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.5;
}

.sb-hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.sb-stat {
  flex: 1;
}

.sb-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 5px;
}

.sb-stat span {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.sb-hero-cta {
  display: inline-block;
  padding: 14px 28px;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sb-hero-cta:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.sb-hero-image {
  flex: 1;
}

.sb-hero-image img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .sb-latest-jobs {
        padding: 2rem 1rem;
        background: #f9f9f9;
        margin-top: 2rem;
    }
    .sb-latest-title {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }
    .sb-jobs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-top: 1rem;
    }
    .sb-job-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: 0.3s;
    }
    .sb-job-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }
    .sb-job-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }
    .sb-job-excerpt {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        color: #666;
    }
    .sb-job-link {
        font-weight: 500;
        color: #0073aa;
        text-decoration: none;
    }
    .sb-job-link:hover {
        text-decoration: underline;
    }

/* Responsive Styles */
@media (max-width: 1024px) {
  .sb-hero-container {
    gap: 40px;
  }
  
  .sb-hero-title {
    font-size: 40px;
  }
  
  .sb-hero-stats {
    gap: 20px;
  }
}

.sb-job-excerpt {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* hide anything overflowing */
    text-overflow: ellipsis; /* add ... if text overflows */
    max-height: 4.5em; /* 1.5em per line x 3 lines = 4.5em */
}


@media (max-width: 768px) {
  .sb-hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .sb-hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .sb-hero-stats {
    justify-content: center;
  }
  
  .sb-hero-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .sb-hero-wrapper {
    padding: 60px 20px;
  }
  
  .sb-hero-title {
    font-size: 32px;
  }
  
  .sb-hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .sb-stat strong {
    font-size: 32px;
  }
}

//* ==========================================================================
JOB BOARD
========================================================================== */

.pagination-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;          /* make it span the full width */
    margin: 2rem auto 0 !important;  /* vertical gap + auto left/right to center the container itself */
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}


.pagination-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
	color: #4361ee !important;
}

.pagination-btn:hover {
    background-color: #f0f0f0;
	color: white;
}

.pagination-btn.active {
    background-color: #4361ee;
    color: white !important;
    border-color: #0073aa;
    font-weight: bold;
}

.pagination-btn.prev-btn,
.pagination-btn.next-btn {
    font-size: 1.2rem;
    padding: 0.5rem 0.9rem;
}





.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background-color: #f1f5f9; /* Light background */
    color: #333; /* Dark text */
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 20px;
    border: 1px solid #ccc;
    display: inline-block;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}


.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.lightbox-nav button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.lightbox-nav button:hover {
    color: #0073aa;
}
.portfolio-gallery img {
    cursor: pointer;
    transition: transform 0.2s;
}

.portfolio-gallery img:hover {
    transform: scale(1.05);
}



.wp-post-image {
    width: 100%;
    height: auto !important; /* <-- override Gutenberg's forced height */
    max-width: 700px; /* <-- standardize maximum width */
    max-height: 400px; /* <-- control max height */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: block;
    margin: 2rem auto; /* center it */
}

.wp-block-post-featured-image,
.wp-block-featured-image,
.wp-block-post-featured-image.alignwide,
.wp-block-post-featured-image.alignfull {
    aspect-ratio: auto !important; /* cancel any forced aspect ratio */
    height: auto !important; /* allow natural image height */
}

.blog-post-content img {
    width: 100% !important;
    max-width: 760px;
    height: auto !important;
    display: block;
    margin: 2rem auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.blog-post-content figure {
    margin: 2rem auto;
    max-width: 760px;
    text-align: center;
}

.blog-post-content figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}


//* ==========================================================================
TAB SUBSCRIPTION
========================================================================== */


.subscription-management-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tab-heading {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.plans-heading {
    text-align: center;
    color: #2d3748;
    margin: 40px 0 10px;
    font-size: 24px;
    font-weight: 600;
}

.plans-subheading {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-size: 16px;
}

.subscription-overview-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin: 20px auto;
    max-width: 600px;
    border: 1px solid #e2e8f0;
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
}

.overview-header h3 {
    margin: 0;
    color: #4a5568;
    font-size: 18px;
    font-weight: 600;
}

.plan-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.plan-badge.free {
    background: #e2e8f0;
    color: #4a5568;
}

.plan-badge.premium {
    background: #bee3f8;
    color: #2b6cb0;
}

.plan-badge.recruiter {
    background: #c6f6d5;
    color: #276749;
}

.overview-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.overview-details p {
    margin: 5px 0;
    color: #4a5568;
    font-size: 15px;
}

.status-indicator {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status-indicator.active, 
.status-indicator.active\\(free\\) {
    background: #c6f6d5;
    color: #276749;
}

.status-indicator.pending {
    background: #feebc8;
    color: #9c4221;
}

.status-indicator.cancelled {
    background: #fed7d7;
    color: #9b2c2c;
}

.plan-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.plan-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 25px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.highlight-card {
    border: 2px solid #4f46e5;
    transform: scale(1.02);
}

.highlight-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.current-plan {
    border: 2px solid #48bb78;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #4f46e5;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-card h3 {
    font-size: 22px;
    margin: 0 0 5px;
    color: #2d3748;
    font-weight: 700;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #4f46e5;
    margin: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
    color: #4a5568;
    flex-grow: 1;
}

.features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4f46e5;
    font-weight: bold;
}

.plan-footer {
    margin-top: auto;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.plan-button {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    border: none;
}

.plan-button.primary {
    background: #4f46e5;
    color: white;
}

.plan-button.primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.plan-button.secondary {
    background: #f7fafc;
    color: #4a5568 !important;
    border: 1px solid #e2e8f0;
}

.plan-button.secondary:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.plan-button.current {
    background: #48bb78;
    color: white;
    cursor: default;
}

.paypal-button-wrapper {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.paypal-button-wrapper > div {
    width: 100% !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.modal-box {
    background: white;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
}

.modal-box.success {
    border-top: 6px solid #48bb78;
}

.modal-box.warning {
    border-top: 6px solid #ed8936;
}

.modal-icon {
    font-size: 50px;
    margin: 15px 0;
}

.modal-box h3 {
    margin-top: 0;
    color: #2d3748;
    font-size: 22px;
    font-weight: 700;
}

.modal-box p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.button.secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.button.secondary:hover {
    background: #edf2f7;
}

.button.danger {
    background: #f56565;
    color: white;
}

.button.danger:hover {
    background: #e53e3e;
}

.modal-close-button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #4f46e5;
    color: white;
    border: none;
    width: 100%;
    margin-top: 15px;
}

.modal-close-button:hover {
    background: #4338ca;
}

.subscription-notice {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}

.subscription-notice.updated {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.subscription-notice.cancelled {
    background: #feebc8;
    color: #9c4221;
    border-left: 4px solid #dd6b20;
}

.subscription-notice.deleted {
    background: #fed7d7;
    color: #9b2c2c;
    border-left: 4px solid #e53e3e;
}

.subscription-notice.payment_success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
    animation: pulse 2s infinite;
}

.subscription-notice.payment_failed {
    background: #fed7d7;
    color: #9b2c2c;
    border-left: 4px solid #e53e3e;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .plan-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 350px;
    }
    
    .overview-details {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .button, .modal-close-button {
        width: 100%;
    }
}
/* Separator line under your SMB main header */
header.smb-main-header.modern-header {
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 10px; /* optional spacing inside the header */
}

/* Push the content down below the new line */
header.smb-main-header.modern-header + * {
  margin-top: 20px !important;
}


/* === SINGLE BLOG POST OVERRIDES === */
.wp-singular.post-template-default.single.single-post .recruiter-dashboard,
.wp-singular.post-template-default.single.single-post .recruiter-dashboard *,
.wp-singular.post-template-default.single.single-post .recruiter-dashboard *::before,
.wp-singular.post-template-default.single.single-post .recruiter-dashboard *::after {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.wp-singular.post-template-default.single.single-post .recruiter-dashboard img,
.wp-singular.post-template-default.single.single-post .recruiter-dashboard video,
.wp-singular.post-template-default.single.single-post .recruiter-dashboard iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.wp-singular.post-template-default.single.single-post .recruiter-dashboard {
  overflow-x: hidden;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .wp-singular.post-template-default.single.single-post .recruiter-dashboard {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.wp-singular.post-template-default.single.single-post .is-layout-constrained {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* === Active-state header link — solid border version === */
header .wp-block-navigation__container a[aria-current="page"],
header .wp-block-navigation__container a[aria-current="true"],
header .smb-nav-menu .current-menu-item > a,
header .smb-nav-menu a.active {
  background: transparent !important;          /* no fill */
  color: var(--primary) !important;            /* keep brand colour */
  border: 2px solid var(--primary) !important; /* solid outline */
  border-radius: 12px;                         /* same pill shape */
  font-weight: 700;
  box-shadow: none !important;                 /* ditch drop-shadow */
  padding: 0.75rem 1rem;                       /* keeps size after border */
}
/* Make email field match text & password fields */
.login-form input[type="email"] {
  width: 104%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-color);
  background: #fff;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.login-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}
