:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --success-light: #ecfdf5;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
}

.page-header {
    text-align: center;
    padding: 6rem 2rem;
    margin: 0 -1.5rem 3rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #7c3aed);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    margin: 2rem auto;
    max-width: 1400px;
}

@media (min-width: 1200px) {
    .job-listings {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .job-listings {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 3rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.job-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.job-card-header {
    padding: 1.5rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.job-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.job-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: #e0e7ff;
    color: var(--primary-color);
    text-transform: capitalize;
}

.job-card-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
}

.job-card-body .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.job-card-body .description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.btn-view-details {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-view-details:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.no-jobs {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.125rem;
    color: var(--text-light);
    grid-column: 1 / -1;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* Job Detail Container */
.job-detail-container {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin: 2rem auto 4rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1440px;
    width: 100%;
}

/* Job Overview */
.job-overview {
    flex: 1;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

/* Job Sections */
.job-section {
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.job-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.job-section h3 i {
    color: var(--primary-color);
}

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

.job-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-light);
}

.job-list li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: 0;
}

.job-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .job-section {
        padding: 1.5rem;
    }

    .job-section h3 {
        font-size: 1.25rem;
    }

    .job-description p {
        font-size: 1rem;
    }
}

/* Job Header */
.job-detail-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.job-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
}

.job-title-wrapper {
    margin-bottom: 1.5rem;
}

.job-title-wrapper h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.job-type {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Job Detail Body */
.job-detail-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    padding: 3rem;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .job-detail-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }

    .job-sidebar {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .job-detail-header {
        padding: 3rem 1.5rem;
    }

    .job-detail-header h1 {
        font-size: 2.25rem;
    }

    .job-detail-body {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .job-detail-header {
        padding: 2.5rem 1.25rem;
    }

    .job-detail-header h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .job-type {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .job-detail-body {
        padding: 1.5rem 1.25rem;
    }
}

/* Job Sidebar */
.job-sidebar {
    position: relative;
}

.sidebar-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 2rem;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: sticky;
    top: 2rem;
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.35rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.overview-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed #f0f0f0;
}

.overview-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.overview-item i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.overview-item div {
    flex: 1;
}

.overview-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.overview-item .value {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Contact Information */
.contact-info {
    margin-top: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed #f0f0f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-item div {
    flex: 1;
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-item .value,
.contact-item a {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments for sidebar */
@media (max-width: 1024px) {
    .sidebar-card {
        position: static;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .sidebar-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .sidebar-card {
        padding: 1.75rem 1.5rem;
    }

    .overview-item,
    .contact-item {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}

/* Apply Now Button - Removed as per request */

/* Apply for this Position Button */
.sidebar-apply {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3), 0 2px 4px -1px rgba(79, 70, 229, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sidebar-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sidebar-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.2);
}

.sidebar-apply:hover::before {
    opacity: 1;
}

.sidebar-apply:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.sidebar-apply i {
    margin-right: 8px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.sidebar-apply:hover i {
    transform: translateX(3px);
}

/* Pulse animation on hover */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.sidebar-apply:hover {
    animation: pulse 1.5s infinite;
}

.job-detail-body {
    padding: 2.5rem;
    line-height: 1.7;
    color: var(--text-color);
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.job-detail-body>p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    padding: 0 0.5rem;
}

.job-detail-body h3 {
    color: var(--text-color);
    margin: 2.5rem 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.job-detail-body h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.job-detail-body ul {
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    list-style: none;
}

.job-detail-body ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
}

.job-detail-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 1.75rem;
    border-radius: 0.75rem;
    margin-top: 2.5rem;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    margin-top: 0 !important;
    color: var(--text-color);
    font-size: 1.25rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem !important;
    border-bottom: 1px solid var(--border-color);
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info strong {
    color: var(--text-color);
    min-width: 140px;
    display: inline-block;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 1rem;
    width: 100%;
    max-width: 700px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    position: relative;
}

.modal-header h2 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 1.025rem;
    line-height: 1.6;
    max-width: 90%;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-light);
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.close-btn:hover {
    background: #f8f9fa;
    color: var(--danger-color);
    transform: rotate(90deg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#application-form {
    padding: 0;
}

#application-form .form-body {
    padding: 2.5rem 2.5rem 1.5rem;
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

#application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9375rem;
}

#application-form .required {
    color: #ef4444;
    margin-left: 2px;
}

#application-form input[type="text"],
#application-form input[type="email"],
#application-form input[type="tel"] {
    width: 100%;
    padding: 0.875rem 1.25rem 0.875rem 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-white);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: auto;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 1;
}

#application-form input[type="text"]:focus,
#application-form input[type="email"]:focus,
#application-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#application-form input[type="text"]:focus+i,
#application-form input[type="email"]:focus+i,
#application-form input[type="tel"]:focus+i {
    color: var(--primary-color);
}

#application-form input[type="text"]:focus,
#application-form input[type="email"]:focus,
#application-form input[type="tel"]:focus,
#application-form input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.file-upload-wrapper {
    position: relative;
    margin: 2rem 0 1.5rem;
    grid-column: 1 / -1;
    animation: fadeIn 0.4s ease-out 0.5s forwards;
    opacity: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.file-upload-label i {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.file-upload-label .file-text {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.file-upload-label .file-hint {
    font-size: 0.875rem;
    color: var(--text-light);
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.5;
}

.file-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.file-upload-label:hover .file-upload-button {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.file-name {
    display: block;
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--success-color);
    font-weight: 500;
    word-break: break-all;
    padding: 0.5rem 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#application-form input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-footer {
    padding: 1.75rem 2.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: auto;
    animation: fadeIn 0.4s ease-out 0.6s forwards;
    opacity: 0;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-hover);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2), 0 4px 6px -2px rgba(79, 70, 229, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(79, 70, 229, 0.2);
}

.btn i {
    font-size: 1.1em;
    line-height: 0;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .job-detail-body {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.75rem 1.5rem 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        margin-right: 2rem;
    }

    #application-form .form-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-footer {
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    .close-btn {
        top: 1rem;
        right: 1rem;
        width: 2.25rem;
        height: 2.25rem;
    }
}

@media (max-width: 576px) {
    .job-detail-body {
        padding: 1.5rem 1.25rem;
        margin-top: 1.5rem;
    }

    .job-detail-body h3 {
        font-size: 1.35rem;
        margin: 2rem 0 1.25rem;
    }

    .modal-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.375rem;
        margin-bottom: 0.35rem;
    }

    .modal-header p {
        font-size: 0.95rem;
    }

    #application-form .form-body {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .file-upload-label {
        padding: 1.75rem 1.25rem;
    }

    .file-upload-label .file-text {
        font-size: 1.05rem;
    }

    .file-upload-label .file-hint {
        font-size: 0.85rem;
    }

    .form-footer {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.8125rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .job-detail-header {
        padding: 1.75rem 1.25rem;
    }

    .job-detail-header h1 {
        font-size: 1.5rem;
    }

    .job-detail-body {
        padding: 1.25rem;
    }

    .job-detail-body h3 {
        font-size: 1.3rem;
    }

    .form-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }
}

/* Hiring Section */
.hiring-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 4rem 0 2rem;
    border: 1px solid #bbf7d0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.hiring-content {
    max-width: 800px;
    margin: 0 auto;
}

.hiring-section h2 {
    color: #166534;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hiring-section .subtitle {
    color: #15803d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hiring-details p {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.whatsapp-link {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(22, 163, 74, 0.3);
    transition: all 0.2s;
}

.whatsapp-link:hover {
    background: rgba(22, 163, 74, 0.1);
    border-bottom-color: #16a34a;
}

.requirements-box {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2.5rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    border: 1px solid #e5e7eb;
}

.requirements-box h3 {
    color: #166534;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: left;
}

.requirements-list li {
    position: relative;
    padding-left: 1.75rem;
    color: #4b5563;
    font-weight: 500;
}

.requirements-list li::before {
    content: '•';
    color: #16a34a;
    font-size: 1.5rem;
    position: absolute;
    left: 0.5rem;
    top: -0.25rem;
}

.cta-text {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta p {
    color: #166534;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .hiring-section {
        padding: 2rem 1.5rem;
        margin: 3rem 0 1rem;
    }

    .hiring-section h2 {
        font-size: 1.5rem;
    }

    .requirements-list {
        grid-template-columns: 1fr;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}