.job-search-box {
    background: #FFD7D7;
    padding: 25px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-bottom: 60px;
}

.job-search-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
}

@media (max-width: 768px) {
    .search-row {
        grid-template-columns: 1fr;
    }
}

.search-row input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-row select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px !important;
    font-size: 14px;
}

.search-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-btn {
    padding: 10px 25px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.search-btn {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    color: white;
}

.search-btn:hover {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    opacity: 0.9;
}

.job-detail-content {
    padding: 35px 20px;
    margin-bottom: 30px;
    border: 1px solid #B9B9B9;
    border-top: 8px solid #D82221;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 120px;
}

.job-detail-title {
    margin-top: 0;
    color: #061A53;
    font-size: 30px;
    font-weight: 700;
}

.job-detail-header h1 {
    margin-bottom: 0;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.apply-btn {
    padding: 10px 25px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
}

.apply-btn {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    color: white;
}

.apply-btn:hover {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    opacity: 0.9;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.job-detail-description b {
    font-size: 22px;
    color: #D82221;
    font-weight: 700;
}

.job-detail-description strong {
    font-size: 22px;
    color: #D82221;
    font-weight: 700;
}

.job-detail-description p {
    margin-bottom: 0;
}

.meta-item {
    font-size: 16px;
    color: #666;
}

.job-detail-description {
    line-height: 1.8;
    color: #444;
}

.job-application-form {
    background: #FFFFFF;
    gap: 30px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;

    margin-bottom: 60px;
}

.job-application-form .form-image img {
    height: 100%;
}

.form-box {
    padding: 30px 30px 30px 0;
}

.job-application-form .form-title {
    font-size: 30px;
    font-weight: 700;
    color: #D82221;
    margin-top: 0 !important;
}

.job-application-form .form-group label {
    font-size: 18px;
    font-weight: 700;
    color: #252525;
}

.job-application-form .form-group input {
    border-radius: 8px;
}

.job-application-form .form-group select {
    border-radius: 8px;
}

.form-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 12px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group textarea {
    height: 70px;
    border-radius: 8px;
}

.required {
    color: #dc3545;
    font-weight: bold;
}

.form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.file-input {
    padding: 8px;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.form-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 15px;
}

.btn-submit {
    padding: 14px 40px;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    color: white;
    border-radius: 8px;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #F43837 0%, #D81717 100%);
    opacity: 0.9;
    color: white;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-message.show {
    display: inline-block;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive styles for mobile and tablet */
@media (max-width: 1024px) {
    .job-application-form {
        grid-template-columns: 1fr;
    }

    .form-box {
        padding: 30px;
    }

    .job-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .apply-btn {
        width: 100%;
    }
}