/* Career Page Styles */
.career-hero {
    background-color: var(--theme-palette-color-2);
    padding: 100px 0 10px 0;
    position: relative;
    overflow: hidden;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.05;
    pointer-events: none;
}

.career-hero__title {
    color: var(--theme-palette-color-8);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.career-hero__subtitle {
    color: var(--theme-palette-color-5);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Available Positions Section */
.available-positions {
    background-color: var(--theme-palette-color-8);
    padding: 80px 0 40px 0;
    position: relative;
}

.section-title {
    color: var(--theme-palette-color-10);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--theme-palette-color-3);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Position Tabs */
.position-tabs {
    margin-top: 30px;
}

.nav-tabs {
    border-bottom: 2px solid rgba(var(--theme-palette-color-1-rgb), 0.2);
    justify-content: center;
    margin-bottom: 40px;
}

.nav-tabs .nav-item {
    margin: 0 15px;
}

.nav-tabs .nav-link {
    color: var(--theme-palette-color-3);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 25px;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--theme-palette-color-1) !important;
    border-bottom-color: var(--theme-palette-color-1);
    background-color: transparent;
}

/* Position Cards */
.position-list {
    margin-bottom: 30px;
}

.position-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--theme-palette-color-10-rgb), 0.08);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--theme-palette-color-1-rgb), 0.1);
    border-color: rgba(var(--theme-palette-color-1-rgb), 0.3);
}

.position-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.position-card__title {
    color: var(--theme-palette-color-10);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    margin-right: 15px;
}

.position-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.position-card__badge {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 5px;
}

.position-card__badge--type {
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.1);
    color: var(--theme-palette-color-1);
}

.position-card__badge--featured {
    background-color: rgba(var(--theme-palette-color-2-rgb), 0.1);
    color: var(--theme-palette-color-2);
}

.position-card__details {
    margin-bottom: 20px;
    flex-grow: 1;
}

.position-card__detail {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--theme-palette-color-3);
}

.position-card__detail i {
    color: var(--theme-palette-color-1);
    margin-right: 10px;
    font-size: 1.1rem;
}

.rtl .position-card__detail i {
    margin-right: 0;
    margin-left: 10px;
}

.position-card__action {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-apply {
    background-color: var(--theme-palette-color-1);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-apply:hover {
    background-color: var(--theme-palette-color-2);
    color: #fff;
    transform: translateY(-3px);
}

.btn-details {
    background-color: transparent;
    color: var(--theme-palette-color-10);
    border: 1px solid rgba(var(--theme-palette-color-10-rgb), 0.2);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-details:hover {
    border-color: var(--theme-palette-color-1);
    color: var(--theme-palette-color-1);
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.05);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(var(--theme-palette-color-10-rgb), 0.02);
    border-radius: 10px;
    border: 1px dashed rgba(var(--theme-palette-color-3-rgb), 0.2);
}

.empty-state__icon {
    font-size: 3rem;
    color: rgba(var(--theme-palette-color-3-rgb), 0.3);
    margin-bottom: 20px;
}

.empty-state__title {
    color: var(--theme-palette-color-10);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state__message {
    color: var(--theme-palette-color-3);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Vendor Cards */
.vendors-info {
    margin-bottom: 40px;
}

.vendors-info__alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.08);
    border: none;
    border-left: 4px solid var(--theme-palette-color-1);
    border-radius: 6px;
    margin-bottom: 30px;
}

.vendors-info__alert i {
    font-size: 1.5rem;
    color: var(--theme-palette-color-1);
    margin-top: 3px;
}

.vendors-info__text {
    flex: 1;
}

.vendors-info__text h4 {
    color: var(--theme-palette-color-10);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.vendors-info__text p {
    color: var(--theme-palette-color-3);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
}

.vendor-list {
    margin-bottom: 30px;
}

.vendor-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(var(--theme-palette-color-10-rgb), 0.08);
    margin-bottom: 30px;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--theme-palette-color-1-rgb), 0.1);
    border-color: rgba(var(--theme-palette-color-1-rgb), 0.3);
}

.vendor-card__logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(var(--theme-palette-color-10-rgb), 0.02);
    border-bottom: 1px solid rgba(var(--theme-palette-color-10-rgb), 0.05);
}

.vendor-card__logo img {
    max-width: 100%;
    max-height: 130px;
    transition: all 0.3s ease;
}

.vendor-card:hover .vendor-card__logo img {
    transform: scale(1.05);
}

.vendor-card__content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vendor-card__title {
    color: var(--theme-palette-color-10);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.vendor-card__category {
    margin-bottom: 20px;
    text-align: center;
}

.vendor-card__category span {
    display: inline-block;
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.1);
    color: var(--theme-palette-color-1);
    font-size: 0.9rem;
    padding: 6px 15px;
    border-radius: 20px;
}

.vendor-card__description {
    margin-bottom: 20px;
    color: var(--theme-palette-color-3);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.vendor-card__action {
    margin-top: auto;
}

.vendor-card .btn-apply {
    display: block;
    width: 100%;
    text-align: center;
}

/* Job Details Modal */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--theme-palette-color-10);
    color: #fff;
    padding: 15px 20px;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 25px;
}

.job-details-content {
    padding: 10px;
}

.job-details-title {
    color: var(--theme-palette-color-10);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.job-details-section-title {
    color: var(--theme-palette-color-1);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--theme-palette-color-1-rgb), 0.1);
}

.job-details-description,
.job-details-requirements {
    color: var(--theme-palette-color-3);
    font-size: 1rem;
    line-height: 1.7;
}

.job-details-description ul,
.job-details-requirements ul {
    padding-left: 20px;
}

.job-details-description li,
.job-details-requirements li {
    margin-bottom: 8px;
}

/* Career Content Section */
.career-content {
    background-color: var(--theme-palette-color-8);
    padding: 24px 0;
}

.career-info {
    padding-right: 30px;
}

.career-info__title {
    color: var(--theme-palette-color-10);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.career-info__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--theme-palette-color-1);
}

.rtl .career-info__title::after {
    left: auto;
    right: 0;
}

.career-info__text {
    color: var(--theme-palette-color-3);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.career-benefits {
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.08);
    padding: 25px;
    border-radius: 8px;
    margin-top: 2rem;
}

.career-benefits__title {
    color: var(--theme-palette-color-1);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.career-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-benefits__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--theme-palette-color-10);
    font-size: 1.05rem;
}

.career-benefits__item:last-child {
    margin-bottom: 0;
}

.career-benefits__item i {
    color: var(--theme-palette-color-1);
    margin-right: 10px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rtl .career-benefits__item i {
    margin-right: 0;
    margin-left: 10px;
}

.career-form {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.career-form__title {
    color: var(--theme-palette-color-10);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    text-align: center;
}

.form-label {
    color: var(--theme-palette-color-10);
    font-weight: 500;
}

.form-control {
    padding: 12px 15px;
    border-color: rgba(var(--theme-palette-color-10-rgb), 0.15);
    border-radius: 6px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--theme-palette-color-1);
    box-shadow: 0 0 0 0.25rem rgba(var(--theme-palette-color-1-rgb), 0.25);
}

.form-text {
    color: rgba(var(--theme-palette-color-3-rgb), 0.8);
    font-size: 0.85rem;
}

.career-form__submit {
    background-color: var(--theme-palette-color-1);
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
}

.career-form__submit:hover {
    background-color: var(--theme-palette-color-2);
    transform: translateY(-3px);
}

/* Career Process Section */
.career-process {
    background-color: var(--theme-palette-color-10);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.career-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.03) 2px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}

.career-process__title {
    color: var(--theme-palette-color-8);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.career-process__subtitle {
    color: #FFF;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.process-card {
    background-color: rgba(var(--theme-palette-color-8-rgb), 0.95);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-palette-color-1);
}

.process-card__number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--theme-palette-color-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.rtl .process-card__number {
    right: auto;
    left: -15px;
}

.process-card__icon {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
}

.process-card__icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--theme-palette-color-1-rgb), 0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.process-card:hover .process-card__icon {
    background-color: var(--theme-palette-color-1);
    transform: scale(1.1);
}

.process-card__icon i {
    font-size: 2.2rem;
    color: var(--theme-palette-color-1);
    transition: all 0.4s ease;
}

.process-card:hover .process-card__icon i {
    color: #fff;
    transform: scale(1.1);
}

.process-card__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.process-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--theme-palette-color-1);
    transition: all 0.3s ease;
}

.process-card:hover .process-card__title::after {
    width: 60px;
}

.process-card__text {
    color: #FFF;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Thank you page styles */
.thanks-section {
    background-color: var(--theme-palette-color-8);
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thanks-card {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(var(--theme-palette-color-1-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon i {
    font-size: 3rem;
    color: var(--theme-palette-color-1);
}

.thanks-title {
    color: var(--theme-palette-color-10);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.thanks-message {
    color: var(--theme-palette-color-3);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

/* Responsive Styles */
@media (max-width: 991.98px) {
    .career-hero {
        padding: 80px 0;
    }

    .career-hero__title {
        font-size: 2.5rem;
    }

    .available-positions,
    .career-content {
        padding: 60px 0;
    }

    .section-title,
    .career-process__title {
        font-size: 2.2rem;
    }

    .career-info {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .career-process {
        padding: 60px 0;
    }

    .process-card {
        margin-bottom: 30px;
    }

    .vendor-card__logo {
        height: 150px;
    }

    .vendor-card__logo img {
        max-height: 100px;
    }
}

@media (max-width: 767.98px) {
    .career-hero {
        padding: 60px 0;
    }

    .career-hero__title {
        font-size: 2.2rem;
    }

    .career-hero__subtitle {
        font-size: 1.1rem;
    }

    .available-positions,
    .career-content,
    .career-process {
        padding: 50px 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .career-info__title {
        font-size: 2rem;
    }

    .career-form {
        padding: 25px;
    }

    .career-form__title {
        font-size: 1.6rem;
    }

    .thanks-card {
        padding: 30px;
    }

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

    .thanks-actions {
        flex-direction: column;
    }

    .process-card {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .process-card__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .process-card__icon i {
        font-size: 1.8rem;
    }

    .process-card__title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .process-card__text {
        font-size: 0.95rem;
    }

    .process-card__number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -12px;
        right: -12px;
    }

    .rtl .process-card__number {
        right: auto;
        left: -12px;
    }

    .career-process .row {
        margin-bottom: -40px;
    }

    .position-card__header {
        flex-direction: column;
    }

    .position-card__title {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .position-card__action {
        flex-direction: column;
    }

    .nav-tabs .nav-item {
        margin: 0 5px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 1rem;
    }

    .vendors-info__alert {
        flex-direction: column;
    }

    .vendors-info__alert i {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .career-hero__title {
        font-size: 1.8rem;
    }

    .career-hero__subtitle {
        font-size: 1rem;
    }

    .section-title,
    .career-process__title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .career-info__title {
        font-size: 1.8rem;
    }

    .career-benefits__title {
        font-size: 1.2rem;
    }

    .career-benefits__item {
        font-size: 0.95rem;
    }

    .position-card {
        padding: 20px;
    }

    .vendor-card__logo {
        height: 120px;
    }

    .vendor-card__logo img {
        max-height: 80px;
    }

    .vendor-card__title {
        font-size: 1.1rem;
    }

    .job-details-title {
        font-size: 1.5rem;
    }

    .job-details-section-title {
        font-size: 1.2rem;
    }
}


.scroll-btn {
    background: #fff;
    color: var(--theme-palette-color-1);
    border: 2px solid var(--theme-palette-color-1);
    border-radius: 30px;
    padding: 12px 36px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.scroll-btn:hover {
    background: var(--theme-palette-color-1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(var(--theme-palette-color-1-rgb), 0.08);
}

@media (max-width: 575.98px) {
    .scroll-btn {
        padding: 10px 18px;
        font-size: 1rem;
    }

    .career-scroll-buttons {
        gap: 10px;
    }
}

.thanks-main-bg {
    background: var(--theme-palette-color-8);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.thanks-main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(var(--theme-palette-color-1-rgb), 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.03);
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 32px 36px 32px;
    text-align: center;
    position: relative;
}

.thanks-main-icon {
    width: 90px;
    height: 90px;
    background: var(--theme-palette-color-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    box-shadow: 0 4px 16px rgba(var(--theme-palette-color-1-rgb), 0.07);
}

.thanks-main-icon i {
    font-size: 3.2rem;
    color: #fff;
}

.thanks-main-title {
    color: var(--theme-palette-color-10);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.thanks-main-message {
    color: var(--theme-palette-color-3);
    font-size: 1.13rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.thanks-main-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thanks-main-actions .btn-primary {
    background: var(--theme-palette-color-2);
    border: none;
    color: #fff;
    font-weight: 600;
}

.thanks-main-actions .btn-primary:hover {
    background: var(--theme-palette-color-1);
}

.thanks-main-actions .btn-outline-primary {
    border: 2px solid var(--theme-palette-color-2);
    color: var(--theme-palette-color-2);
    background: #fff;
    font-weight: 600;
}

.thanks-main-actions .btn-outline-primary:hover {
    background: var(--theme-palette-color-8);
    color: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
}

@media (max-width: 575.98px) {
    .thanks-main-card {
        padding: 32px 10px 24px 10px;
        max-width: 98vw;
    }

    .thanks-main-title {
        font-size: 1.4rem;
    }

    .thanks-main-message {
        font-size: 1rem;
    }

    .thanks-main-icon {
        width: 64px;
        height: 64px;
    }

    .thanks-main-icon i {
        font-size: 2.1rem;
    }
}