/* Light Theme Design for with.coop */

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

/* Base Styles */
body {
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin: 0;
    color: #0f1419;
}

h1 {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
}

h3 {
    font-size: 1.4em;
    font-weight: 600;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #4a5568;
}

ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.25rem;
}

/* Links */
a, a:visited {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2c5aa0;
    transition: color 0.2s ease;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1rem 24px;
}

#top-logo {
    height: 40px;
    width: auto;
}

/* Navigation */
nav {
    justify-self: end;
}

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

nav li a {
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav li a:hover {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

nav li a.active {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

.logout-link {
    display: inline;
    margin: 0;
    vertical-align: top;
}

.logout-button {
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    padding: 0 0 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.logout-button:hover {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

nav button {
    background: none;
    border: none;
    color: #4a5568;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 0.5rem 0;
}

nav button:hover {
    color: #2b6cb0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
}

.hero-section h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-section .tagline {
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

#rotating-adjective {
    transition: opacity 0.3s ease-in-out;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.value-props {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.value-prop {
    font-weight: 500;
    font-size: 1.1em;
    opacity: 0.9;
}

/* Homepage Sections */
.homepage-section {
    margin-bottom: 4rem;
}

.homepage-section .section-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a202c;
    text-align: center;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.homepage-jobs {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.25rem;
}

/* Search Section */
.search-section {
    background-color: #f7fafc;
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-radius: 12px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2b6cb0;
}

.search-button {
    background-color: #2b6cb0;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: #2c5aa0;
}

/* Companies Grid */
.companies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.companies a {
    text-decoration: none;
    display: block;
}

.company {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.company:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #c3dafe;
}

.company-header {
    padding: 1.5rem;
    color: white;
    position: relative;
    min-height: 4.2em;
    display: flex;
    align-items: center;
}

.company-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%);
}

.company h2 {
    font-size: 1.3em;
    margin: 0;
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.company-type-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8em;
}

.company-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.5rem;
}

.company-tagline {
    color: #4a5568;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.company-type {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.positions {
    color: #2b6cb0;
    font-size: 0.9em;
    font-weight: 600;
}

.no-positions {
    color: #718096;
    font-size: 0.85em;
    font-style: italic;
}

/* Jobs Page Styles */
.jobs-filter-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.jobs-filter-section .search-container h2 {
    color: #1a202c;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: #2b6cb0;
    background-color: #f7fafc;
    color: #2b6cb0;
}

.filter-tab.active {
    background-color: #2b6cb0;
    border-color: #2b6cb0;
    color: white;
}

/* Filter groups styling */
.filter-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.7);
}

.structure-filter-group {
    border-left: 4px solid #2b6cb0;
}

.region-filter-group {
    border-left: 4px solid #38a169;
}

.filter-group-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: #1a202c;
}

.structure-filter-group .filter-group-label {
    color: #2b6cb0;
}

.region-filter-group .filter-group-label {
    color: #38a169;
}

/* Structure tabs - keep existing blue styling */
.structure-tabs .filter-tab {
    background-color: white;
    border-color: #e2e8f0;
    color: #4a5568;
}

.structure-tabs .filter-tab:hover {
    border-color: #2b6cb0;
    background-color: #f7fafc;
    color: #2b6cb0;
}

.structure-tabs .filter-tab.active {
    background-color: #2b6cb0;
    border-color: #2b6cb0;
    color: white;
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.3);
    transform: translateY(-1px);
    font-weight: 600;
}

/* Region filter tabs styling */
.region-tabs .filter-tab {
    background-color: #f8fafc;
    border-color: #cbd5e0;
    color: #2d3748;
}

.region-tabs .filter-tab:hover {
    border-color: #38a169;
    background-color: #f0fff4;
    color: #38a169;
}

.region-tabs .filter-tab.active {
    background-color: #38a169;
    border-color: #38a169;
    color: white;
    box-shadow: 0 2px 8px rgba(56, 161, 105, 0.3);
    transform: translateY(-1px);
    font-weight: 600;
}

.jobs-section {
    margin-bottom: 3rem;
}

/* Job Listings Grid */
.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card-link {
    text-decoration: none;
    display: block;
}

.job-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #c3dafe;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-title-section {
    flex: 1;
}

.job-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    justify-content: flex-start;
    height: fit-content;
}

.job-salary-header {
    background-color: #f0fff4;
    color: #22543d;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.9em;
    margin-top: 0.2rem;
}

.job-employment-header {
    color: #718096;
    font-size: 0.85em;
    font-weight: 500;
    text-align: right;
}

.job-location-text {
    color: #718096;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.job-location-text i {
    width: 1em;
    text-align: center;
    color: #a0aec0;
}

.job-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.job-posted-date {
    color: #718096;
    font-size: 0.9em;
    font-weight: 400;
    margin-top: 0.25rem;
}
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-posted {
    color: #718096;
    font-size: 0.85em;
    font-weight: 400;
}

.job-pending {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    white-space: nowrap;
}

.job-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.job-company .company-type-icon {
    color: #48bb78;
    font-size: 1em;
}

.company-name {
    font-weight: 600;
    color: #2b6cb0;
    font-size: 1.1em;
}

.job-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.job-employment-type,
.job-location,
.job-salary,
.job-category-badge {
    background-color: #f7fafc;
    color: #4a5568;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85em;
    font-weight: 500;
}

.job-category-badge {
    background-color: #e6fffa;
    color: #285e61;
}

.job-employment-type {
    background-color: #fef5e7;
    color: #744210;
}

.job-salary {
    background-color: #f0fff4;
    color: #22543d;
    font-weight: 600;
}

/* Legacy Job Listings (keeping for compatibility) */
.jobs-job-listings, .job-listings.legacy {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.jobs-job-listings a, .job-listings.legacy a {
    text-decoration: none;
    display: block;
}

.jobs-job-listing, .job-listing.legacy {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jobs-job-listing:hover, .job-listing.legacy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

/* Resources Page */
.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

.resources-intro {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.resources-intro p {
    font-size: 1.1em;
    color: #4a5568;
    margin: 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.resource-category {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.resource-category h2 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.4em;
}

.category-description {
    color: #718096;
    font-size: 0.95em;
    margin-bottom: 2rem;
    font-style: italic;
}

.resource-card {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f7fafc;
}

.resource-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resource-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1em;
}

.resource-card h3 a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
}

.resource-card h3 a:hover {
    color: #667eea;
}

.resource-card p {
    color: #4a5568;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.status {
    color: #e53e3e;
    font-weight: 500;
    font-size: 0.8em;
}

/* Company Detail Page */
.company-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: white;
}

.company-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.company-logo-pattern {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    z-index: 2;
}

/* Cooperative Patterns - 8 different designs */
.company-logo-pattern[data-pattern="0"] {
    background: 
        radial-gradient(circle at 20% 20%, rgba(72, 187, 120, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43, 108, 176, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.company-logo-pattern[data-pattern="1"] {
    background: 
        repeating-conic-gradient(from 0deg at 50% 50%, rgba(72, 187, 120, 0.2) 0deg 60deg, transparent 60deg 120deg),
        linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.company-logo-pattern[data-pattern="2"] {
    background: 
        radial-gradient(circle at 25% 75%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(118, 75, 162, 0.4) 0%, transparent 50%),
        linear-gradient(45deg, #764ba2 0%, #667eea 100%);
}

.company-logo-pattern[data-pattern="3"] {
    background: 
        conic-gradient(from 90deg at 50% 50%, rgba(43, 108, 176, 0.8) 0deg 90deg, rgba(72, 187, 120, 0.8) 90deg 180deg, rgba(102, 126, 234, 0.8) 180deg 270deg, rgba(118, 75, 162, 0.8) 270deg 360deg),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.company-logo-pattern[data-pattern="4"] {
    background: 
        repeating-linear-gradient(45deg, rgba(72, 187, 120, 0.3) 0px 10px, transparent 10px 20px),
        repeating-linear-gradient(-45deg, rgba(43, 108, 176, 0.3) 0px 10px, transparent 10px 20px),
        linear-gradient(135deg, #2b6cb0 0%, #48bb78 100%);
}

.company-logo-pattern[data-pattern="5"] {
    background: 
        radial-gradient(circle at 10% 20%, rgba(72, 187, 120, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 40% 40%, rgba(43, 108, 176, 0.4) 0%, transparent 30%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.company-logo-pattern[data-pattern="6"] {
    background: 
        repeating-radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.2) 0px 5px, transparent 5px 15px),
        linear-gradient(90deg, #48bb78 0%, #2b6cb0 100%);
}

.company-logo-pattern[data-pattern="7"] {
    background: 
        conic-gradient(from 45deg at 30% 30%, rgba(72, 187, 120, 0.5) 0deg 120deg, transparent 120deg 240deg, rgba(43, 108, 176, 0.5) 240deg 360deg),
        conic-gradient(from 225deg at 70% 70%, rgba(118, 75, 162, 0.5) 0deg 120deg, transparent 120deg 240deg, rgba(102, 126, 234, 0.5) 240deg 360deg),
        linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.company-info {
    flex: 1;
}

/* Dashboard Navigation */
.dashboard-nav-section {
    background: white;
    padding: 0;
    margin-bottom: 2rem;
}

.dashboard-nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.dashboard-nav {
    display: flex;
    gap: 2rem;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.dashboard-nav-item:hover {
    color: #2b6cb0;
    border-bottom-color: #cbd5e0;
}

.dashboard-nav-item.active {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

.dashboard-nav-item i {
    font-size: 0.9em;
    width: 1em;
    text-align: center;
    display: inline-block;
}

@media (max-width: 768px) {
    .dashboard-nav-item {
        padding: 1rem;
        font-size: 0.9em;
    }
    
    .dashboard-nav-item span {
        display: none;
    }
}

/* New Job Form Enhancements */
.company-section .site-form {
    margin-top: 1.5rem;
}

.company-section .field-group textarea {
    min-height: 120px;
    resize: vertical;
}

.company-section .field-group select {
    cursor: pointer;
}

.company-section .form-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.company-section .form-actions .highlight {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

/* Form Sections */
.form-section {
    margin-bottom: 0.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section h3 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.optional-note {
    color: #718096;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

.checkbox-item label {
    margin: 0 !important;
    font-weight: 500 !important;
    cursor: pointer;
}

/* Field Rows */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .field-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* My Jobs Dashboard */
.job-listing-dashboard {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s ease;
}

.job-listing-dashboard:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-listing-dashboard .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-listing-dashboard .job-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.job-listing-dashboard .job-title a {
    color: #2d3748;
    text-decoration: none;
}

.job-listing-dashboard .job-title a:hover {
    color: #2b6cb0;
}

.job-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.job-status {
    flex-shrink: 0;
}

.job-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-edit, .btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-edit {
    background-color: #e2e8f0;
    color: #4a5568;
}

.btn-edit:hover {
    background-color: #cbd5e0;
    color: #2d3748;
}

.btn-delete {
    background-color: #fed7e2;
    color: #c53030;
}

.btn-delete:hover {
    background-color: #fbb6ce;
    color: #9b2c2c;
}

.cancel-link {
    color: #718096;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 500;
}

.cancel-link:hover {
    color: #4a5568;
}

.edit-company-btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.edit-company-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.company-website-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.company-website-link a {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.company-website-link a:hover {
    color: #4a5568;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}



.section-edit-btn {
    background-color: #f7fafc;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.section-edit-btn:hover {
    background-color: #edf2f7;
    color: #2d3748;
    border-color: #cbd5e0;
}

.empty-description {
    color: #718096;
    font-style: italic;
    margin-bottom: 1rem;
}

.other-details-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.other-details-section h3 {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-row {
    display: flex;
    margin-bottom: 0.75rem;
    align-items: center;
}

.detail-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 140px;
    flex-shrink: 0;
}

.detail-value {
    color: #2d3748;
    font-size: 0.9rem;
    text-decoration: none;
}

.detail-value:hover {
    color: #2b6cb0;
}

.detail-value i {
    font-size: 0.8em;
    margin-left: 0.25rem;
    opacity: 0.7;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-live {
    background-color: #c6f6d5;
    color: #22543d;
}

.status-pending {
    background-color: #fef5e7;
    color: #975a16;
}

.job-listing-dashboard .job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.job-listing-dashboard .job-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .job-listing-dashboard .job-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .job-status {
        align-self: flex-start;
    }
}

.company-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.company-type-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8em;
}

.company-tagline {
    color: #4a5568;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 400;
}

.company-detail-header .company-tagline {
    color: rgba(255, 255, 255, 0.9);
}

.company-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.company-type-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.company-website {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9em;
}

.company-website:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.company-share-btn {
    background: none;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9em;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.company-share-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.company-share-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.company-actions {
    margin-top: 1rem;
}

.company-actions .company-share-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.company-actions .company-share-btn:hover:not(:disabled) {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.pending-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Company Detail Content */
.company-detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.company-section {
    margin-bottom: 3rem;
}

.company-section:last-child {
    margin-bottom: 2rem;
}

.company-section h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.company-section h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.job-count {
    color: #718096;
    font-weight: 400;
    font-size: 0.9em;
}

.company-description, .company-onboarding {
    font-size: 1.1em;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.empty-description {
    font-style: italic;
    color: #718096;
    margin-bottom: 1.5rem;
}

.other-details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-label {
    font-weight: 600;
    color: #2d3748;
    min-width: 140px;
}

.detail-value {
    color: #4a5568;
}

/* Job Listings on Detail Page */
.company-section .job-listings {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}


/* Companies List Page */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

.header-link {
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.9;
}

.header-link a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.page-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.learn-more-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-weight: 500;
}

.learn-more-link:hover {
    color: white;
}

.companies-filter-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.companies-filter-section .filter-container h2 {
    color: #1a202c;
    font-size: 1.5em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.toggle-filters {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
    padding: 0.75rem 1.25rem;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.filter-toggle:hover {
    border-color: #cbd5e0;
    background-color: #f7fafc;
}

.toggle-icon {
    font-size: 1.1em;
    color: #718096;
    transition: color 0.2s ease;
}

.filter-toggle:has(input:checked) .toggle-icon {
    color: #2b6cb0;
}

.filter-toggle:has(input:checked) {
    border-color: #2b6cb0;
    background-color: #ebf8ff;
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #a0aec0;
    font-weight: 500;
    cursor: not-allowed;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.clear-filters-btn.active {
    background-color: #fed7d7;
    border-color: #f56565;
    color: #c53030;
    cursor: pointer;
    opacity: 1;
}

.clear-filters-btn.active:hover {
    background-color: #feb2b2;
    border-color: #e53e3e;
    color: #9b2c2c;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9em;
}

.filter-select {
    padding: 0.75rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1em;
    min-width: auto;
    padding-left: 2.5rem;
    background-repeat: no-repeat;
    background-position: 0.75rem center;
    background-size: 1.1em;
}

#structure-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23718096' viewBox='0 0 640 512'%3E%3Cpath d='M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z'/%3E%3C/svg%3E");
}

#category-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23718096' viewBox='0 0 512 512'%3E%3Cpath d='M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zM40 128c-22.1 0-40 17.9-40 40V424c0 22.1 17.9 40 40 40H472c22.1 0 40-17.9 40-40V168c0-22.1-17.9-40-40-40H416V56c0-30.9-25.1-56-56-56H152c-30.9 0-56 25.1-56 56v72H40zM128 128V56c0-13.3 10.7-24 24-24H360c13.3 0 24 10.7 24 24v72H128zm344 40V424H40V168H472z'/%3E%3Cpath d='M216 200h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H216c-8.8 0-16-7.2-16-16s7.2-16 16-16z'/%3E%3C/svg%3E");
}

#region-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23718096' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E");
}

.filter-select:hover {
    border-color: #cbd5e0;
    background-color: #f7fafc;
}

.filter-select:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

/* Jobs page specific styling */
.jobs-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    font-weight: 400;
    margin-top: 0.5rem;
}

.filter-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.toggle-label {
    font-size: 1em;
    font-weight: 500;
    user-select: none;
}

.companies-filter-section .filter-tabs {
    justify-content: center;
}

.companies-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.company-count {
    color: #718096;
    font-weight: 400;
    font-size: 0.8em;
}

.no-positions {
    color: #718096;
    font-size: 0.9em;
    font-style: italic;
}

/* Company List Items (legacy - keeping for compatibility) */
.company-list-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.company-list-item h2 {
    font-size: 1.4em;
    margin-bottom: 0.5rem;
}

.company-list-item .left-part {
    display: inline-block;
    width: 70%;
}

.company-list-item .right-part {
    display: inline-block;
    width: 30%;
}

.company-list-item .num-jobs {
    position: absolute;
    right: 2rem;
    top: 2rem;
    background-color: #e6fffa;
    color: #285e61;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
}

.list-item-tagline {
    margin-left: 0;
    margin-top: 1rem;
    color: #4a5568;
}

/* Forms */
.site-form {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-form input, .site-form textarea {
    display: block;
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0 1rem 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.site-form input:focus, .site-form textarea:focus {
    outline: none;
    border-color: #2b6cb0;
}

.site-form input[type="submit"] {
    background-color: #2b6cb0;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: auto;
    margin-top: 1rem;
}

.site-form input[type="submit"]:hover {
    background-color: #2c5aa0;
}

/* Buttons and Highlights */
a.highlight {
    background-color: #718096;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

a.highlight:hover {
    background-color: #4a5568;
}

.underline {
    text-decoration: underline;
}

/* Error and Help Text */
.helptext {
    color: #718096;
    font-size: 14px;
    margin: 0.5rem 0 1rem 0;
}

.errorlist {
    padding: 0;
    margin: 1rem 0;
}

.errorlist li {
    background-color: #fed7d7;
    color: #c53030;
    padding: 1rem;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    list-style: none;
    margin-bottom: 1rem;
}

/* Footer */
.footer-dark {
    background-color: #4a4a6a;
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 2rem 0;
}

.footer-dark .wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.footer-links p {
    color: #a0aec0;
    margin: 0;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #6b6b85;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.2s ease;
}

.social-icons a:hover {
    background-color: #8080a0;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #667eea;
    margin-bottom: 1rem;
}

.about-section ul {
    margin: 1rem 0;
}

.about-section li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-cta {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.about-cta h2 {
    color: #667eea;
    margin-bottom: 1rem;
}

.about-newsletter .newsletter-cta {
    margin: 2rem 0 0 0;
}

/* Form Styling */
.form-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Auth Layout */
.auth-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
    min-height: 60vh;
}

.auth-main {
    max-width: none;
}

.auth-form-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-form-container h2 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.8em;
}

.auth-sidebar {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 3rem;
    height: fit-content;
}

.auth-sidebar h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.auth-sidebar p {
    margin-bottom: 2rem;
    color: #4a5568;
}

.auth-sidebar a {
    display: inline-block;
}

.features-list {
    margin-top: 2rem;
}

.feature {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.feature strong {
    color: #2d3748;
}

.feature small {
    color: #718096;
}

.existing-user-section {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.existing-user-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2em;
}

.existing-user-section p {
    margin: 0;
}

.form-intro {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-intro h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 1rem;
}

.login-link {
    margin-top: 1rem;
    font-weight: 500;
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h3 {
    color: #667eea;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.field-group {
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.field-group input,
.field-group textarea,
.field-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
    outline: none;
    border-color: #667eea;
}

.help-text {
    display: block;
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-actions {
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.form-actions input[type="submit"] {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Utility Classes */
.center {
    text-align: center;
}

.small {
    font-size: 14px;
}

.bump-down {
    margin-top: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .wrapper {
        padding: 0 16px;
    }
    
    header .wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    nav {
        justify-self: center;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .companies, .jobs-job-listings, .job-listings, .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resource-category {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5em;
    }
    
    .value-props {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .company-list-item .left-part,
    .company-list-item .right-part {
        width: 100%;
        display: block;
    }
    
    .company-list-item .num-jobs {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }
    
    .footer-dark .wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .company-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .company-logo-pattern {
        width: 60px;
        height: 60px;
    }
    
    .pattern-overlay {
        font-size: 2em;
    }
    
    .company-title {
        font-size: 1.8em;
        justify-content: center;
    }
    
    .company-meta {
        justify-content: center;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-details {
        gap: 0.5rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .companies-search-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .page-header {
        padding: 2rem 0;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.8em;
        line-height: 1.2;
    }
    
    .jobs-count {
        font-size: 1em;
        margin-top: 0.5rem;
    }
    
    .jobs-filter-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .toggle-filters {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-dropdown {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
        min-width: unset;
    }
    
    .filter-tabs {
        gap: 0.25rem;
        margin-top: 1.5rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9em;
    }
    
    .job-listings {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .job-card {
        padding: 1.25rem;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .job-header-right {
        align-items: flex-start;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .job-salary-header,
    .job-employment-header {
        font-size: 0.85em;
        padding: 0.35rem 0.7rem;
    }
    
    .job-title {
        font-size: 1.2em;
    }
    
    .job-details {
        gap: 0.5rem;
    }
    
    .job-employment-type,
    .job-location,
    .job-salary,
    .job-category-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.8em;
    }
    
    /* Company detail mobile styles */
    .company-detail-header {
        padding: 2rem 0;
    }
    
    .company-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .company-logo-pattern {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .company-title {
        font-size: 1.8em;
    }
    
    .company-meta {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    /* Newsletter mobile styles */
    .newsletter-cta {
        margin: 3rem 0;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .newsletter-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .newsletter-headline {
        font-size: 1.5em;
    }
    
    .newsletter-description {
        font-size: 1em;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input {
        border-radius: 8px;
    }
    
    .newsletter-button {
        border-radius: 8px;
        width: 100%;
        justify-content: center;
    }
    
    /* Auth layout mobile */
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .auth-form-container {
        padding: 2rem 1.5rem;
    }
    
    .auth-sidebar {
        padding: 2rem 1.5rem;
    }
    
    .features-list {
        margin-top: 1rem;
    }
    
    .feature {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
}

/* Newsletter CTA Styles */
.newsletter-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin: 4rem 0;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,6V0h1000v100L0,6z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat;
    background-size: cover;
    pointer-events: none;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-text {
    flex: 1;
}

.newsletter-headline {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.newsletter-description {
    font-size: 1.1em;
    opacity: 1;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.newsletter-form {
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.newsletter-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1em;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 60px;
    box-sizing: border-box;
}

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

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.newsletter-button {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    height: 60px;
    box-sizing: border-box;
}

.newsletter-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.newsletter-disclaimer {
    text-align: center;
    font-size: 0.9em;
    opacity: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
    margin: 0;
}

#mc_embed_signup h2 {
    font-weight: 600;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 1.4em;
    color: #1a202c;
}

#mc_embed_signup input {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    font-size: 16px;
}

#mc_embed_signup input:focus {
    border-color: #2b6cb0;
    outline: none;
}

#mc_embed_signup .button {
    background-color: #2b6cb0;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    height: auto;
    line-height: 1;
    margin: 1rem 0.5rem 0 0;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#mc_embed_signup .button:hover {
    background-color: #2c5aa0;
}

#mc_embed_signup label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

#mc_embed_signup input.email {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    display: block;
    padding: 1rem;
    margin: 0 0 1rem 0;
    min-height: auto;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-sizing: border-box;
}

#mc_embed_signup input.button {
    display: inline-block;
    width: auto;
    margin: 1rem 0;
    min-width: 120px;
}