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

.job-board,
.company-board {
  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;
	  overflow: visible !important;

}

.job-filter-form {
  display: grid;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.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 !important;
}

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

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






/************************************************************
 * class-user-dashboard.php (User Dashboard Styles)
 ************************************************************/

/* Container for the entire dashboard */
.user-dashboard-container {
    max-width: 900px;       /* Limits width to keep content readable */
    margin: 0 auto;         /* Centers the container on the page */
    padding: 1.5rem;
    background-color: #fff; /* White background for cleanliness */
}

/* Section headings (e.g., "Your Job Applications", "Your Saved Jobs") */
.user-dashboard-container h2 {
    font-size: 1.5rem;
    color: #2d2d2d;         /* Dark gray for good contrast */
    margin-bottom: 1rem;
    font-weight: 700;       /* Bold, similar to Indeed's heavier headings */
}

/* TABLE: Applications list */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;  
    margin-bottom: 2rem;
}

.dashboard-table thead th {
    background-color: #f5f5f5; /* Light background for table headers */
    color: #2d2d2d;
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.dashboard-table tbody tr {
    border-bottom: 1px solid #eee; 
}

.dashboard-table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.dashboard-table tbody tr:hover {
    background-color: #f9f9f9; /* Subtle hover effect */
}

/* UL: Job bookmarks for saved jobs */
.job-bookmarks {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.job-bookmarks li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

/* Job title links in bookmarks */
.job-bookmarks a {
    color: #003A9B;        
    text-decoration: none;
    font-weight: 600;      
}

.job-bookmarks a:hover {
    text-decoration: underline; 
}

/* Buttons: Withdraw / Remove */
.withdraw-application,
.remove-bookmark {
    background-color: #fff;
    color: #003A9B;
    border: 1px solid #003A9B;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.withdraw-application:hover,
.remove-bookmark:hover {
    background-color: #003A9B;  /* Invert colors on hover */
    color: #fff;
}

/************************************************************
 * Additional User Dashboard Container Styles
 ************************************************************/

.user-dashboard-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 700;
}

.dashboard-intro {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

/* General section wrapper */
.dashboard-section {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.dashboard-applications h2,
.dashboard-bookmarks h2 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}

/* .dashboard-table for applications */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.dashboard-table thead {
    background-color: #eee;
}
.dashboard-table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    font-size: 0.95rem;
    color: #333;
}
.dashboard-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #444;
}
.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

/* UL: .job-bookmarks for saved jobs */
.job-bookmarks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.job-bookmarks li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.job-bookmarks li a {
    text-decoration: none;
    color: #0073e6;
    font-weight: 600;
}
.job-bookmarks li a:hover {
    text-decoration: underline;
}

/* Buttons (Withdraw, Remove, etc.) */
.user-dashboard-container button {
    background-color: #0073e6;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.user-dashboard-container button:hover {
    background-color: #005bb5;
}

/* Optional: Style the login warning if user not logged in */
.dashboard-login-warning {
    max-width: 600px;
    margin: 4rem auto;
    padding: 1rem;
    background-color: #ffefef;
    border: 1px solid #ffcccc;
    border-radius: 4px;
    text-align: center;
    color: #900;
    font-weight: 600;
}

/* ==========================================================================
   PROFESSIONAL JOB CARDS - SINGLE COLUMN LAYOUT
   ==========================================================================
*/

.job-card-wrapper {
    width: 100%;
    margin-bottom: 1.25rem;
}

.job-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    border-left: 4px solid #3b82f6;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left-color: #2563eb;
}

.job-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

/* ✅ Keep it responsive for tablets and phones */
@media (max-width: 1024px) {
  .job-card-content {
    width: 100%;
    max-width: 100%;
  }
}


.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.job-card-title-section {
    flex: 1;
    min-width: 0;
}

.job-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    font-family: 'Inter', system-ui, sans-serif;
}

.job-card-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.job-card-company:hover {
    color: #0073e6;
}

.job-card-company i {
    color: #718096;
    font-size: 1rem;
}

.follow-company-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    color: #1d4ed8 !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.follow-company-btn i {
    font-size: 0.9rem;
}

.follow-company-btn:hover {
    background: #eef4ff;
    border-color: #bfdbfe;
    color: #1d4ed8 !important;
}

.follow-company-btn.is-following {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
}

.follow-company-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.job-card-top-actions {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.job-card-top-actions .job-card-follow-btn {
    position: static;
    margin: 0;
}

.job-card-top-actions .job-card-save {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.job-card-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.job-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.job-card-meta-item i {
    color: #3b82f6;
    min-width: 18px;
    font-size: 1.1rem;
    background: #eff6ff;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-card-meta-item span {
    font-weight: 600;
    color: #2d3748;
}

.job-card-excerpt {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    gap: 1rem;
    width: 100%;
}

.job-card-date {
    font-size: 0.9rem;
    color: #a0aec0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.job-card-date i {
    color: #cbd5e0;
}

.job-card-apply {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white !important;
}

.job-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

.job-card-save {
    background: #ffffff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.job-card-save:hover {
    background: #eef2ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.job-card-save.saved {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
}

.job-card-save.saved:hover {
    background: #1e40af;
}

.save-heart-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    padding: 0.75rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1;
    color: #cbd5e0;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
}

.save-heart-btn:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #3b82f6;
}

.save-heart-btn.saved {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

.save-heart-btn.saved:hover {
    background: #fecaca;
    color: #dc2626;
}

.save-heart-btn i {
    pointer-events: none;
    font-size: 1.3rem;
}

.job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.job-card-link:hover .job-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Featured job styling */
.job-card.featured {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fff, #fffbeb);
}

.job-card.featured::before {
    content: "Editor's Pick";
    position: absolute;
    top: 1rem;
    right: -0.2rem;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 12px 0px 0px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card {
    width: 95%;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .job-card-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        border-left-width: 3px;
    }
    
.job-card-actions a {
      display: block;
      width: 88%;
}



    .job-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-card-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .job-card-title {
        font-size: 1.2rem;
    }
    
    .job-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .job-card-apply {
        text-align: center;
        justify-content: center;
    }
    
    .save-heart-btn {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-end;
        margin: -0.5rem 0 0.5rem 0;
    }
    
    .job-card.featured::before {
        top: 0.5rem;
        left: -0.25rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .job-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .job-card-title {
        font-size: 1.1rem;
    }
    
    .job-card-meta-item {
        font-size: 0.9rem;
    }
    
    .job-card-meta-item i {
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .save-heart-btn {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
    }
}

/************************************************************
 * Bulk Actions
 ************************************************************/

.bulk-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f7f7f7;
}

.bulk-actions label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.bulk-actions input[type="checkbox"] {
    margin-right: 0.5rem;
}


/************************************************************
 * Additional Table Styles (Optional)
 ************************************************************/

.job-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.job-preview-table th,
.job-preview-table td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
}

.job-preview-table th {
    background-color: #f7f7f7;
}



/************************************************************
 * Optional Heart Button (save-heart-btn)
 ************************************************************/

.save-heart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
	color: #cbd5e1 !important;
}

/* Shared base style */
.save-heart-btn::before {
    content: "\2661"; /* ♡ */
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    box-sizing: border-box;
    color: #dc3545;               /* red heart outline */
    background-color: #fff;       /* white background */
    border: 2px solid #dc3545 !important;    /* red border */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}


/* Hover = light red fill */
.save-heart-btn:hover::before {
    background-color: #f8d7da; /* light red fill */
}

/* Saved = filled red heart */
.save-heart-btn.saved::before {
    content: "\2665"; /* ♥ (filled heart) */
    color: #fff;
    background-color: #dc3545;
    border: 2px solid #dc3545;
}

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

/************************************************************
 * Single Job Page Styles
 ************************************************************/

.single-job-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.single-job-title {
    font-size: 1.75rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    color: #333;
}

.job-details p {
    margin: 0.5rem 0;
    color: #555;
}

.job-status-message {
    font-weight: 600;
    color: #cc0000; /* highlight color for closed/expired message */
    margin-bottom: 1rem;
}

.apply-section {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.contact-info-hidden {
    display: none;
}

.apply-section form {
    margin-top: 1rem;
}

.apply-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.apply-section input[type="file"] {
    margin-bottom: 1rem;
}

#reveal-contact-info,
.apply-section button {
    background-color: #0073e6;
    color: #fff;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-right: 0.5rem;
}
#reveal-contact-info:hover,
.apply-section button:hover {
    background-color: #005bb5;
}

/************************************************************
 * Single Job Grid Select
 ************************************************************/

.grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.grid-item {
    display: inline;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background-color: #f3f3f3;
    border-radius: 6px;
    font-weight: bold;
    color: #0073aa;
	font-size: 1rem;
}

.grid-item i {
    min-width: 18px;
}

.job-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.job-card-link-wrapper .job-card * {
    pointer-events: none;
}

.job-card-link-wrapper .job-card .save-heart-btn {
    pointer-events: auto;
    z-index: 5;
    position: relative;
}

.job-card-link-wrapper .job-card .job-card-company {
    pointer-events: auto;
    z-index: 5;
    position: relative;
}

.dashboard-btn.cta-post {
  background: #3b82f6;           /* blue background */
  color: #fff;                   /* white text */
  padding: 0.6rem 1.2rem;        /* spacing */
  border-radius: 9999px;         /* pill shape */
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.05s;
}

.dashboard-btn.cta-post:hover {
  background: #2563eb;           /* darker blue */
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.dashboard-btn.cta-post:active {
  transform: translateY(1px);
  background: #1d4ed8;
}

/************************************************************
 * NEW: Filter Dropdown Styles (Replacing Accordion)
 ************************************************************/

/* Filters Row Styles */
.filters-row {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 1.5rem;
    position: relative;
}

.jobs-criteria {
    color: #4b5563;
    font-size: 0.9rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
}

.filters-header {
    margin-bottom: 1rem;
}

.filters-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    position: relative;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
    position: relative;
}

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

.filter-input i {
    position: absolute;
    left: 12px;
    color: #64748b;
    z-index: 1;
}

.filter-input input {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem !important;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

.filter-input input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Dropdown Styles - FIXED VERSION */
.filter-dropdown {
    position: relative;
    min-width: 160px;
    /* Remove any overflow restrictions */
    overflow: visible !important;
}

.dropdown-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #374151 !important;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    /* Ensure toggle button doesn't clip dropdown */
    position: relative;
    z-index: 100;
}

.dropdown-toggle:hover {
    border-color: #d1d5db;
}

.dropdown-toggle.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* FIXED: Dropdown menu positioning */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999; /* Very high z-index to ensure it's on top */
    margin-top: 0.25rem;
    display: none;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    /* Ensure it breaks out of any container */
    transform: translateZ(0); /* Force hardware acceleration */
}

.dropdown-menu.show {
    display: block;
}

.dropdown-options {
    padding: 0.5rem;
}

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.dropdown-option:hover {
    background: #f8fafc;
}

.dropdown-option.active {
    background: #eff6ff;
    color: #1d4ed8;
}

.dropdown-option input {
    display: none;
}

.dropdown-actions {
    padding: 0.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
}

.clear-selection {
    width: 100%;
    padding: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #64748b !important;
    cursor: pointer;
    font-size: 0.85rem;
}

.clear-selection:hover {
    background: #f1f5f9;
}

/* Filter Actions */
.filter-actions {
    flex-direction: row;
    min-width: auto;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.filter-btn.primary {
    background: #3b82f6;
    color: white !important;
}

.filter-btn.primary:hover {
    background: #2563eb;
}

.filter-btn.secondary {
    background: #f1f5f9 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db;
}

.filter-btn.secondary:hover {
    background: #e2e8f0;
}

/* ==========================================================
   COMPANY BOARD
========================================================== */
.company-board .dashboard-header {
    margin-bottom: 1.25rem;
}

.company-board-results {
    margin-top: 1rem;
}

.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.companies-criteria {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 1rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.company-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-card-header {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas:
        "logo title"
        "logo follow";
    gap: 0.5rem 0.75rem;
    align-items: start;
}

.company-card-logo img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.company-card-title h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.company-card-title {
    min-width: 0;
}

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

.company-card-title a:hover {
    text-decoration: underline;
}

.company-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #475569;
}

.company-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.company-card-about {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.company-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.company-open-roles {
    font-weight: 600;
    color: #0f172a;
}

.company-view-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.company-view-link:hover {
    color: #1e40af;
}

.company-card .company-follow-btn {
    grid-area: follow;
    justify-self: start;
    margin-left: 0;
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    max-width: 100%;
    white-space: nowrap;
}

.company-filter-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #334155;
}

/* ==========================================================
   COMPANY PROFILE CLAIM SECTION
========================================================== */
.company-claim-section {
    margin-top: 2rem;
}

.company-claim-card {
    border: 1px dashed #93c5fd;
    background: #eff6ff;
    border-radius: 12px;
    padding: 1.25rem;
}

.company-claim-card h3 {
    margin: 0 0 0.5rem;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-claim-card p {
    margin: 0 0 1rem;
    color: #334155;
}

.company-claim-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #1d4ed8;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.company-claim-btn:hover {
    background: #1e40af;
}

/* ==========================================================
   COMPANY CLAIM PAGE
========================================================== */
.company-claim-page {
    max-width: 760px;
    margin: 0 auto;
}

.company-claim-card .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.company-claim-card input,
.company-claim-card textarea {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.claim-submit-btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .company-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-card-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "title"
            "follow";
    }

    .company-card .company-follow-btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
}

/* Job Card Styles (Company Board scoped) */
.company-board .job-card-wrapper {
    width: 100%;
    display: flex;
    flex: 1 1 0;
}

.company-board .job-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 85%;
    min-height: 100%;
    max-width: 90%;
}

.company-board .job-card:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 15px rgba(59,130,246,0.2);
    transform: translateY(-4px);
}

.company-board .job-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-board .job-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1e3a8a;
}

.company-board .job-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 0.25rem;
}

.company-board .job-card-excerpt {
    margin-top: 0.5rem;
    color: #475569;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
	overflow: hidden;
}

.pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
}

.pagination .page-numbers li {
    display: inline-block;
}

.pagination .page-numbers a,
.pagination .page-numbers span.current {
    display: inline-block;
    padding: 0.5em 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-numbers a {
    background-color: #fff;
    color: #333;
}

.pagination .page-numbers a:hover {
    background-color: #f7f7f7;
    color: #111;
}

.pagination .page-numbers span.current {
    background-color: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.pagination .page-numbers a.prev,
.pagination .page-numbers a.next {
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.4em 0.6em;
}

/************************************************************
 * Responsive Design - 
 ************************************************************/

@media (max-width: 768px) {
    .filters-row {
        padding: 1rem;
    }
    
    /* UPDATED: Filters stay horizontal but wrap as needed */
    .filters-container {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .filter-group {
        min-width: calc(50% - 0.75rem);
        flex: 1 1 auto;
    }
    
    /* Action buttons stay in row but can wrap */
    .filter-actions {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .job-card-wrapper {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }

    .job-card {
        width: 100%;
        max-width: 80%;
        padding: 1rem;
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 480px) {
    /* UPDATED: On very small screens, filters stack vertically */
    .filters-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* ==========================================================================
   QUICK FILTERS STYLES - MINIMALISTIC VERSION
   ========================================================================== */

.quick-filters-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #f1f5f9;
}

.quick-filters-header {
    margin-bottom: 0.6rem;
}

.quick-filters-header h4 {
    margin: 0;
    color: #374151;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-filters-header h4 i {
    color: #6b7280;
    font-size: 0.8rem;
}

.quick-filters-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e5e7eb;
}

.quick-filters-country {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin-top: 1.25rem;
}

.quick-filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 0.35rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.country-filter-btn {
    padding: 0.32rem 0.6rem;
    font-size: 0.72rem;
    border-radius: 999px;
}

.quick-filter-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.45rem 0.7rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: auto;
}

.quick-filter-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.quick-filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.quick-filter-btn.active .filter-text,
.quick-filter-btn.active .filter-desc {
    color: white;
}

.quick-filter-btn i {
    font-size: 0.8rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.quick-filter-btn.active i {
    color: white;
}

.quick-filter-btn:hover i {
    color: #374151;
}

.quick-filter-btn.active:hover i {
    color: white;
}

.filter-text {
    font-weight: 500;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

.filter-desc {
    display: none; /* Hide description for minimalistic style */
}

/* Specific icon colors for each filter */
.quick-filter-btn[data-filter="new"] i {
    color: #10b981;
}

.quick-filter-btn[data-filter="not-applied"] i {
    color: #f59e0b;
}

.quick-filter-btn[data-filter="quick-apply"] i {
    color: #ef4444;
}

.quick-filter-btn.active[data-filter="new"] i,
.quick-filter-btn.active[data-filter="not-applied"] i,
.quick-filter-btn.active[data-filter="quick-apply"] i {
    color: white;
}

/* Clear filters button specific styling */
.quick-filter-btn.clear-quick-filters {
    background: #fef2f2;
    border-color: #fecaca;
    margin-left: 0.25rem;
}

.country-filter-btn .filter-text {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.quick-filter-btn.clear-quick-filters i {
    color: #dc2626;
}

.quick-filter-btn.clear-quick-filters:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.quick-filter-btn.clear-quick-filters .filter-text {
    color: #dc2626;
}

.quick-filter-btn.clear-quick-filters:hover .filter-text {
    color: #b91c1c;
}

/* Active filter indicator - subtle dot */
.quick-filter-btn.active::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
}

/* Compact version for very small screens */
@media (max-width: 640px) {
    .quick-filters-section {
        padding: 0.75rem;
    }
    
    .quick-filters-grid {
        gap: 0.375rem;
        align-items: stretch;
    }
    
    .quick-filter-btn {
        padding: 0.4rem 0.6rem;
        gap: 0.3rem;
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }
    
    .filter-text {
        font-size: 0.75rem;
        white-space: normal;
        text-align: center;
    }
    
    .quick-filter-btn i {
        font-size: 0.7rem;
    }

    .quick-filters-country {
        margin-top: 0.85rem;
        gap: 0.3rem;
    }

    .country-filter-btn {
        padding: 0.28rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Even more compact for mobile */
@media (max-width: 480px) {
    .quick-filters-grid {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .quick-filter-btn {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
        justify-content: center;
    }
    
    .quick-filter-btn.clear-quick-filters {
        flex: 1 1 100%;
        margin-left: 0;
    }
}

@media (min-width: 1025px) {
    .filter-text {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .job-card-top-actions {
        position: static;
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .job-card-top-actions .follow-company-btn,
    .job-card-top-actions .job-card-save {
        width: 100%;
        justify-content: center;
    }

    .follow-company-btn {
        max-width: 100%;
        white-space: normal;
    }

    .job-card-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .job-card-save,
    .job-card-apply {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }
}

/* Ultra-compact for very small mobile */
@media (max-width: 380px) {
    .quick-filter-btn .filter-text {
        display: none;
    }
    
    .quick-filter-btn {
        padding: 0.5rem;
        aspect-ratio: 1;
    }
    
    .quick-filter-btn i {
        margin: 0;
    }
}

/* ==========================================================================
   STATUS BADGES - MINIMAL TOP RIGHT STYLING
   ========================================================================== */

.job-card-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', system-ui, sans-serif;
    border: 1px solid;
    background: white;
}

.job-card-status-badge.applied {
    color: #059669;
    border-color: #10b981;
    background: #f0fdf4;
}

.job-card-status-badge.viewed {
    color: #6b7280;
    border-color: #d1d5db;
    background: #f9fafb;
}

.job-card-status-badge i {
    font-size: 0.6rem;
}

/* Adjust save button position */
.job-card:has(.job-card-status-badge) .save-heart-btn {
    top: 3.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .job-card-status-badge {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .job-card:has(.job-card-status-badge) .save-heart-btn {
        top: 2.8rem;
    }
}

/* Company Logo Styles */
.job-card-logo {
    flex-shrink: 0;
    margin-right: 1rem;
}

.company-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.job-card-title-section {
    flex: 1;
    min-width: 0;
}

/* Adjust status badge position with logo */
.job-card:has(.job-card-status-badge) .save-heart-btn {
    top: 3.2rem;
}

/* Ensure the logo container doesn't affect layout */
.job-card-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-card-logo {
        margin-right: 0.75rem;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .job-card:has(.job-card-status-badge) .save-heart-btn {
        top: 2.8rem;
    }
}

@media (max-width: 480px) {
    .job-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .job-card-logo {
        margin-right: 0;
    }
    
    .company-logo {
        width: 48px;
        height: 48px;
    }
}

/* Inline SVG logo rendering */
.company-logo-svg {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-logo-svg svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: visible;
}

.company-filter-header {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-filter-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.clear-company-filter {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.clear-company-filter:hover {
    text-decoration: underline;
}

/* =======================================================================
   COMPANY PROFILE
   ======================================================================= */
.company-profile {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.company-profile.empty {
    text-align: center;
    color: #64748b;
}

.company-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.company-profile-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.company-profile-title img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
}

.company-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.company-profile-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}

.company-profile-card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-profile-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.company-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-details-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #334155;
    font-weight: 600;
}

.company-details-list li span {
    font-weight: 500;
    color: #475569;
}

.company-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.company-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.85rem;
    text-decoration: none;
}

.company-socials a:hover {
    border-color: #cbd5f5;
    color: #1d4ed8;
}

.company-profile-jobs {
    margin-top: 2rem;
}

.company-profile-jobs h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.company-profile-job-list {
    display: grid;
    gap: 0.75rem;
}

.company-profile-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.company-profile-job a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
}

.company-profile-job a:hover {
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .company-profile-grid {
        grid-template-columns: 1fr;
    }
    .company-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
.company-card-logo {
    grid-area: logo;
}

.company-card-title {
    grid-area: title;
}
