/* RocketBid Blog Custom Styles */

/* Navigation */
.rocketbid-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(124deg, #3F38C3 0%, #4E46F1 46.63%, #7A75E3 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #0b1220;
}

.rocketbid-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 86px;
    min-height: 113px;
}

.rocketbid-logo-section {
    display: flex;
    align-items: center;
    gap: 13px;
}

.logo-link {
    display: block;
    line-height: 0;
}

.rocketbid-logo {
    width: 232px;
    height: 81px;
    display: block;
    object-fit: contain;
}

.logo-divider {
    height: 36px;
    width: 1px;
    background: #818CFE;
}

.blog-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.5px;
    line-height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #818cfe;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-demo {
    padding: 10px 21px;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    border-radius: 10px;
    box-shadow: 0px 0px 24px 0px rgba(254, 221, 118, 0.2);
    color: #0b1220;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-demo:hover {
    box-shadow: 0px 0px 32px 0px rgba(254, 221, 118, 0.35);
}

.dark-mode-toggle {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.dark-mode-toggle:hover {
    opacity: 0.8;
}

/* Podcasts Navigation - Custom Black Header */
.rocketbid-nav.podcasts-nav {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Podcasts Hero Section */
.blog-hero.podcasts-hero {
    background: #FFFFFF;
    color: #0b1220;
    margin-top: 113px;
    padding: 4rem 2rem;
}

.podcasts-hero .hero-subtitle {
    color: #818cfe;
}

.podcasts-hero .hero-title {
    color: #0b1220;
}

.podcasts-hero .hero-description {
    color: rgba(11, 18, 32, 0.8);
}

/* Hero Section */
.blog-hero {
    margin-top: 113px;
    padding: 0 2rem;
}

.hero-image {
    height: 224px;
    border-radius: 12px;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    max-width: calc(100% - 4rem);
    margin: 0 auto;
}

@media (max-width: 640px) {
    .blog-hero {
        padding: 0 1rem;
    }

    .hero-image {
        max-width: calc(100% - 2rem);
    }
}

.hero-content {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-subtitle {
    color: #818cfe;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
}

.dark-mode .hero-subtitle {
    color: #818cfe;
}

.hero-title {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #0b1220;
}

.dark-mode .hero-title {
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 768px;
    margin: 0 auto;
    color: rgba(11, 18, 32, 0.8);
}

.dark-mode .hero-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Cards */
.blog-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.featured-post {
    margin-bottom: 3rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: white;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.dark-mode .blog-card {
    background: #0a1426;
    border: 1px solid rgba(86, 109, 255, 0.3);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark-mode .blog-card:hover {
    box-shadow: 0 20px 25px -5px rgba(86, 109, 255, 0.2), 0 10px 10px -5px rgba(86, 109, 255, 0.1);
}

.blog-card-image {
    height: 192px;
    background-size: cover;
    background-position: center;
}

.blog-card.featured .blog-card-image {
    height: 320px;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card.featured .blog-card-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    color: #0b1220;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #0b1220;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card.featured .blog-card-title {
    font-size: 1.5rem;
}

.dark-mode .blog-card-title {
    color: white;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(11, 18, 32, 0.8);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card.featured .blog-card-excerpt {
    font-size: 1rem;
}

.dark-mode .blog-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(11, 18, 32, 0.6);
    margin-bottom: 1rem;
}

.dark-mode .blog-meta {
    color: rgba(255, 255, 255, 0.6);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3540c7;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.read-more:hover {
    color: #818cfe;
}

.read-more svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #3540c7;
    border-radius: 8px;
    background: transparent;
    color: #3540c7;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(53, 64, 199, 0.1);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(53, 64, 199, 0.4);
    color: rgba(53, 64, 199, 0.4);
}

.dark-mode .pagination-btn {
    border-color: #818cfe;
    color: #818cfe;
}

.dark-mode .pagination-btn:hover:not(:disabled) {
    background: rgba(129, 140, 254, 0.1);
}

.dark-mode .pagination-btn:disabled {
    border-color: rgba(129, 140, 254, 0.4);
    color: rgba(129, 140, 254, 0.4);
}

/* Newsletter CTA */
.newsletter-cta {
    margin-top: 4rem;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #3F38C3 0%, #1e2147 100%);
}

.newsletter-inner {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-weight: 700;
    font-size: 2rem;
    color: white;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 512px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

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

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(129, 140, 254, 0.1);
}

.newsletter-submit {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    box-shadow: 0px 0px 24px 0px rgba(254, 221, 118, 0.2);
    border-radius: 8px;
    border: none;
    color: #0b1220;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.newsletter-submit:hover {
    box-shadow: 0px 0px 32px 0px rgba(254, 221, 118, 0.35);
}

/* Single Post */
.single-post-header {
    padding-top: calc(113px + 3rem);
    padding-bottom: 3rem;
    background: linear-gradient(to bottom, #f8f9fc 0%, white 100%);
}

.dark-mode .single-post-header {
    background: linear-gradient(to bottom, #1a2847 0%, #141e35 100%);
}

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: #7B7E8C;
}

.dark-mode .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: inherit;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #0F0F16;
}

.dark-mode .breadcrumb a:hover {
    color: white;
}

.post-category {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3540c7;
    margin-bottom: 1rem;
}

.dark-mode .post-category {
    color: #818CFE;
}

.post-title {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0F0F16;
}

.dark-mode .post-title {
    color: white;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #7B7E8C;
    margin-bottom: 2rem;
}

.dark-mode .post-meta-info {
    color: rgba(255, 255, 255, 0.7);
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.single-post-header-inner {
    max-width: calc(720px + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-featured-image {
    max-width: calc(720px + 3rem);
    margin: -1rem auto 3rem;
    padding: 0 1.5rem;
}

.post-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.post-featured-image-inline {
    margin: -1rem 0 3rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-featured-image-inline img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: #282828;
}

.dark-mode .post-content p {
    color: rgba(255, 255, 255, 0.9);
}

.post-content h2,
.post-content h3 {
    font-weight: 700;
    margin: 2rem 0 1rem;
    scroll-margin-top: 6rem;
}

.post-content h2 {
    font-size: 2rem;
    color: #282828;
}

.dark-mode .post-content h2 {
    color: white;
}

.post-content h3 {
    font-size: 1.5rem;
    color: #282828;
}

.dark-mode .post-content h3 {
    color: white;
}

.post-content blockquote {
    border-left: 4px solid #F68B2C;
    padding: 1rem 0 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-size: 1.125rem;
    background: #f8f9fc;
    border-radius: 0 12px 12px 0;
    color: rgba(15, 15, 22, 0.8);
}

.dark-mode .post-content blockquote {
    background: #1a2847;
    color: rgba(255, 255, 255, 0.8);
}

.post-content .callout {
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #F68B2C;
    background: #f8f9fc;
    margin: 1.5rem 0;
}

.dark-mode .post-content .callout {
    background: #1a2847;
}

.post-content .insight-box {
    padding: 1.5rem;
    border-radius: 12px;
    background: #E8E6FF;
    margin: 1.5rem 0;
}

.dark-mode .post-content .insight-box {
    background: rgba(78, 70, 241, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .rocketbid-nav-inner {
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .rocketbid-nav-inner {
        padding: 1rem;
        min-height: 64px;
    }

    .rocketbid-logo {
        width: 116px;
        height: 40.5px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .post-title {
        font-size: 2rem;
    }
}

/* Table of Contents Sidebar */
.single-post-wrapper {
    position: relative;
}

.toc-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    /* Apply right margin to all main content sections for TOC */
    .single-post-header,
    .single-post-wrapper {
        margin-right: 320px;
    }

    .single-post-wrapper {
        min-height: 100vh;
    }

    .toc-sidebar {
        display: block;
        position: fixed;
        right: 2rem;
        top: calc(113px + 2rem);
        width: 320px;
        max-height: calc(100vh - 113px - 4rem);
        overflow-y: auto;
        background: white;
        transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
        border-radius: 12px;
        border: 1px solid rgba(11, 18, 32, 0.1);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    }

    .dark-mode .toc-sidebar {
        background: #0a1426;
        border-color: rgba(86, 109, 255, 0.2);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    }
}

.toc-inner {
    padding: 1.5rem 2rem 2rem;
}

.toc-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7B7E8C;
    margin: 0 0 1rem 0;
    padding: 0;
    transition: color 0.2s;
}

.dark-mode .toc-title {
    color: rgba(255, 255, 255, 0.5);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toc-item {
    position: relative;
    margin: 0;
}

.toc-item.toc-level-3 {
    padding-left: 0;
}

.toc-link {
    display: block;
    position: relative;
    padding: 0.375rem 0 0.375rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #7B7E8C;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.dark-mode .toc-link {
    color: rgba(255, 255, 255, 0.7);
}

.toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: all 0.2s ease;
}

.toc-link:hover {
    color: #0F0F16;
}

.toc-link:hover::before {
    background: rgba(246, 139, 44, 0.3);
}

.dark-mode .toc-link:hover {
    color: white;
}

.toc-link.active {
    font-weight: 700;
    color: #0F0F16;
}

.toc-link.active::before {
    background: #F68B2C;
    opacity: 1;
}

.dark-mode .toc-link.active {
    color: white;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(113px + 2rem);
}

/* Mobile TOC (hidden by default, can be shown via button) */
@media (max-width: 1023px) {
    .toc-sidebar {
        display: none;
    }
}

/* ============================================
   CAREERS SECTION STYLES
   ============================================ */

/* Careers Hero */
.careers-hero {
    background: linear-gradient(135deg, #3F38C3 0%, #1e2147 100%);
    padding: 4rem 2rem;
}

.careers-hero .hero-title,
.careers-hero .hero-description {
    color: white;
}

.careers-hero .hero-subtitle {
    color: #818cfe;
}

/* Careers Container */
.careers-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Jobs List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Job Card */
.job-card {
    background: white;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.dark-mode .job-card {
    background: #0a1426;
    border: 1px solid rgba(86, 109, 255, 0.3);
}

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

.dark-mode .job-card:hover {
    box-shadow: 0 10px 20px -5px rgba(86, 109, 255, 0.2);
}

.job-card a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
}

.job-card-header {
    margin-bottom: 0.75rem;
}

.job-type-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    color: #0b1220;
    font-size: 0.75rem;
    font-weight: 500;
}

.job-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    color: #0b1220;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.job-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0b1220;
    margin-bottom: 0.5rem;
}

.dark-mode .job-card-title {
    color: white;
}

.job-card-excerpt {
    font-size: 0.875rem;
    color: rgba(11, 18, 32, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dark-mode .job-card-excerpt {
    color: rgba(255, 255, 255, 0.7);
}

.job-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #7B7E8C;
    margin-bottom: 1rem;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-location svg {
    color: #3540c7;
}

.job-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3540c7;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.job-card-cta:hover {
    color: #818cfe;
}

.job-card-cta svg {
    transition: transform 0.2s;
}

.job-card:hover .job-card-cta svg {
    transform: translateX(4px);
}

/* Single Job Layout */
.single-job-header {
    padding-top: calc(113px + 3rem);
    padding-bottom: 2rem;
    background: linear-gradient(to bottom, #f8f9fc 0%, white 100%);
}

.dark-mode .single-job-header {
    background: linear-gradient(to bottom, #1a2847 0%, #141e35 100%);
}

.single-job-header .single-post-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.job-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.job-location-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-location-meta svg {
    color: #3540c7;
}

.meta-separator {
    color: #7B7E8C;
}

.single-job-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.job-content {
    max-width: none;
    padding: 0;
}

/* Application Form Sidebar */
.application-sidebar {
    position: sticky;
    top: calc(113px + 2rem);
    height: fit-content;
}

.application-form-wrapper {
    background: white;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.dark-mode .application-form-wrapper {
    background: #0a1426;
    border-color: rgba(86, 109, 255, 0.3);
}

.form-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #0b1220;
}

.dark-mode .form-title {
    color: white;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #0b1220;
}

.dark-mode .form-group label {
    color: white;
}

.form-group .required {
    color: #d4183d;
}

.form-group .optional {
    color: #7B7E8C;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(11, 18, 32, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: #0b1220;
    box-sizing: border-box;
}

.dark-mode .form-group input[type="text"],
.dark-mode .form-group input[type="email"],
.dark-mode .form-group input[type="tel"],
.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3540c7;
    box-shadow: 0 0 0 3px rgba(53, 64, 199, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px dashed rgba(11, 18, 32, 0.2);
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
}

.dark-mode .file-upload-text {
    border-color: rgba(255, 255, 255, 0.2);
}

.file-upload-wrapper:hover .file-upload-text {
    border-color: #3540c7;
    background: rgba(53, 64, 199, 0.05);
}

.file-upload-text svg {
    color: #3540c7;
    margin-bottom: 0.5rem;
}

.file-name {
    font-weight: 500;
    color: #3540c7;
}

.file-hint {
    font-size: 0.75rem;
    color: #7B7E8C;
    margin-top: 0.25rem;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(to right, #FF7A00, #FEDD76);
    border: none;
    border-radius: 8px;
    color: #0b1220;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.btn-submit:hover:not(:disabled) {
    box-shadow: 0px 0px 24px 0px rgba(254, 221, 118, 0.35);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(212, 24, 61, 0.1);
    color: #d4183d;
    border: 1px solid rgba(212, 24, 61, 0.2);
}

/* No Jobs State */
.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
}

.no-jobs-icon {
    color: #7B7E8C;
    margin-bottom: 1.5rem;
}

.no-jobs h2 {
    color: #0b1220;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dark-mode .no-jobs h2 {
    color: white;
}

.no-jobs p {
    color: #7B7E8C;
    line-height: 1.6;
}

.no-jobs a {
    color: #3540c7;
    text-decoration: underline;
}

.no-jobs a:hover {
    color: #818cfe;
}

/* Mobile Responsive for Careers */
@media (max-width: 1024px) {
    .single-job-wrapper {
        grid-template-columns: 1fr;
    }

    .application-sidebar {
        position: static;
    }

    .single-job-header {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .careers-container {
        padding: 2rem 1rem;
    }

    .careers-hero {
        padding: 3rem 1rem;
    }

    .job-card a {
        padding: 1rem;
    }

    .application-form-wrapper {
        padding: 1.5rem;
    }
}
