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

/* Brand Colors - Updated to match new logo */
:root {
    --brand-primary: #14B8A6;          /* Primary teal green */
    --brand-primary-dark: #0F766E;     /* Darker teal for hover states */
    --brand-primary-light: rgba(20, 184, 166, 0.1);  /* Light teal background */
    --brand-secondary: #2DD4BF;        /* Bright teal accent */
    --brand-gray: #e2e4e8;
    --brand-text-gray: #6B7280;
    --brand-white: #ffffff;
    --brand-border: #e5e7eb;
    --brand-dark: #1F2937;             /* Dark navy for text */
    
    /* Keep legacy variables for backward compatibility */
    --executive-primary: #14B8A6;
    --executive-primary-light: rgba(20, 184, 166, 0.1);
    --executive-gray: #e2e4e8;
    --executive-text-gray: #6B7280;
    --executive-white: #ffffff;
    --executive-border: #e5e7eb;
}

body {
    font-family: 'Archivo Narrow', sans-serif;
    color: var(--brand-dark);
}

p {
    font-size: 1.125rem;
    line-height: 1.5;
}

/* Global Styles */
.job-board-page,
.executive-page {
    width: 100%;
    min-height: 100vh;
    background-color: var(--brand-white);
}

.brand-bg-primary,
.executive-bg-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

.brand-bg-white,
.executive-bg-white {
    background-color: var(--brand-white);
}

.brand-text-primary,
.executive-text-primary {
    color: var(--brand-primary);
}

.brand-text-white,
.executive-text-white {
    color: var(--brand-white);
}

.brand-text-gray,
.executive-text-gray {
    color: var(--brand-text-gray);
}

.hero-section,
.executive-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    width: 100%;
    padding: 2.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.executive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--brand-secondary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.hero-title,
.executive-hero-title {
    color: var(--brand-white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle,
.executive-hero-subtitle {
    color: var(--brand-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: center;
    position: relative;
    z-index: 1;
}

.options-container,
.executive-options-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.option-card,
.executive-option-card {
    flex: 1;
    background-color: var(--brand-white);
    border: 2px solid var(--brand-primary);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(20, 184, 166, 0.1);
}

.option-card:hover,
.executive-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
    border-color: var(--brand-secondary);
}

.option-icon,
.executive-option-icon {
    width: 2rem;
    height: 2rem;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.option-content,
.executive-option-content {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.option-title,
.executive-option-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0 0 0.25rem 0;
}

.option-description,
.executive-option-description {
    color: var(--brand-text-gray);
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.option-buttons,
.executive-option-buttons {
    display: flex;
    gap: 0.5rem;
}

.primary-button,
.executive-primary-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--brand-white);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(20, 184, 166, 0.2);
}

.secondary-button,
.executive-secondary-button {
    background-color: var(--brand-white);
    color: var(--brand-primary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    border: 1px solid var(--brand-primary);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.primary-button:hover,
.executive-primary-button:hover {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.3);
}

.secondary-button:hover,
.executive-secondary-button:hover {
    background-color: var(--brand-primary-light);
    border-color: var(--brand-secondary);
}

.job-card,
.executive-card {
    background-color: var(--brand-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--brand-gray);
    transition: all 0.3s ease;
}

.job-card:hover,
.executive-card:hover {
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.15);
    transform: translateY(-2px);
    border-color: var(--brand-primary);
}

.job-button,
.executive-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--brand-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(20, 184, 166, 0.2);
}

.job-button:hover,
.executive-button:hover {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    transform: translateY(-1px);
}

.job-tag,
.executive-tag {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

.form-input,
.executive-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--brand-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Archivo Narrow', sans-serif;
    background-color: var(--brand-white);
}

.form-input:focus,
.executive-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px var(--brand-primary-light);
    background-color: var(--brand-white);
}

.container,
.executive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex,
.executive-flex {
    display: flex;
}

.flex-center,
.executive-flex-center {
    justify-content: center;
    align-items: center;
}

.space-between,
.executive-space-between {
    justify-content: space-between;
}

.items-center,
.executive-items-center {
    align-items: center;
}

.gap-4,
.executive-gap-4 {
    gap: 1rem;
}

.mt-4,
.executive-mt-4 {
    margin-top: 1rem;
}

.mt-8,
.executive-mt-8 {
    margin-top: 2rem;
}

.mb-4,
.executive-mb-4 {
    margin-bottom: 1rem;
}

.py-8,
.executive-py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.grid,
.executive-grid {
    display: grid;
}

.grid-cols-4,
.executive-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .hero-section,
    .executive-hero {
        padding: 2rem 0 2.5rem;
    }

    .options-container,
    .executive-options-container {
        margin: 1rem 1rem 2rem;
        flex-direction: column;
    }

    .option-card,
    .executive-option-card {
        width: 100%;
    }

    .filters,
    .executive-filters {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

.logo,
.executive-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-symbol,
.executive-logo-symbol {
    background-color: var(--brand-primary);
    color: var(--brand-white);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    line-height: 1;
}

.executive-logo-text {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
}

.executive-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.executive-favorite-button {
    color: var(--brand-text-gray);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.executive-favorite-button:hover {
    color: var(--brand-primary);
}

.executive-text-center {
    text-align: center;
}

.executive-main-content {
    background-color: var(--brand-white);
    margin-top: 1.2rem;
    display: flex;
    gap: 2rem;
}

.filters,
.executive-filters {
    width: 300px;
    flex-shrink: 0;
    border: 2px solid var(--brand-primary);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
}

.executive-filters-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.executive-job-listings {
    flex: 1;
    min-width: 0;
}

.executive-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.executive-filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-text-gray);
}

@media (max-width: 768px) {
    .executive-main-content {
        flex-direction: column;
        padding: 1rem;
    }

    .filters,
    .executive-filters {
        width: 100%;
    }
}

.newsletter,
.executive-newsletter {
    background-color: var(--brand-primary);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--brand-white);
}

.newsletter-title,
.executive-newsletter-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.newsletter-text,
.executive-newsletter-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.newsletter-form,
.executive-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input,
.executive-newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0;
    background-color: var(--brand-white);
    color: var(--brand-primary);
}

.newsletter-input:focus,
.executive-newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.newsletter-button,
.executive-newsletter-button {
    padding: 0.5rem 1.25rem;
    background-color: var(--brand-white);
    color: var(--brand-primary);
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover,
.executive-newsletter-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .newsletter-form,
    .executive-newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-button,
    .executive-newsletter-button {
        width: 100%;
    }
}

select.form-input,
select.executive-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Job Filters */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    background: white;
    color: var(--brand-text-gray);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.search-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--brand-border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.search-button {
    background-color: var(--brand-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    background-color: rgba(42, 76, 88, 0.9);
}

/* Job List Styles */
.job-list {
    display: grid;
    gap: 1.5rem;
}

.job-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.job-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--brand-primary);
}

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

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-company {
    font-weight: 500;
    color: var(--brand-text-gray);
    margin-bottom: 0.25rem;
}

.job-location {
    font-size: 0.875rem;
    color: var(--brand-text-gray);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.job-description {
    color: var(--brand-text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-salary {
    font-weight: 600;
    color: var(--brand-primary);
}

.job-apply-button {
    background-color: var(--brand-primary);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.job-apply-button:hover {
    background-color: rgba(42, 76, 88, 0.9);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .options-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Note: Legacy class names are maintained through the existing CSS above */

/* Empty State Styles */
.executive-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--brand-text-gray);
}

.executive-empty-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--brand-text-gray);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--brand-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease-in-out;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-text {
    flex: 3;
    min-width: 300px;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--brand-white);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 250px;
}

.cookie-accept-btn {
    background-color: var(--brand-white);
    color: var(--brand-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn {
    background-color: transparent;
    color: var(--brand-white);
    border: 1px solid var(--brand-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
    background-color: var(--brand-secondary);
    color: var(--brand-white);
}

.cookie-settings-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Job Card Styles that were missing */
.executive-job-card {
    background-color: #f8f9fa;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.executive-job-card:hover {
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
    transform: translateY(-2px);
}

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

.executive-job-main-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.executive-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #f9fafb;
}

.executive-company-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.executive-job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

.executive-job-title a {
    text-decoration: none;
    color: inherit;
}

.executive-job-title a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
}

.executive-company-name {
    color: var(--brand-text-gray);
    font-size: 0.875rem;
}

.executive-job-meta {
    text-align: right;
}

.executive-deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--brand-text-gray);
}

.executive-deadline.executive-deadline-expired {
    color: #dc2626;
}

.executive-deadline .executive-icon {
    width: 1rem;
    height: 1rem;
}

.executive-job-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.executive-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.executive-tag-remote {
    background-color: #ecfdf5;
    color: #059669;
}

.executive-tag-location {
    background-color: #f3f4f6;
    color: #4b5563;
}

.executive-tag-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.executive-job-description {
    color: var(--brand-text-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.executive-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--brand-border);
}

.executive-button-apply {
    background-color: var(--brand-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.executive-button-apply:hover {
    background-color: var(--brand-secondary);
}

.executive-button-save {
    padding: 0.5rem;
    border: 1px solid var(--brand-border);
    border-radius: 6px;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.executive-button-save:hover {
    background-color: #f3f4f6;
}

.executive-button-save .executive-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-text-gray);
}

.executive-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Pagination Styles */
.executive-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--brand-border);
}

.executive-pagination-info {
    color: var(--brand-text-gray);
    font-size: 0.875rem;
}

.executive-pagination-buttons {
    display: flex;
    gap: 0.5rem;
}

.executive-button-secondary {
    background-color: white;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.executive-button-secondary:hover {
    background-color: var(--brand-primary-light);
}

.executive-button-primary {
    background-color: var(--brand-primary);
    color: var(--brand-white);
    border: 1px solid var(--brand-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.executive-button-primary:hover {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}