/* Careers Listing Styles */
.careers-listing {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.career-item {
    border: 1px solid #cdc7e5;
    padding: 30px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.career-item:hover {
    transform: translateY(-5px);
}

.career-item h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 500;
    display: inline-block;
    margin: 0 !important;
}

.career-item h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}

.career-item h3 a:hover {
    color: rgba(44, 62, 80, 0.89);
}

.job-type {
    display: inline-block;
    background: rgba(205, 199, 229, 0.09);
    color: rgba(44, 62, 80, 0.7);
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 500;
}

.apply-button {
    background: #7776bc;
    color: #FFFFFF;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.apply-button:hover {
    color: #FFFFFF;
    background: rgba(119, 118, 188, 0.8);
}

/* Elementor Careers Listing */
.careers-listing-elementor {
    margin: 20px 0;
}

.career-filters {
    margin-bottom: 30px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #3498db;
    color: white;
}

.careers-grid-elementor {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.elementor-career-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.elementor-career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.elementor-career-item .career-title {
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.elementor-career-item .career-title a {
    color: #2c3e50;
    text-decoration: none;
}

.elementor-career-item .career-title a:hover {
    color: #3498db;
}

.job-types {
    margin-bottom: 15px;
}

.job-type-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    margin-bottom: 8px;
}

.career-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.career-meta {
    margin-bottom: 20px;
}

.salary-info {
    color: #27ae60;
    font-weight: bold;
    font-size: 14px;
}

.career-actions {
    text-align: center;
}

.elementor-button.apply-now-btn {
    background: #27ae60;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.elementor-button.apply-now-btn:hover {
    background: #219a52;
    color: white;
}

/* Career Details Widget */
.elementor-career-details {
}

.elementor-career-details .details-title {
    margin: 0 0 20px 0;
}

.career-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.career-details-list li {
    padding: 10px 0 !important;
}

.career-details-list li:first-child {
    padding-top: 0 !important;
}

.career-details-list li:last-child {
    padding-bottom: 0 !important;
}

.elementor-icon-list-text {
    color: #15171c !important;
}

.career-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.career-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-icon .dashicons {
    font-size: 20px;
    color: #3498db;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.detail-content {
    flex: 1;
}

.career-detail-label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.career-detail-value {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

/* Application Form Styles */
.career-application-form {
    padding: 50px;
    border: 1px solid #cdc7e5;
}

.career-application-form-title {
    margin: 0 0 50px 0 !important;
    font-size: 38px;
}

.career-application-form .form-group {
    margin-bottom: 20px;
}

.career-application-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 20px;
}

.career-application-form input[type="text"],
.career-application-form input[type="email"],
.career-application-form input[type="tel"],
.career-application-form input[type="file"],
.career-application-form textarea {
    width: 100%;
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    padding: 0 !important;
}

.career-application-form input:focus,
.career-application-form textarea:focus {
    border-color: transparent;
    border-bottom-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.career-application-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.apply-now-btn {
    background: #7776bc;
    color: #FFFFFF;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.apply-now-btn:hover {
    color: #FFFFFF;
    background: rgba(119, 118, 188, 0.8);
}

.apply-now-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

#application-message {
    margin-top: 15px;
    padding: 18px;
    display: none;
    font-weight: 500;
}

#application-message.success {
    background: #d4edda;
    color: #155724;
}

#application-message.error {
    background: #f8d7da;
    color: #721c24;
}

.no-careers-found {
    text-align: center;
    padding: 40px;
    border: 1px solid #cdc7e5;
    font-size: 20px;
    font-weight: 500;
    color: #777;
    margin: 100px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-grid-elementor {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .career-detail-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .elementor-career-item {
        padding: 20px;
    }

    .career-application-form {
        padding: 20px;
    }
}

/* Single Career Page Layout */
.career-single-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .career-single-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}