/* Job Application Modal */
.job-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.job-modal-overlay.active {
    opacity: 1;
}
.job-modal-container {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}
.job-modal-overlay.active .job-modal-container {
    transform: translateY(0);
}
.job-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.job-modal-header h2 {
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}
.job-modal-header h2 span {
    color: #3898ec;
}
.job-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}
.job-modal-close:hover {
    color: #fff;
}
.job-modal-body {
    padding: 30px 40px 40px;
}
.job-modal-body .relative {
    position: relative;
    margin-bottom: 8px;
}
.job-modal-body .text-field-contact {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    padding: 16px 0 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
    border-radius: 0;
    height: auto;
    margin-bottom: 0;
}
.job-modal-body .text-field-contact:focus {
    border-bottom-color: #3898ec;
}
.job-modal-body .text-field-contact.area {
    resize: vertical;
    min-height: 80px;
}
.job-modal-body .floating-label {
    position: absolute;
    top: 16px;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}
.job-modal-body .text-field-contact:focus ~ .floating-label,
.job-modal-body .text-field-contact:not(:placeholder-shown) ~ .floating-label,
.job-modal-body .text-field-contact:-webkit-autofill ~ .floating-label {
    top: -6px;
    font-size: 12px;
    color: #3898ec;
}
.job-modal-body .text-field-contact:-webkit-autofill,
.job-modal-body .text-field-contact:-webkit-autofill:hover,
.job-modal-body .text-field-contact:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}
.job-modal-body .text-field-contact.input-error {
    border-bottom-color: #ec3838;
}
.job-modal-body .text-field-contact.input-error ~ .floating-label {
    color: #ec3838;
}
.job-modal-body .text-label {
    display: none;
}
.job-form-row {
    display: flex;
    gap: 24px;
}
.job-form-group {
    flex: 1;
    min-width: 0;
}
.job-file-upload {
    margin-bottom: 8px;
}
.job-file-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}
.job-file-drop {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}
.job-file-drop:hover,
.job-file-drop.dragover {
    border-color: #3898ec;
    background: rgba(56, 152, 236, 0.05);
}
.job-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.job-file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.4);
}
.job-file-placeholder svg {
    opacity: 0.5;
}
.job-file-placeholder span {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}
.job-file-placeholder small {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    opacity: 0.6;
}
.job-file-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
}
.job-file-remove {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.job-file-remove:hover {
    background: rgba(255, 77, 77, 0.4);
}
.job-form-submit {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}
.job-form-submit .submit-button {
    background: #3898ec;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}
.job-form-submit .submit-button:hover {
    background: #2b7fd4;
}
.job-form-submit .submit-button:disabled {
    background: #555;
    cursor: not-allowed;
}
.job-form-message {
    padding: 24px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
}
.job-form-message.success {
    background: rgba(56, 236, 100, 0.1);
    border: 1px solid rgba(56, 236, 100, 0.3);
}
.job-form-message.success h3,
.job-form-message.success p {
    color: #38ec64;
}
.job-form-message.error {
    background: rgba(236, 56, 56, 0.1);
    border: 1px solid rgba(236, 56, 56, 0.3);
}
.job-form-message.error h3,
.job-form-message.error p {
    color: #ec3838;
}
.job-modal-container::-webkit-scrollbar {
    width: 6px;
}
.job-modal-container::-webkit-scrollbar-track {
    background: transparent;
}
.job-modal-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
@media screen and (max-width: 767px) {
    .job-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    .job-modal-header,
    .job-modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .job-form-row {
        flex-direction: column;
        gap: 0;
    }
    .job-modal-header h2 {
        font-size: 20px;
    }
}

/* Toast Notification */
.job-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.job-toast.show {
    transform: translateX(0);
}
.job-toast.success {
    background: #1a2e1a;
    border: 1px solid rgba(56, 236, 100, 0.3);
    color: #38ec64;
}
.job-toast.error {
    background: #2e1a1a;
    border: 1px solid rgba(236, 56, 56, 0.3);
    color: #ec3838;
}
.job-toast span {
    flex: 1;
}
.job-toast button {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.job-toast button:hover {
    opacity: 1;
}
@media screen and (max-width: 767px) {
    .job-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}
