.carrers_highlight {
    background: var(--ccig2, linear-gradient(270deg, #000 0%, #220561 33.17%, #AC2020 65.87%, #F3710E 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "DM Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.apply_now {
    color: rgba(0, 0, 0, 0.87);
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.form_col {
    border-radius: var(--Corner-Small, 8px);
    background: linear-gradient(180deg, rgba(233, 236, 239, 0.20) 0%, rgba(203, 211, 220, 0.20) 100%);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 16px 12px;
    position: relative;
    transition: all 0.3s ease;
}

/* Form highlight animation styles */
.form_col {
    position: relative;
}

.form_col::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* background: linear-gradient(109deg, #F3710E 0.66%, #AC2020 50.55%, #220561 99.48%); */
    border-radius: calc(var(--Corner-Small, 8px) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form_col.highlight-border::before {
    animation: gradientPulse 2s ease-in-out;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 0;
    }

    25%,
    75% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(243, 113, 14, 0.3));
        border: 5px solid var(--submit-color);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(243, 113, 14, 0.5));
        transform: scale(1.01);
        border: 5px solid var(--submit-color);
    }
}

:root {
    --focus-gradient: linear-gradient(109deg, #F3710E 0.66%, #AC2020 50.55%, #220561 99.48%);
    --error-color: #D63928;
    --submit-color: #F3710E;
    --ccig5: linear-gradient(109deg, #220561 0.66%, #AC2020 49.6%, #F3710E 99.48%);
    --color-grey-93: #E9ECEF;
}

.container {
    max-width: 1200px;
}

.form_col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.application-form {
    border-radius: 15px;
    padding: 1rem;
    max-width: 400px;
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.required {
    color: var(--error-color);
}

.form-control,
.form-select {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--focus-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: none;
    outline: none;
}

.form-control:focus::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-control.error,
.form-select.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-area:hover {
    border-color: var(--submit-color);
    background: #fff;
}

.upload-area.dragover {
    border-color: var(--submit-color);
    background: rgba(243, 113, 14, 0.1);
}

.upload-btn {
    background: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.file-input {
    display: none;
}

.file-name {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.char-count {
    font-size: 0.75rem;
    color: #999;
    text-align: right;
    margin-top: 0.25rem;
}

.char-count.over-limit {
    color: var(--error-color);
}

.submit-btn {
    background: var(--submit-color);
    border: none;
    border-radius: 20px;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #e5650c;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.job-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    background-color: var(--color-grey-93);
    height: 100%;
}

.card-header-gradient {
    background: var(--ccig5);
    border-radius: 16px 16px 0 0;
    color: white;
    border: none;
}

.card-body-gray {
    background: var(--color-grey-93);
    border-radius: 0 0 16px 16px;
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.job-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.775rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.job-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #495057;
    flex-grow: 1;
}

.salary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.salary {
    font-size: 1.1rem;
    font-weight: bold;
    color: #212529;
}

.view-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-btn:hover {
    background: #5a6268;
    color: white;
}

/* Modal Styles */
.modal-header {
    background: var(--ccig5);
    color: white;
    border: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    background: #f8f9fa;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.detail-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detail-section h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-item i {
    color: #6c757d;
    width: 20px;
}

.responsibility-item {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.responsibility-item::before {
    content: "•";
    color: #AC2020;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.apply-btn {
    background: var(--ccig5);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    color: white;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

.apply-btn:hover {
    opacity: 0.9;
    color: white;
}

@media (max-width: 768px) {
    .main_heading {
        font-size: 2rem;
    }

    .apply_now {
        font-size: 1.5rem;
    }

    .application-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .job-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .salary-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .modal-dialog {
        margin: 0.5rem;
    }
}